-
Enterprise Java
How to customize Hibernate dirty checking mechanism
Introduction In my previous article I described the Hibernate automatic dirty checking mechanism. While you should always prefer it, there…
Read More » -
Enterprise Java
The anatomy of Hibernate dirty checking
Introduction The persistence context enqueues entity state transitions that get translated to database statements upon flushing. For managed entities, Hibernate…
Read More » -
Enterprise Java
The dark side of Hibernate AUTO flush
Introduction Now that I described the the basics of JPA and Hibernate flush strategies, I can continue unraveling the surprising…
Read More » -
Enterprise Java
A beginner’s guide to JPA/Hibernate flush strategies
Introduction In my previous post I introduced the entity state transitions Object-relational mapping paradigm. All managed entity state transitions are…
Read More » -
Enterprise Java
A beginner’s guide to JPA/Hibernate entity state transitions
Introduction Hibernate shifts the developer mindset from SQL statements to entity state transitions. Once an entity is actively managed by…
Read More » -
Enterprise Java
Hibernate hidden gem: the pooled-lo optimizer
Introduction In this post we’ll uncover a sequence identifier generator combining identifier assignment efficiency and interoperability with other external systems…
Read More » -
Enterprise Java
From JPA to Hibernate’s legacy and enhanced identifier generators
JPA identifier generators JPA defines the following identifier strategies: Strategy Description AUTO…
Read More » -
Enterprise Java
Hibernate Identity, Sequence and Table (Sequence) generator
Introduction In my previous post I talked about different database identifier strategies. This post will compare the most common surrogate…
Read More » -
Enterprise Java
Hibernate and UUID identifiers
Introduction In my previous post I talked about UUID surrogate keys and the use cases when there are more appropriate…
Read More »