Hi,
any other inputs?
my requirement is, i have a employe table with 2 colums, one is project another one is Manager
where project and manger are 2 different tables. with primary key mapped to employee table project and manager column.
Now i want to know how can i join these 3 tables in a single hql query, so that i can get all the values,.
Rk
Main Topics
Browse All Topics





by: ozlevanonPosted on 2009-11-02 at 00:27:42ID: 25717750
Yes, you can do that. I don't know of any limit on the number of Many To One members in a class, see an example below.
In the code below, when you retrieve a Person object, it will be retrieved with the city and country already read from the database.
Select allOpen in new window