Hibernate Basics

Hibernate Tutorial

Hibernate is the most used Object/Relational persistence and query service and It is licensed under the open-source GNU Lesser General Public License (LGPL). Hibernate not only see the mapping from Java classes to database tables but also provides data query and recovery facilities. Hibernate is free to download.

This Hibernate Tutorial is designed for beginners and experienced professionals, which helps you to use Hibernate to create database-based web applications in simple and easy steps and learn fundamental and advanced concepts of Hibernate including setting up Hibernate, mapping Java classes to database tables, performing basic and advanced database operations, utilizing Hibernate Query Language (HQL), and more.

Similar Reads

What is Hibernate Framework?

Hibernate is a Java framework, licensed under the open-source GNU Lesser General Public License (LGPL), and is available for free download. Developed in 2001 by Gavin King, Hibernate was introduced as a groundbreaking alternative to the EJB2-style entity bean approach. By mapping Java objects to database tables, it streamlines data persistence and retrieval without the need for complex SQL queries. With features like automatic transaction management and caching, Hibernate simplifies and optimizes database interactions, making it an indispensable framework for efficient data management in Java applications....

What is JDBC?

JDBC (Java Database Connectivity) provides a set of Java APIs to access the relational databases from the Java program. Java APIs enable programs to execute SQL statements and interact with any SQL database....

ORM Tool

An ORM tool simplifies the data creation, data manipulation and data access and It is a programming technique that maps the object to the data stored in the database....

What is JPA?

Java Persistence API (JPA) is a Java specification that provides specific functionality and is a standard for ORM tools. javax.persistence package contains the JPA classes and interfaces....

Hibernate Basics

...

Core Hibernate

Introduction to Hibernate Framework Hibernate Architecture Hibernate Lifecycle Difference between JDBC and Hibernate in Java JPA vs Hibernate Hibernate – Difference Between ORM and JDBC Hibernate Example using XML in Eclipse Hibernate – Create Hibernate Configuration File with the Help of Plugin...

Hibernate Mapping

Hibernate – Cache Eviction with Example Hibernate – Cache Expiration Hibernate – Enable and Implement First and Second Level Cache Hibernate – Pagination Hibernate – Different Cascade Types Hibernate – Caching Hibernate – Eager/Lazy Loading Hibernate – get() and load() Method Hibernate Validator with Example Hibernate – Batch Processing Hibernate – Interceptors Hibernate – Criteria Queries Hibernate – Create POJO Classes Hibernate – Web Application Hibernate – Generator Classes Hibernate Example without IDE...

Hibernate Annotations

Hibernate – One-to-One Mapping Hibernate – One-to-Many Mapping Hibernate – Many-to-One Mapping Hibernate – Many-to-Many Mapping Hibernate – Component Mapping Hibernate – Mapping List Hibernate – Collection Mapping Hibernate – Bag Mapping Hibernate – Difference Between List and Bag Mapping Hibernate – SortedSet Mapping Hibernate – SortedMap Mapping Hibernate – Bidirectional Association Hibernate – Lazy Collection...

Hibernate with Spring Framework

Hibernate – Annotations Hibernate – @Embeddable and @Embedded Annotation...

Hibernate with Database

Spring Hibernate Configuration and Create a Table in Database Spring ORM Example using Hibernate Spring Boot – Validation using Hibernate Validator How to Create a Project using Spring MVC and Hibernate 5? Spring Boot – Integrating Hibernate and JPA...

Hibernate Log4j

Hibernate – Save Image and Other Types of Values to Database Hibernate Native SQL Query with Example CRUD Operations using Hibernate Automatic Table Creation Using Hibernate Hibernate – Native SQL Hibernate – SQL Dialects Hibernate – Query Language Hibernate Example using JPA and MySQL...

Inheritance Mapping

Hibernate – Logging by Log4j using xml File Hibernate – Logging By Log4j Using Properties File...

Hibernate Advantages

Hibernate – Inheritance Mapping Hibernate – Table Per Hierarchy using XML File Hibernate – Table Per Hierarchy using Annotation Hibernate – Table Per Concrete Class using XML File Hibernate – Table Per Concrete Class Using Annotation Hibernate – Table Per Subclass Example using XML File Hibernate – Table Per Subclass using Annotation...

Hibernate Supported Databases

Here are the advantages of Hibernate:...

Hibernate Tutorial – FAQs

Hibernate supports almost all the major RDBMS. Following is a list of a few of the database engines that are supported by Hibernate −...