DetachedCriteria « Map « JPA Q&A





1. Enum mapping and criteria    stackoverflow.com

I have two entities: "Parent" & "Child" Child is mapped in Parent like this: Code:

 <many-to-one name="child" class="org.demo.Child"
     update="false" insert="false" embed-xml="false" node="chd/@id" >
     <column name="CHILD_ID" ...

2. Querying Hibernate Parent/Child with Subquery Criteria    stackoverflow.com

EDIT: relevant: https://forum.hibernate.org/viewtopic.php?f=1&t=946236&start=0 but still no solution there. I have a parent/child relationship. The parent maps a set of string tags. The simplified DDL:

CREATE TABLE PARENT ( 
 ...