Hibernate Tutorials

Lokesh Gupta

With version 6.0, Hibernate ORM has moved to expect Java 11 as its baseline version. It has also moved from Java Persistence as defined by the Java EE specs to Jakarta Persistence as defined by the Jakarta EE spec. We shall be using the jakarta.persistence. packages instead of javax.persistence. packages, starting from Hibernate version 6.0.

Note that Jakarta provides a transformer tool that can help in transforming a project from Java Persistence to Jakarta Persistence.

The following articles have been published to help you start with some very common tasks involving persistence with Hibernate and JPA.

1. Getting Started

2. Basics

3. Annotations

4. Configurations

5. Mapping


7. Logging, Caching, Pooling, Validation

8. Errors

9. Advance Topics

Sourcecode on Github

Comments are closed for this article!

About Us

HowToDoInJava provides tutorials and how-to guides on Java and related technologies.

It also shares the best practices, algorithms & solutions and frequently asked interview questions.