how to do a hibernate query on a many to many relationship code example
Example: hibernate query many to many
from Portailuser u join u.portailroles r where r.name=:roleName
from Portailuser u join u.portailroles r where r.name=:roleName