Out of Date
Details
Assignee
UnassignedUnassignedReporter
Christian BauerChristian BauerLabels
Affects versions
Priority
Minor
Details
Details
Assignee
Unassigned
UnassignedReporter
Christian Bauer
Christian BauerLabels
Affects versions
Priority
Created November 7, 2013 at 1:49 PM
Updated January 20, 2025 at 4:18 PM
Resolved January 20, 2025 at 4:18 PM
JPA 2.1, section 3.10.16.3 "Combinations of Result Types": .. the query execution will result in an Object[] instance whose elements are as follows, in order: any entity results...; any instances of classes corresponding to constructor results ...; and any instances corresponding to column results...
Given this mapping:
Hibernate should return the same order in the Object[], however, it returns <entity-result/>, <column-result/>, <constructor-result/>.