I need to select an entry from the users_roles table and I am using hibernate. but I don't want to make a separate class in java for this, therefore
I am thinking about using plain sql. I can do this, or I have to do a java class for this. because I just extract the role for example
select role from user_roles where email = abc@cdf.com
any eaxmple of this will be fine
John
source
share