Hi, I am using user,role and rolelink table seperatley, rolelink table links to role and user table, corresponding roleid and userid in the tables. This is been mapped through hibernate, I need a query to fetch the user details with corresponding roles.
is there any change we have to do in the hibernate files.
posted 8 years ago
Can we have a look at your Hibernate entities?
You might want to look up the MEMBER OF and IN keywords in JPA/Hibernate for this functionality.