Friday, 17 February 2012

Explain the general flow of Hibernate communication with RDBMS? | Java Hibernet

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.

No comments: