I have a entity class - User containing userid, name, email and userdepartments (returns Set which is mapped with User_to_Department table
Set