This article gives you an overview of Hibernate framework. After reading this article you will be able to understand the Hibernate framework.
Hibernate is one of the most popular ORM tool in Java Programming Language for quickly writing the data access layer for applications. The Hibernate framework was created by Gavin King in the year 2001. Since then Hibernate evolved into enterprise grade Object Relational Mapping tool. Hibernate is high performance, highly scalable, transactional, enterprise grade ORM tool which is being used by developers to develop enterprise applications.
Hibernate increases the productivity of the developers as it generates the persistence related queries on fly. Hibernate framework saves around 95% of envelopers effort in writing the data access layer. It also performs the primary level caching. It can also support secondary- level caching with the help of third party caching framework.
Hibernate is ORM tool
The Hibernate framework is an ORM tool for Java. It is very popular among the developers for creating world class enterprise web and JSE based applications. Hibernate mediates between Java objects and database store. It takes the Java objects from the program and then persists in the database. It takes the instruction from the Java program and translates into a SQL, executes the statements and then returns the result in the Java objects to the Java progam.
Following diagram shows how Hibernate works:
Advantages of Hibernate
There are many advantages of using any ORM tool such as Hibernate. First of all it makes programming much cleaner and reduces the development time upto 95%. Here are the advantages of Hibernate framework:
Hibernate Supported database
Hibernate supports many different databases with the help of dialect's. Here is the list of databases supported by Hibernate Framework:
Check the Hibernate 4 tutorials and master Hibernate 4 framework.
Liked it! Share this Tutorial