Lets say we have this JPA-annotated class, with a property of type List. This code is currently working fine.
@Entity public class Family { ... @Collecti
MEMBER OF clause in JPQL:
Query query = getEntityManager().createQuery("select f FROM Family f WHERE :element MEMBER OF f.element"); query.setParameter("element", "yyy"); return query.getResultList();