Gunnar Morling commented on an issue
Hibernate OGM / Bug 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.