I have a sqlquery : "select u.* from users u INNER JOIN....."
I am doing session.createSQLQuery(query).list()
in Hibernate
This gives a List<?>
which I then need to iterate upon & set my List<User>
Is there a way to get this .list()
return my List<User>
instead of List<Object>
??