This content has been marked as final.
Show 2 replies
-
1. Re: LIMIT 1
rexorient Mar 2, 2005 9:21 AM (in response to mduffy_lists)Here's how to set the limit as well as the starting point in the table to get the entries from.
@Inject private EntityManager manager;
...
manager.createQuery("from Test").setMaxResults(50).setFirstResult(100);
Alain -