NullPointerException when using case on select clause using JPA Criteria API

Description

I have a complex query created using JPA criteria API that worked on previous versions (tested on 5.3.7 and 5.2.15). It doesn't work on 5.4.0.

The query contains a select case statement inside the select clause, as this simplified example:

The example works when using HQL:

I've attached a simple test case.

Attachments

1

Activity

Show:
Fixed

Details

Assignee

Reporter

Worked in

Components

Fix versions

Affects versions

Priority

Created January 12, 2019 at 3:58 PM
Updated January 19, 2019 at 5:31 PM
Resolved January 18, 2019 at 10:55 AM
Loading...