Hibernate with Java

The Object Relational Mapping (ORM) is a technique that maps the data represented in object type into relational model with a database schema. The Hibernate is an open source ORM tool for Java; it maps Java Objects into database objects such as tables. Hibernate also provides powerful querying tool that does the reverse process, converting database objects into Java objects. It simplifies the database interactions very much; otherwise the developers have to write complex JDBC statements. It is object oriented so that the developers can enjoy the features of Object Oriented Programming System (OOPS) features in handling data on any database. Hibernate provides transparent persistence and Object-Oriented Query Language which is independent of any database. Hibernate supports native SQL queries as well.

  1. Getting Ready
  2. Persisting Student Data with Hibernate: Demo
  3. Hibernate Session
  4. Defining POJOs Using JPA/Hibernate Annotations
  5. HQL/JPAQL
  6. Index