« Return to Thread: Criteria Query How-To

Re: Criteria Query How-To

by Darryl Pentz :: Rate this Message:

Reply to Author | View in Thread

Ok, but by the 'sounds' of that blog, it's not a problem you can solve in the underlying Grails Criteria implementation... it's an issue with Hibernate itself?

I ask because I can propose to my stakeholders that we can forgo paging on this particular functionality for the short term, if i know the fix will be in a future Grails update. But if it's more serious I'll just need to raise a red flag or two.

thanks,
Darryl

----- Original Message ----
From: Peter Ledbrook <peter@...>
To: user@...
Sent: Friday, May 30, 2008 10:18:40 AM
Subject: Re: [grails-user] Criteria Query How-To

2008/5/30 Darryl Pentz <djpentz@...>:
>
> Er, so does this mean it is currently not possible to retrieve distinct
> results when using a Hibernate Criteria query?

It means "distinct" doesn't work with paging. Works without the paging, though.

Peter

--
Software Engineer
G2One, Inc.
http://www.g2one.com/

---------------------------------------------------------------------
To unsubscribe from this list, please visit:

    http://xircles.codehaus.org/manage_email


     

---------------------------------------------------------------------
To unsubscribe from this list, please visit:

    http://xircles.codehaus.org/manage_email


 « Return to Thread: Criteria Query How-To