hi patrik, yes i know these parameters. In the old (no JPA) hibernate usage i use the criteria api which has support for first and max result since many years.
But what I need as parameters are - first page - page size and as result I need a result object, something like - FindResult<Planet>() with - List<Planet> getValues() - int maxNumberOfPages - int pageSize So we have something more then only two parameters to add. Do you need paging now? regards Patrik Nordwall schrieb: > I had a look at this conversation again. JPA (and hibernate) has support for > setFirstResult and setMaxResult. Do we really need something more > complicated than that? > > I can easily add optional support for those two parameters in queries such > as findAll, findByCriteria, findByQuery. > > /Patrik ------------------------------------------------------------------------------ Come build with us! The BlackBerry(R) Developer Conference in SF, CA is the only developer event you need to attend this year. Jumpstart your developing skills, take BlackBerry mobile applications to market and stay ahead of the curve. Join us from November 9 - 12, 2009. Register now! http://p.sf.net/sfu/devconference _______________________________________________ Fornax-developer mailing list Fornax-developer@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/fornax-developer