I\'m a newbie to Hibernate.
I have an Item POJO which contains a Set consisting of labels. The labels are contained on anothe
Item
Set
For primitives collections you should use HQL query like this:
from Item item join item.labels lbls where 'hello' in (lbls)
PS: 'join' is required because 'labels' is OneToMany or ManyToMany variant, parentheses are required because 'lbls' is a collection