I'm new to the Hibernate I have the following database design,
The supervisor is referred the own table's user_id column
I have created the hibernate mapping files and pojo using the automated feature of Netbean. The Codes are here
I don't see any option to get the supervisor's as I want to do get the supervisor's name by joining. I know how to get it done using the SQL . This is the SQL code I wish to execute. But I don't know how to write it in HQL.