HIBERNATE Questions and Answers

Explain the general flow of Hibernate communication with RDBMS

The general flow of Hibernate communication with RDBMS is :
• The Hibernate configuration is to be loaded and creation of configuration object is done. The mapping of all hbm files will be performed automatically.
• Creation of session factory from the configuration object.
• Obtain a session from the session factory.
• Creation of HQL Query
• Execution of the query in order to get the list of containing java objects.