Good Day,
I have a Hibernate mapping that looks something like this:
public class Item implements Serializable {
private lond id;
private String Name;
private boolean status;
...
}
public class ItemHolder implements Serializable {
private long id;
private List<Item> items;
...
}
How can I do query to get all Item Holder’s witch contains my Item?
(with criteria)
You just need a join: