Hibernate Criteria query on association

Posted by DD on Stack Overflow See other posts from Stack Overflow or by DD
Published on 2010-03-12T15:26:20Z Indexed on 2010/03/12 15:27 UTC
Read the original article Hit count: 376

Filed under:
|
|

Hi There, How would I go about executing the following Hibernate query using the criteria API. I have an object Parent with List children. I would like to search through all parents and find which parents contain a specified child. i.e. List findParent(Child child);

Thanks.

© Stack Overflow or respective owner

Related posts about hibernate

Related posts about criteria