Gunnar Morling
commented
on an issue
Re: Queries selecting entire entity shouldn't return a list of arrays
Thanks, Sean, much appreciated!
Add Comment
Hibernate OGM
/
OGM-346
Queries selecting entire entity shouldn't return a list of arrays
As [reported in the forum|
https://forum.hibernate.org/viewtopic.php?f=31&t=1028833
], this query
{code}
Query qry = sess.createQuery("select p from Person p where p.lastName = 'Smith'");
List<Object> people = qry.list();
{code}
returns a list of arrays instead of {{Person}} entities.
This message was sent by Atlassian JIRA
(v6.1-OD-09-WN#6144-
sha1:62dfc48
)