Hibernate Tutorial


Hibernate Tutorial

This hibernate tutorial provides in-depth concepts of Hibernate Framework with simplified examples. Here in Hibernate Tutorial i am going to all advance hibernate concepts also like Secons level cache etc.

What is Hibernate

Hibernate is an object relational mapper (ORM) Framework which is used to turn our java objects into a way to persists them into the database and vice versa.

Here in Hibernate definition i used ORM so let’s understand what is ORM and what is use of ORM.

What is ORM

Object-Relational Mapping (ORM) is a technique which provides us facility to query and manipulate data from a database using an object-oriented programming pradigm.

In lemon term ORM binds our tables or stored procedures in java classes, so that instead of writing SQL statements to interact with your database, you use methods and properties of objects.

Advantage of Hibernate Framework

  1. Hibernate is non-invasive framework means it does not force use to extend or implement API classes or interfaces.
  2. Simple to learn and work means no need to learn complicated SQL queries.
  3. Hibernate is a bit faster than JDBC queries.
  4. By default transaction support is given.
  5. Database independent query
  6. Light-weight framework.

Limitation of Hibernate

  1. Hibernate is slower than pure JDBC driver API.
  2. Hibernate is not recommended for small project.
  3. Hibernate is not suitable for Batch processing
  4. So Many configuration need for simple query also.






Full-stack web and mobile app development company Contact Us : Skype: indore.webcoder Email: info@w3sparks.com Sales: +91 8085506229