I do a query that returns a list of entities. How can I retrieve the entities from a
Session s = ....; Query q = s.createQuery("....") # returns 100000s rows ScrollableResults sr = q.scroll(); sr.scroll(45999); # just a number Employee employee = ???
How do I get an employee in the last line of code
get(0) method, or
Answered By – Bozho