Hibernate

Hibernate is a robust framework for object / relational mapping (ORM) for representing a database in Java objects and vice versa.
It is involved in the persistence of an application layer; he deals with the creation of mapped objects and facilitates the manipulation of these objects.

Hibernate provides a query language to manipulate the mapped objects : HQL (Hibernate Query Language).
It supports databases: MySQL, DB2, Oracle, SQL Server, …

A Hibernate Session is a unit of work involving a set of operations to the database (select, add, update, ..).
Any communication between the application and the database must be made through a Hibernate Transaction.

 

Introduction

 

Associations

 

Query

 

Transaction

 

Integration