views:

10

answers:

0

hi,

I'm looking to create a HQL query that does the following:


public Collection getCollection(Collection sons)
{
   //return collection of fathers who's have all of the sons from the param
}

i'm a bit mixed up as to when to use query is HQL syntax (join etc..) and when to use "Criterias"

Thanks in advance