Hi,
Just started with hibernate and I dint quite understand, how hibernate is going to deal data retrieval if I need data from multiple tables.
I have tables TA,TB and TC and corresponding java objects OA, OB, OC.
Now I need to get some data from all the three tables and populate a composite Object OABC.
How do i do this..
The solution i understood is OABC should compose OA, OB, OC and I need to define one-one or one-many or many-many relationships between OABC and OA, OABC and OB and OABC and OC and write queries to get OABC.
Is this the way or is there any other solution...?
Thanks
Rajeev
|