« Return to Thread: Criteria Query How-To

Re: Criteria Query How-To

by Peter Ledbrook-2 :: Rate this Message:

Reply to Author | View in Thread

>    public          \
>    static          \
>    folderNames()
>    {
>        return Clif.createCriteria().listDistinct {
>            fetchMode('residentFolder', FM.EAGER)
>            projections { 'residentFolder' }
>            order('residentFolder', 'asc')
>        }
>    }

projections {
    property("residentFolder")
}

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

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

    http://xircles.codehaus.org/manage_email


 « Return to Thread: Criteria Query How-To