Skip to content
  • 3 Patterns for Scalable Microservices – Talk
  • About
  • Activate your account
  • Advanced Hibernate – JavaLand 2025
  • Advanced Hibernate Workshop
  • Advanced Hibernate Workshop – 3 days
  • Associations
  • Blog
  • Consulting
  • Contact
  • Custom On-Site and Online Workshops
  • Data and Communication Patterns
  • Data and Communication Patterns for Microservices
  • Data and Communication Patterns for Microservices – SkiData
  • Data-Patterns für Microservices
  • Database Migration
  • Disclaimer
  • Download Hibernate Tips Book Examples
  • Effiziente Datenpersistierung mit JPA 2.1 und Hibernate – JavaLand 2016
  • Hibernate in Complex Projects Talk
  • Hibernate Performance Tuning – 25.02.16 @JUG Saxony
  • Hibernate Performance Tuning (Data Experts)
  • Hibernate Performance Tuning Workshop
  • Hibernate Performance Tuning Workshop
  • Hibernate Performance Tuning Workshop
  • Hibernate Performance Tuning Workshop (1day)
  • Hibernate Performance Tuning Workshop (Online)
  • Hibernate Tips
  • Hibernate Tips Talk
  • Hibernate Workshop
  • Hibernate Workshop (AMTC)
  • Hibernate Workshop (Continentale)
  • Hibernate Workshop (ContShip)
  • Hibernate Workshop (PsiLogistics)
  • Impressum
  • In-Person Workshops
  • JPA für Fortgeschrittene (Continentale)
  • Login
  • Member Library
    • Profile
  • No daily emails
  • No Promo
  • No YouTube Videos
  • Ooops
  • Persistence
  • Privacy Policy
  • Profile
  • Review My Consulting And Coaching Services
  • Schedule activated
  • Solving n+1 select issues with @NamedEntityGraphs
  • Solving n+1 select issues with dynamic EntityGraphs
  • Talks
  • Thank you for enrolling in the Advanced Hibernate Workshop
  • Thank you for enrolling in the Hibernate Performance Tuning Workshop
  • Thank you for joining the Advanced Hibernate Video Series
  • Thank you for joining the Hibernate Performance Video Series
  • Thanks for buying my Hibernate Tips book!
  • Thanks for signing up!
  • Thanks for staying!
  • Thanks for your feedback
  • Todesursache: Hibernate
  • Tutorials
  • What is the n+1 select issue and how to find it
  • Work with me
  • Workshop Testimonial
  • Workshops
  • Workshops Qualitype
  • You joined the Advanced Hibernate Series
  • You joined the Data and Communication Patterns Series
  • You joined the Hibernate Beginners Series
  • You joined the Hibernate Performance Series
  • You’re in
  • You’re Almost There! Please Confirm Your Email!
  • You’re Almost There! Please Confirm Your Email!
  • You’re Almost There! Please Confirm Your Email!
  • You’re Almost There! Please Confirm Your Email!
Sign In

Hibernate Performance Tuning – 2025 Edition

By

Based on most discussions online and at conferences, there seem to be 2 kinds of projects that use Hibernate for their persistence layer: So, what’s the difference between these projects? Are the projects in the 2nd group more complex or have higher performance requirements? No, based on my consulting projects, that’s not the case. On…

Read More Hibernate Performance Tuning – 2025 EditionContinue

Date and Time Mappings with Hibernate and JPA

Date and Time Mappings with Hibernate and JPA

By

Databases support various data types to store date and time information. The most commonly used ones are: You can map all of them with JPA and Hibernate. But you need to decide to which Java type you want to map your database column. The Java language supports a bunch of classes to represent date and…

Read More Date and Time Mappings with Hibernate and JPAContinue

Persist LocalDateTime, ZonedDateTime & Co with Hibernate

Persist LocalDateTime, ZonedDateTime & Co with Hibernate

By

The Date and Time API, introduced in Java 8, finally replaced the old java.util.Date. It’s much easier to use and finally offers separate classes representing date, date with time, and only time information. That not only improves your business code but also makes it easier to use them as entity attributes. At least if you’re…

Read More Persist LocalDateTime, ZonedDateTime & Co with HibernateContinue

FetchType: Lazy/Eager loading for Hibernate & JPA

FetchType: Lazy/Eager loading for Hibernate & JPA

By

Choosing the right FetchType is one of the most important decisions when defining your entity mapping. It specifies when your JPA implementation, e.g., Hibernate, fetches associated entities from the database. You can choose between EAGER and LAZY loading. The first one fetches an association immediately, and the other only when you use it. I explain…

Read More FetchType: Lazy/Eager loading for Hibernate & JPAContinue

How to implement a soft delete with Hibernate

How to implement a soft delete with Hibernate

By

In some applications, you don’t want to or are not allowed to remove a record from the database permanently. But you still need to remove or hide records which are no longer active. One example could be a user account you want to keep because it is linked to other business objects that are still…

Read More How to implement a soft delete with HibernateContinue

Page navigation

1 2 3 … 68 Next PageNext

Join the Newsletter

Join 10k+ subscribers to get a persistence tip every weekday.

I will collect, use and protect your data in accordance with my privacy policy.

Level up your skills!

  • In-depth courses
  • Expert sessions
  • Monthly persistence news
