Hibernate - Flow of Hibernate communication with RDBMS.

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.
Hibernate - Explain the role of Session interface in Hibernate.
Explain the role of Session interface in Hibernate - Session interface is a single threaded object..
Hibernate - What is a SessionFactory?
What is a SessionFactory? - The SessionFactory is the concept that is a single data store and thread safe..
Hibernate - Role of SessionFactory interface plays
Role of SessionFactory interface plays - The SessionFactory is used to create Sessions...
Post your comment