> what would be the correct where clause if I want to check if the user
> "james" is in the users field of this MyObject class:

String jpql = "SELECT p FROM MyObject p WHERE ?1 MEMBER OF users";
em.createQuery(jpql).setParameter(1, "james").getResultList();

-- 
View this message in context: 
http://www.nabble.com/JPQL-Query-on-Collection%3CString%3E-tp16347010p16359450.html
Sent from the OpenJPA Users mailing list archive at Nabble.com.

Reply via email to