Skip to content

NPE when ordering by alias referring to function expression in PaginatedCriteriaBuilder through SUBSELECT fetching #1803

@beikov

Description

@beikov

Description

An expression like COALESCE(FUNCTION('CAST_INTEGER',externalPositionId), id.deliveryNotePositionId) results in an NPE during ExpressionUtils.isNullable because rootTypes are null.

Expected behavior

Actual behavior

Steps to reproduce

Environment

Version:
JPA-Provider:
DBMS:
Application Server:

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions