NPE when NULL is used in a query projection

Description

Hi,

Hibernate 6 does not support anymore queries like this:

This results in the following stacktrace:

 

Thanks for the amazing work,

Best regards

Activity

Show:

Andrea BorieroMay 17, 2022 at 10:05 AM

Hi ,

thanks for reporting the issue, I have create a PR that should fix the problem!

Cédric TabinMay 17, 2022 at 9:31 AM

Actually, it seems related to MariaDB dialect because the same query is working fine with H2 and Hibernate returns null values as expected.

Fixed

Details

Assignee

Reporter

Worked in

Fix versions

Affects versions

Priority

Created May 17, 2022 at 8:34 AM
Updated May 25, 2022 at 9:47 AM
Resolved May 19, 2022 at 8:53 AM