Latest Tutorials| Questions and Answers|Ask Questions?|Site Map



Home Answers Viewqa Hibernate How are joins handled using Hinernate?
Login         

View Questions and Answers by Category

Advertisements


 
Have Programming Question? Ask it here!
 
 
 


Java Coder
How are joins handled using Hinernate?
1 Answer(s)      a year and 6 months ago
Posted in : Hibernate


Hi,

How are joins handled using Hinernate?

Thanks,


Advertisement
View Answers

April 22, 2013 at 12:32 PM


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,



Related Tutorials/Questions & Answers:
Advertisements
 

 

 

DMCA.com