General hibernate flow involving RDBMS is as follows :
* Load configuration file and create object of configuration class.
* Using configuration object, create sessionFactory object.
* From sessionFactory, get one session.
* Create HQL query.
* Execute HQL query and get the results. Results will be in the form of a list.