Re: problem with pagination when hibernate result transformer is applied

2009-07-23 Thread fachhoch
dditional commands, e-mail: users-h...@wicket.apache.org > > > -- View this message in context: http://www.nabble.com/problem-with-pagination-when-hibernate-result-transformer-is-applied-tp24608353p24627326.html Sent from the Wicket - User mailing list archive at Nabble.com. -

Re: problem with pagination when hibernate result transformer is applied

2009-07-22 Thread James Carman
Do a different query to ask how many there are than the one you use to return the data. On Wed, Jul 22, 2009 at 11:10 AM, tubin gen wrote: >   I am using hibernate criteria query to get data for my > AjaxFallbackDefaultDataTable, this datatable also  gives me pagination > parameters which I am app

problem with pagination when hibernate result transformer is applied

2009-07-22 Thread tubin gen
I am using hibernate criteria query to get data for my AjaxFallbackDefaultDataTable, this datatable also gives me pagination parameters which I am apply to criteria. .The entity I am using for the criteria query has a lazy load collection ,and I need the size of the collection in the view ,