Hibernate (Java) Question:
What is the general flow of Hibernate communication with RDBMS?

Answer:
The general flow of Hibernate communication with RDBMS is :
* Load the Hibernate configuration file and create configuration object. It will automatically load all hbm mapping files
* Create session factory from configuration object
* Get one session from this session factory
* Create HQL Query
* Execute query to get list containing Java objects
* Load the Hibernate configuration file and create configuration object. It will automatically load all hbm mapping files
* Create session factory from configuration object
* Get one session from this session factory
* Create HQL Query
* Execute query to get list containing Java objects
Previous Question | Next Question |
What role does the SessionFactory interface play in Hibernate? | What is Hibernate Query Language (HQL)? |