Quantcast

Criteria query on properties of type List<String>

classic Classic list List threaded Threaded
1 message Options
scm
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Criteria query on properties of type List<String>

scm
Hi,
I've following domain class:

class Test {

        String name

        static hasMany = [simpleListOfStrings:String] }


Is it possible to get all domains where the property 'simpleListOfStrings' includes the string 'testString' using a criteria query?

Regards,
Martin
Loading...