Joined: Sun Sep 23, 2007 5:23 pm Posts: 1
|
Hi All,
I need a little help with Hibernate Critieria. I have the following classes:
public class Bottle{
private Long id;
...
...
}
public class BigContainer{
private Collection allBottles;
...
...
}
public class RedContainer{
private Collection redBottles;
...
...
}
I need a Hibernate Crieria to find all the bottles from BigContainer.allBottles that do NOT contain RedContainer.redBottles.
I am just new to Criteria. Any help is greatly appreciated.
Thanks
|
|