Hi,
How are joins handled using Hinernate?
Thanks,
Hi,
In Hibernate we want to retrieve data from two different table we require RDBMS concept to do that. in hibernate query language(HQL), the table are Value Objects (VOs). when we apply join statement to retrieve data from two or more value opjects to get output from that query. To get value from dynamically created result list, we requre to create a pojo class to hold the results.
In hibernate query language(HQL) there are 4 types of (inner & outer) joins: i.e. An ordinary join in the from clause, A fetch join in the from clause, A theta-style join in the where clause and An implicit association join etc.
For more related to How are joins handled using Hibernate visit this link.
http://www.roseindia.net/hibernate/hibernate4/HibernateJoin.shtml
http://www.roseindia.net/hibernate/associations-and-joins.shtml
Thanks,
Ads