Already a Member? Login

Join the Persistence Hub for access to this course:

Advanced Hibernate

Start implementing complex requirements with ease.

This course is exclusively available to members of the Persistence Hub.

Lessons in this course

Complex mappings

  • Embeddables
  • Composite primary keys
  • Associations with attributes
  • Cascading
  • Generated database columns
  • Inheritance hierarchies

Multi-tenancy

  • Separate database
  • Separate schema
  • Partitioned data

Inheritance mappings

  • Mapped superclass
  • Table per class strategy
  • Joined table strategy
  • Single table strategy

Dynamic, type-safe queries

  • Criteria API
  • JPA Metamodel

Custom data types

  • JPA’s AttributeConverter
  • Hibernate’s UserType

Hibernate-specific APIs

  • Load by multiple IDs
  • Load by natural ID
  • Optimistic locking

Lifecycle handling

  • Lifecycle callbacks
  • Entity listeners

Concurrency management

  • Preventing concurrent modifications
  • Pessimistic locking
  • Optimistic locking

Get full access to the Advanced Hibernate course
when you join the Persistence Hub today!

All Persistence Hub Members
Get Access To:

Immediate access to the extensive course library

Are you a beginner or an experienced senior developer who has been using Hibernate or Spring Data JPA for years?

No matter where you’re starting, the Persistence Hub has you covered. The premium courses will provide you with the required knowledge to become a true expert and build better performing and more maintainable persistence layers.

Expert Sessions with Thorben and Guests

The Java space is constantly evolving and changing. Keeping up with all of this can be a challenge.

Watch Expert Sessions hosted by Thorben and guests to learn more about the latest developments and get insights from subject-matter experts. All Expert Sessions get recorded and uploaded to the library.

Stay on top of the latest developments

Watch the monthly Java Persistence News episode to learn about the latest changes and improvements in the Java persistence world.

Or check the What’s new course to get detailed information about the changes included in each release of frameworks like Hibernate and Spring Data JPA.

Monthly Coding Problems

Knowing about different concepts and features is helpful. But software development is a craft. You need to be able to apply your knowledge to different situations and combine multiple features to a working solution.

That’s what our monthly Coding Problems are for. In each of them, I show you how I solve a common task or problem and explain the reasons for my decisions.

What others say about the courses in the Persistence Hub


We have included the courses in our standard training library

Using the more advanced parts of object-relational mapping, like dealing with complex inheritance structures, has never been easy. Thorben explains them in his Advanced Hibernate Online Training course in an easy-to-understand series of lessons. Implementing complex mapping structures is a breeze after this.

We have included it in our standard training library for new developers.
Stephan Knitelius
Senior Consultant

Great combination of video lectures and example projects

The training course provides a great combination of video lectures, slides, and example projects with JUnit tests. This approach is pretty unique for an online course. It not only made it easy to understand the different features and concepts, but it also helped me to apply them in my daily work.

I was on a tight schedule, and this course was perfect. It is well organized into compact and effective modules, with short lectures that make it easy to schedule time to learn after work. I was able to complete the course within several weeks despite my time constraints.

The Advanced Hibernate Online Training course helped me to understand Hibernate much better, and I recommend it to everyone who is using Hibernate.
Jean-Claude Brantschen
Software Engineer

Finally, I learned how to use criteria queries

Great hands-on workshop about Hibernate’s advanced features by Thorben Janssen.

Finally, I have learned how to use criteria queries and stored procedures with Hibernate.
Gregor Karl Frey
Chief Development Architect at SAP

Join The Persistence Hub Today!

The courses, Expert Sessions and Java Persistence News available in the Persistence Hub are the quickest way to get your Java persistence skills to the next level!

Are you ready to take action?

Then choose your subscription below and join the Persistence Hub.

Monthly

39€

per month

Recurring payment – cancel anytime

30-day unconditional money-back guarantee

Annual

390€

per year

BEST VALUE: Save 78€ when you join on an annual subscription!

Recurring payment – cancel anytime

30-day unconditional money-back guarantee

5 user

1950€
1300€

per year

Recurring payment – cancel anytime

30-day unconditional money-back guarantee

10 User

3900€
2500€

per year

Recurring payment – cancel anytime

30-day unconditional money-back guarantee

20 User

7800€
4900€

per year

Recurring payment – cancel anytime

30-day unconditional money-back guarantee

50 User

19500€
12000€

per year

Recurring payment – cancel anytime

30-day unconditional money-back guarantee

