JPAQL « Property « JPA Q&A





1. Use of primitive ElementCollection properties in JPAQL    forum.hibernate.org

I am using JPA 2, Hibernate 3.5.3 and have an entity with a collection of primitives (Strings) mapped via ElementCollection. I'd like to construct a JPAQL query that includes a "if in collection" clause. My entity is like this: [code] public class Group { @ElementCollection @CollectionTable(name = "GRP_MEMBER") private List members; // other properties } [/code] Here are the queries I've ...