Square CSS

Tuesday, January 22, 2019

Hibernate Tutorial : Introduction

Hibernate is an open source lightweight, Object Relational Mapping framework to interact Java classes with databases. It implements the specifications of JPA as a persistence layer.

Benefits 


Following are the benefits of using hibernate:

  • It is a lightweight framework which increases the efficiency of a project.
  • It helps in the interaction of java model class with the table of a database.
  • It maintains the first-level cache thus increasing the efficiency.
  • It implements the specifications of JPA thus helps to avoid the use of database-specific language.
  • It helps in writing queries both in native and hibernate query language.

Object Relational Mapping


Object Relational Mapping is a technique through which an object can interact with the database. 
The java code creates an object and the fields of this object get mapped with the column of the table in the database.


The different field of an object will be mapped with the different columns of a table. Internally this process is achieved with the help of JDBC (Java Database Connectivity).

Conclusion


In this tutorial, information is provided about the overview of Hibernate. In the next tutorial, the setup regarding hibernate will be elaborated.



 ☛ Next >> Hibernate Tutorial: Setting Up Environment

                    This series of tutorials is for Hibernate. The tutorial will cover ... 


1 comment:

Some Algorithms

Algorithm: Tower of Hanoi

Tower of Hanoi consists of three towers called as pegs with n number of rings. Rings are of different size.  Conditions to be fulfill...

Popular Posts