Oops, spoke too soon. I didn't have to use DetachedQueries.

On 6/3/05, Phil Kulak <[EMAIL PROTECTED]> wrote:
> Here's what I came up with. It seems to work well so far.
> 
> -Phil
> 
> On 6/3/05, Eelco Hillenius <[EMAIL PROTECTED]> wrote:
> > Yes, that was a bug. Should be fixed now.
> >
> > Eelco
> >
> > Phil Kulak wrote:
> >
> > >Take a look at HibernateCountAndListAction.getQuery(). It looks to me
> > >like it's been hard coded to the example query in the comment at the
> > >top of the class by putting the "cd" alias in there.
> > >
> > >On 6/3/05, Eelco Hillenius <[EMAIL PROTECTED]> wrote:
> > >
> > >
> > >>Yes, is it does. PageableList is the the object that has the magic in
> > >>it. It reads only the 'window' that it is currently in, so you don't end
> > >>up with your whole database in memory.
> > >>
> > >>Eelco
> > >>
> > >>Jonathan Carlson wrote:
> > >>
> > >>
> > >>
> > >>>I don't think the CD app example uses Hibernate to do the paging.  If I
> > >>>remember right, it reads it all in and does the paging and sorting in
> > >>>memory.... but I could have missed something.
> > >>>
> > >>>- Jonathan
> > >>>
> > >>>
> > >>>
> > >>>
> > >>>
> > >>>>>>[EMAIL PROTECTED] 2005-06-03 11:31:04 AM >>>
> > >>>>>>
> > >>>>>>
> > >>>>>>
> > >>>>>>
> > >>>I look like I've figured it out anyway, but for future reference,
> > >>>where is the source for that example? I found the running program. Is
> > >>>the source only in CVS?
> > >>>
> > >>>On 6/3/05, Martijn Dashorst <[EMAIL PROTECTED]> wrote:
> > >>>
> > >>>
> > >>>
> > >>>
> > >>>>Phil Kulak wrote:
> > >>>>
> > >>>>
> > >>>>
> > >>>>
> > >>>>
> > >>>>>It looks like you guys have that all figured out in the contrib, but
> > >>>>>
> > >>>>>
> > >>>>>
> > >>>>>
> > >>>I
> > >>>
> > >>>
> > >>>
> > >>>
> > >>>>>can't seem to figure out how it's supposed to be used from just the
> > >>>>>source. Is there an example anywhere I could look at?
> > >>>>>
> > >>>>>
> > >>>>>
> > >>>>>
> > >>>>>
> > >>>>>
> > >>>>You could take a look at the CD-App example. This one is rather
> > >>>>
> > >>>>
> > >>>>
> > >>>>
> > >>>feature
> > >>>
> > >>>
> > >>>
> > >>>
> > >>>>complete. It is member of the wicket-stuff project under the
> > >>>>wicket-contrib-examples.
> > >>>>
> > >>>>Martijn
> > >>>>
> > >>>>
> > >>>>-------------------------------------------------------
> > >>>>This SF.Net email is sponsored by Yahoo.
> > >>>>Introducing Yahoo! Search Developer Network - Create apps using
> > >>>>
> > >>>>
> > >>>>
> > >>>>
> > >>>Yahoo!
> > >>>
> > >>>
> > >>>
> > >>>
> > >>>>Search APIs Find out how you can build Yahoo! directly into your own
> > >>>>Applications - visit
> > >>>>
> > >>>>
> > >>>>
> > >>>>
> > >>>http://developer.yahoo.net/?fr=offad-ysdn-ostg-q22005
> > >>>
> > >>>
> > >>>
> > >>>
> > >>>>_______________________________________________
> > >>>>Wicket-user mailing list
> > >>>>Wicket-user@lists.sourceforge.net
> > >>>>https://lists.sourceforge.net/lists/listinfo/wicket-user
> > >>>>
> > >>>>
> > >>>>
> > >>>>
> > >>>>
> > >>>-------------------------------------------------------
> > >>>This SF.Net email is sponsored by Yahoo.
> > >>>Introducing Yahoo! Search Developer Network - Create apps using Yahoo!
> > >>>Search APIs Find out how you can build Yahoo! directly into your own
> > >>>Applications - visit
> > >>>http://developer.yahoo.net/?fr=offad-ysdn-ostg-q22005
> > >>>_______________________________________________
> > >>>Wicket-user mailing list
> > >>>Wicket-user@lists.sourceforge.net
> > >>>https://lists.sourceforge.net/lists/listinfo/wicket-user
> > >>>
> > >>>______________________________________________________________________
> > >>>This email has been scanned by the MessageLabs Email Security System.
> > >>>For more information please visit http://www.messagelabs.com/email
> > >>>______________________________________________________________________
> > >>>
> > >>>______________________________________________________________________
> > >>>This email and any files transmitted with it are confidential and
> > >>>intended solely for the use of the individual or entity to whom they
> > >>>are addressed. If you have received this email in error please notify
> > >>>the system manager.
> > >>>
> > >>>Katun Corporation -- www.katun.com
> > >>>_____________________________________________________________________
> > >>>
> > >>>
> > >>>-------------------------------------------------------
> > >>>This SF.Net email is sponsored by: NEC IT Guy Games.  How far can you 
> > >>>shotput
> > >>>a projector? How fast can you ride your desk chair down the office luge 
> > >>>track?
> > >>>If you want to score the big prize, get to know the little guy.
> > >>>Play to win an NEC 61" plasma display: http://www.necitguy.com/?r=20
> > >>>_______________________________________________
> > >>>Wicket-user mailing list
> > >>>Wicket-user@lists.sourceforge.net
> > >>>https://lists.sourceforge.net/lists/listinfo/wicket-user
> > >>>
> > >>>
> > >>>
> > >>>
> > >>
> > >>-------------------------------------------------------
> > >>This SF.Net email is sponsored by: NEC IT Guy Games.  How far can you 
> > >>shotput
> > >>a projector? How fast can you ride your desk chair down the office luge 
> > >>track?
> > >>If you want to score the big prize, get to know the little guy.
> > >>Play to win an NEC 61" plasma display: http://www.necitguy.com/?r=20
> > >>_______________________________________________
> > >>Wicket-user mailing list
> > >>Wicket-user@lists.sourceforge.net
> > >>https://lists.sourceforge.net/lists/listinfo/wicket-user
> > >>
> > >>
> > >>
> > >
> > >
> > >-------------------------------------------------------
> > >This SF.Net email is sponsored by: NEC IT Guy Games.  How far can you 
> > >shotput
> > >a projector? How fast can you ride your desk chair down the office luge 
> > >track?
> > >If you want to score the big prize, get to know the little guy.
> > >Play to win an NEC 61" plasma display: http://www.necitguy.com/?r
> > >_______________________________________________
> > >Wicket-user mailing list
> > >Wicket-user@lists.sourceforge.net
> > >https://lists.sourceforge.net/lists/listinfo/wicket-user
> > >
> > >
> >
> >
> >
> > -------------------------------------------------------
> > This SF.Net email is sponsored by: NEC IT Guy Games.  How far can you 
> > shotput
> > a projector? How fast can you ride your desk chair down the office luge 
> > track?
> > If you want to score the big prize, get to know the little guy.
> > Play to win an NEC 61" plasma display: http://www.necitguy.com/?r=20
> > _______________________________________________
> > Wicket-user mailing list
> > Wicket-user@lists.sourceforge.net
> > https://lists.sourceforge.net/lists/listinfo/wicket-user
> >
> 
> 
>

Attachment: CriteriaCountAndListAction.java
Description: Binary data



Reply via email to