Hibernate

Hibernate

Hibernate is a Java framework for simplifying the development of Java application to interact with the database. It is open-source software with ORM (Object Relational Mapping) tool. Hibernate is lightweight and implements the specifications of JPA (Java Persistence API) to keep data persistent. In Hibernate framework cache is internally used. This improves the performance of Hibernate by making it faster. Here there are two types of cache-

  • first level cache (enabled by default)
  • second-level cache.

Hibernate Query Language (HQL) used in Hibernate generates the database-independent queries and hence a change in the database does not alter query. Thus maintenance becomes easy with Hibernate.

Featured Categories