Hi Eric,
I think it should be this:
@NamedQuery (name="findUsersByState", query="select o from User o where
o.adresses.state in ('MA', 'NY')")
| @Entity()
| public class User implements Serializable
| {
| ...
Hope this helps
Wolfgang
View the original post :
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4237908#4237908
Reply to the post :
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4237908
_______________________________________________
jboss-user mailing list
[email protected]
https://lists.jboss.org/mailman/listinfo/jboss-user