You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
According to the specification, createNativeQuery(String) is supposed to return a List<Object[]>. Java EE 7 API
Right now if the persistence context contains an Entity defined, the query will return a list of a Entity class instances (I'm not sure how kundera decides which Entity to choose).
According to the test, Kundera returns a List<Map<String, Object>> if there are no Entities defined in the context.
If I were to create a pull request that will make kudera's createNativeQuery(String) compatible with the specification, would you consider merging it?
Thanks.
The text was updated successfully, but these errors were encountered:
According to the specification, createNativeQuery(String) is supposed to return a List<Object[]>.
Java EE 7 API
Right now if the persistence context contains an Entity defined, the query will return a list of a Entity class instances (I'm not sure how kundera decides which Entity to choose).
According to the test, Kundera returns a List<Map<String, Object>> if there are no Entities defined in the context.
If I were to create a pull request that will make kudera's createNativeQuery(String) compatible with the specification, would you consider merging it?
Thanks.
The text was updated successfully, but these errors were encountered: