This week's book giveaway is in the OCAJP 8 forum. We're giving away four copies of OCA Java SE 8 Programmer I Study Guide and have Edward Finegan & Robert Liguori on-line! See this thread for details.
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.