posted 12 years ago
Hi All,
I have two objects Person, Manager and the objects are mapped to database tables Person and Manager. I want to get all the persons having no manager at all or having manager whose name is "xyz".
SQL query to get the desired result is
I want to get the same result using HQL query and tried the following HQL query. But it is not giving expected results.
Any help on HQL query is appreciated.
Thanks,
Venkat
SCJP 5.0, SCWCD 5, preparing for SCDJWS