What is the general flow of Hibernate communication with RDBMS?

Ads

 
 

Share on Google+Share on Google+

Java Coder
What is the general flow of Hibernate communication with RDBMS?
1 Answer(s)      4 years and 4 months ago
Posted in : Hibernate

Hi,

What is the general flow of Hibernate communication with RDBMS?

thanks,

Ads
View Answers

April 18, 2013 at 6:27 PM


hi friend,

To communicate with RDBMS Hibernate may follow the following steps :

  • At first it requires to create a configuration object and load the configuration file.
  • Then it is required to create a session factory from configuration object
  • Gets the session from session factory
  • Starts the transaction
  • Write the query (HQL)
  • Execute the query

Ads









Related Tutorials/Questions & Answers:
Advertisements