How can I create a query that returns a limited number of results such
as limit
of MySQL? I'm looking at the documentation and I'm not finding it.
How can I create a query that returns a limited number of results such
as limit
of MySQL? I'm looking at the documentation and I'm not finding it.
int fromIndex = 0
int toIndex = 250;
List<MyObject> objetos = objectContainer.query(MyObject.class).subList(fromIndex, toIndex);