NPE in TupleMappingModelExpressible constructor with Converter

Description

Queries with tuples composed of attributes coming from subqueries utilizing converters, such as:

SELECT s FROM MyEntity AS s WHERE (s.id, s.creationTime) IN (SELECT t.id, max(t.creationTime) FROM MyEntity AS t WHERE t.endTime >= :start AND t.startTime <= :end AND t.ready = true GROUP BY id)

where startTime and endTime and the query parameters are of a non-standard type that uses a converter. Neither an autoApply converter nor explicit @Convert converter work.

Attachments

1
  • 22 Apr 2024, 10:10 PM

Activity

Show:

Michael Weber April 22, 2024 at 10:42 PM

I just found https://hibernate.atlassian.net/browse/HHH-17701 which seems to be the same issue. So this can be closed.

Duplicate

Details

Assignee

Reporter

Worked in

Affects versions

Priority

Created April 22, 2024 at 10:22 PM
Updated April 23, 2024 at 7:06 AM
Resolved April 23, 2024 at 7:06 AM