Hibernate Tutorials

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

Was this post helpful?

Join 7000+ Awesome Developers

Get the latest updates from industry, awesome resources, blog updates and much more.

* We do not spam !!


A blog about Java and related technologies, the best practices, algorithms, and interview questions.