Learn more!
Twitter YouTube Github Facebook Xing Linkedin
  • 3 Patterns for Scalable Microservices – Talk
  • About
  • Activate your account
  • Advanced Hibernate – JavaLand 2025
  • Advanced Hibernate Workshop
  • Advanced Hibernate Workshop – 3 days
  • Associations
  • Blog
  • Consulting
  • Contact
  • Custom On-Site and Online Workshops
  • Data and Communication Patterns
  • Data and Communication Patterns for Microservices
  • Data and Communication Patterns for Microservices – SkiData
  • Data-Patterns für Microservices
  • Database Migration
  • Disclaimer
  • Download Hibernate Tips Book Examples
  • Effiziente Datenpersistierung mit JPA 2.1 und Hibernate – JavaLand 2016
  • Hibernate in Complex Projects Talk
  • Hibernate Performance Tuning – 25.02.16 @JUG Saxony
  • Hibernate Performance Tuning (Data Experts)
  • Hibernate Performance Tuning Workshop
  • Hibernate Performance Tuning Workshop
  • Hibernate Performance Tuning Workshop
  • Hibernate Performance Tuning Workshop (1day)
  • Hibernate Performance Tuning Workshop (Online)
  • Hibernate Tips
  • Hibernate Tips Talk
  • Hibernate Workshop
  • Hibernate Workshop (AMTC)
  • Hibernate Workshop (Continentale)
  • Hibernate Workshop (ContShip)
  • Hibernate Workshop (PsiLogistics)
  • Impressum
  • In-Person Workshops
  • JPA für Fortgeschrittene (Continentale)
  • Login
  • Member Library
  • No daily emails
  • No Promo
  • No YouTube Videos
  • Ooops
  • Persistence
  • Privacy Policy
  • Profile
  • Review My Consulting And Coaching Services
  • Schedule activated
  • Solving n+1 select issues with @NamedEntityGraphs
  • Solving n+1 select issues with dynamic EntityGraphs
  • Talks
  • Thank you for enrolling in the Advanced Hibernate Workshop
  • Thank you for enrolling in the Hibernate Performance Tuning Workshop
  • Thank you for joining the Advanced Hibernate Video Series
  • Thank you for joining the Hibernate Performance Video Series
  • Thanks for buying my Hibernate Tips book!
  • Thanks for signing up!
  • Thanks for staying!
  • Thanks for your feedback
  • Todesursache: Hibernate
  • Tutorials
  • What is the n+1 select issue and how to find it
  • Work with me
  • Workshop Testimonial
  • Workshops
  • Workshops Qualitype
  • You joined the Advanced Hibernate Series
  • You joined the Data and Communication Patterns Series
  • You joined the Hibernate Beginners Series
  • You joined the Hibernate Performance Series
  • You’re in
  • You’re Almost There! Please Confirm Your Email!
  • You’re Almost There! Please Confirm Your Email!
  • You’re Almost There! Please Confirm Your Email!
  • You’re Almost There! Please Confirm Your Email!

© 2025 Thorben Janssen, all rights reserved.

  • 3 Patterns for Scalable Microservices – Talk
  • About
  • Activate your account
  • Advanced Hibernate – JavaLand 2025
  • Advanced Hibernate Workshop
  • Advanced Hibernate Workshop – 3 days
  • Associations
  • Blog
  • Consulting
  • Contact
  • Custom On-Site and Online Workshops
  • Data and Communication Patterns
  • Data and Communication Patterns for Microservices
  • Data and Communication Patterns for Microservices – SkiData
  • Data-Patterns für Microservices
  • Database Migration
  • Disclaimer
  • Download Hibernate Tips Book Examples
  • Effiziente Datenpersistierung mit JPA 2.1 und Hibernate – JavaLand 2016
  • Hibernate in Complex Projects Talk
  • Hibernate Performance Tuning – 25.02.16 @JUG Saxony
  • Hibernate Performance Tuning (Data Experts)
  • Hibernate Performance Tuning Workshop
  • Hibernate Performance Tuning Workshop
  • Hibernate Performance Tuning Workshop
  • Hibernate Performance Tuning Workshop (1day)
  • Hibernate Performance Tuning Workshop (Online)
  • Hibernate Tips
  • Hibernate Tips Talk
  • Hibernate Workshop
  • Hibernate Workshop (AMTC)
  • Hibernate Workshop (Continentale)
  • Hibernate Workshop (ContShip)
  • Hibernate Workshop (PsiLogistics)
  • Impressum
  • In-Person Workshops
  • JPA für Fortgeschrittene (Continentale)
  • Login
  • Member Library
    • Profile
  • No daily emails
  • No Promo
  • No YouTube Videos
  • Ooops
  • Persistence
  • Privacy Policy
  • Profile
  • Review My Consulting And Coaching Services
  • Schedule activated
  • Solving n+1 select issues with @NamedEntityGraphs
  • Solving n+1 select issues with dynamic EntityGraphs
  • Talks
  • Thank you for enrolling in the Advanced Hibernate Workshop
  • Thank you for enrolling in the Hibernate Performance Tuning Workshop
  • Thank you for joining the Advanced Hibernate Video Series
  • Thank you for joining the Hibernate Performance Video Series
  • Thanks for buying my Hibernate Tips book!
  • Thanks for signing up!
  • Thanks for staying!
  • Thanks for your feedback
  • Todesursache: Hibernate
  • Tutorials
  • What is the n+1 select issue and how to find it
  • Work with me
  • Workshop Testimonial
  • Workshops
  • Workshops Qualitype
  • You joined the Advanced Hibernate Series
  • You joined the Data and Communication Patterns Series
  • You joined the Hibernate Beginners Series
  • You joined the Hibernate Performance Series
  • You’re in
  • You’re Almost There! Please Confirm Your Email!
  • You’re Almost There! Please Confirm Your Email!
  • You’re Almost There! Please Confirm Your Email!
  • You’re Almost There! Please Confirm Your Email!
Search