Quantcast

HibernateCriteriaBuilder#in(...)

classic Classic list List threaded Threaded
3 messages Options
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate
star

HibernateCriteriaBuilder#in(...)

Jonathan Carlson
There is an "in" method on the HibernateCriteriaBuilder, however when I
try to use it in a criteria, grails won't startup.  (I think the error
was about an unexpected token or something like that)   Has anyone used
"in" in a criteria successfully before?  Maybe I just have something
else funky going on.

Thanks!

- Jonathan

______________________________________________________________________
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
_____________________________________________________________________

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

    http://xircles.codehaus.org/manage_email

Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate
star

Re: HibernateCriteriaBuilder#in(...)

graemer
I believe this is because in is a Groovy keyword like for(blah in blahs)

You would probably have to wrap it in quotes like:

'in'(...)

Graeme

On 8/17/06, Jonathan Carlson <[hidden email]> wrote:

> There is an "in" method on the HibernateCriteriaBuilder, however when I
> try to use it in a criteria, grails won't startup.  (I think the error
> was about an unexpected token or something like that)   Has anyone used
> "in" in a criteria successfully before?  Maybe I just have something
> else funky going on.
>
> Thanks!
>
> - Jonathan
>
> ______________________________________________________________________
> 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
> _____________________________________________________________________
>
> ---------------------------------------------------------------------
> 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

Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate
star

Re: HibernateCriteriaBuilder#in(...)

Jonathan Carlson
In reply to this post by Jonathan Carlson
Cool.  I learn something new every day!

>>> [hidden email] 2006-08-17 9:56:10 AM >>>
I believe this is because in is a Groovy keyword like for(blah in
blahs)

You would probably have to wrap it in quotes like:

'in'(...)

Graeme

On 8/17/06, Jonathan Carlson <[hidden email]> wrote:
> There is an "in" method on the HibernateCriteriaBuilder, however when
I
> try to use it in a criteria, grails won't startup.  (I think the
error
> was about an unexpected token or something like that)   Has anyone
used
> "in" in a criteria successfully before?  Maybe I just have something
> else funky going on.
>
> Thanks!
>
> - Jonathan
>
>
______________________________________________________________________
> 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
>
_____________________________________________________________________
>
>
---------------------------------------------------------------------
> 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 


______________________________________________________________________
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
_____________________________________________________________________

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

    http://xircles.codehaus.org/manage_email

Loading...