All purchases and subscriptions for the Persistence Hub are handled securely & privately by Copecart.

When you enroll in our monthly or annual subscription, you must agree to our Terms of Service, and your payment method of choice will be charged the price of the subscription you choose, either monthly or annually, plus any applicable taxes. You can always cancel at any time! 

Simple & Unconditional 100% Money-Back Guarantee

This is more than just a guarantee. It’s a promise from a developer (me) to a developer (you).

Take 30 days to get to know the Persistence Hub membership, learn how to avoid boilerplate code, and build efficient and maintainable persistence layers.

If you’re not happy with the membership, cancel your membership and send me a message to ask for a refund. I will promptly send you 100% of your money back.

Yes, that’s right. I’m taking all the risks with this guarantee. You could rip me off by enrolling in the Persistence Hub membership with the intention of requesting your money back after 30 days.

But I trust that you won’t do that. We software developers are honest people and don’t rip each other off, right?

So, I trust you, and you don’t have to take any risks.

FAQ

Yes, it is. We designed some of the premium courses in the Persistence Hub specifically for beginners to teach you all the basics you need to know. After you complete them, you will have the required knowledge and understanding to start working on the more advanced topics.

Yes, it is. The Persistence Hub includes premium courses on advanced topics, like Hibernate performance tuning or the design of data management and communication in a microservice architecture.

These courses are included in the Persistence Hub:

JPA for Beginners
If you are new to JPA / Hibernate / Spring Data JPA, this course is for you. You will learn all basic concepts, mapping annotations, and query features. After completing this course, you will be able to create simple persistence layers yourself and help your team to work on more complex projects.

Advanced Hibernate
If you want to learn about JPA’s and Hibernate’s more advanced and complex mapping and query features, this course is for you.
You will learn how to use embeddables, composite primary keys, custom data types, inheritance mapping strategies, lifecycle callbacks, and common patterns to model your persistence layer. I will also show you how to use Hibernate’s multi-tenancy feature, the Criteria API, and some of Hibernate’s proprietary APIs to implement complex business requirements. To get the most out of this course, you should be familiar with the basic concepts, mappings, and query features.

Hibernate Performance Tuning
This course is for you if you want to improve the performance of your persistence layer. I will show you how to monitor Hibernate during development so that you can find performance problems as early as possible. You will learn how to use the best projection for each use case, avoid inefficient mappings, fetch associations as efficiently as possible, use Hibernate’s caches, and much more.
To get the most out of this course, you should be familiar with Hibernate’s basic concepts, mappings, and query features. You should also have built a few persistence layers with Hibernate and deployed them to production.

Spring Data JPA
This course is for you if you’re using Spring Data JPA to implement your persistence layer.
You will learn to configure Spring Data JPA, use its standard repositories, and test your persistence layer. I will also show you how to avoid performance problems, extend Spring’s repositories with and without implementing your own methods, and give you an introduction to several integrations of other frameworks to provide auditing, create more complex queries, migrate your database, and much more.
To get the most out of this course, you should at least be familiar with JPA’s basic concepts, mappings, and query features.

Data and Communication Patterns for Microservices
This course is for you if you want to design a microservice architecture for your application and wonder how these services will communicate. Unfortunately, that’s not as easy as some conference speakers want to make you believe.
I will explain why most of the concepts used in a monolith no longer work in a microservice architecture. You will learn patterns to avoid distributed read operations, or if that’s not possible, to at least make them as resilient as possible. I will also show you how to design distributed write operations that ensure data consistency without requiring any locks or causing other scalability issues.
To get the most out of this course, you should have a basic understanding of Spring Boot and some experience in system design.

Patterns for Persistence Layers
This course is for you if you’re looking for patterns to structure and implement your application or if you want to get a better understanding of the patterns used by your persistence framework.
You will learn about commonly used patterns with their strengths and weaknesses. I also explain the available alternatives and how to decide which one to use in your application.
To get the most out of this course, you should have some experience in application and system design.

No, the materials in the Persistence Hub are designed to be self-guided and self-paced. The Persistence Hub also doesn’t include any project-specific coaching or consulting.

We know that you will enjoy being a member of the Persistence Hub and that it will provide you with the right information to improve your skills as a software developer. But if, for whatever reason, you’re not 100% satisfied, we have an unconditional 30 days money-back guarantee.

No, you can’t. Your membership gives you access to the content within the member area. If you cancel or do not renew your membership, you will keep access to the Persistence Hub until the end of your current payment term. After that, you can no longer access any content inside the Persistence Hub.