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

Hi,

What is the general flow of Hibernate communication with RDBMS?

thanks,

Advertisement
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