Details
-
Type:
Bug
-
Status: Resolved
-
Priority:
Minor
-
Resolution: Duplicate
-
Affects Version/s: 1.12.4 (Hopper SR4)
-
Fix Version/s: None
-
Component/s: None
-
Labels:None
Description
There seems to be a bug within the projection implementation. I have a native query which result i want to map with projection to a interface. The interface has three getters which have the exact name as the returned columns by the native query. The result is now that the columns are mapped into the wrong properties in the interface (or its proxy).
I found that the problem may be in ResultProcessor Line 262 when the names get mapped to the columns. The names are in a wrong order. This wrong order is already present when the PropertyDescriptor instances are retrieved from the interface in DefaultProjectionInformation Line 48.
Hope this helps
Attachments
Issue Links
- duplicates
-
DATAJPA-980 Projections with native queries don't work as expected
-
- Closed
-