openjpa-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Michael Simons <michael.sim...@optitool.de>
Subject Limit the size of the projection of a query
Date Thu, 29 Oct 2009 18:13:12 GMT
Hello,

Is there a way in JPA or OpenJPA to limit the number of rows returned by a query?
In our formerly used JDO-Implementation there was a function called maxrows doing so.
I know there are several databases that support a limitation of the projection.
But how can I achieve this in JPA?

Kind Regards,
Michael

Mime
View raw message