Explain the general flow of Hibernate communication with RDBMS.- The general flow of Hibernate communication with RDBMS is :
1. The Hibernate configuration is to be loaded and creation of configuration object is done. The mapping of all hbm files will be performed automatically.
2. Creation of session factory from the configuration object.
3. Obtain a session from the session factory.
4. Creation of HQL Query
5. Execution of the query in order to get the list of containing java objects.Explain the general flow of Hibernate communication with RDBMS.- The general flow of Hibernate communication with RDBMS is :
1. Load the Hibernate configuration file and create configuration object. It will automatically load all hbm mapping files.
2. Create session factory from configuration object.
3. Get one session from this session factory.
4. Create HQL Query.
5. Execute query to get list containing Java objects.
|