April 18, 2013 at 6:27 PM
hi friend,
To communicate with RDBMS Hibernate may follow the following steps :
- At first it requires to create a
configuration object and load the
configuration file.
- Then it is required to create a
session factory from configuration
object
- Gets the session from session factory
- Starts the transaction
- Write the query (HQL)
- Execute the query