JBoss Hibernate
-
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
Using @NamedEntityGraph to load JPA entities more selectively in N+1 scenarios
The N+1 problem is a common issue when working with ORM solutions. It happens when you set the fetchType for…
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 » -
Enterprise Java
Hibernate Debugging – Finding the origin of a Query
It’s not always immediate why and in which part of the program is Hibernate generating a given SQL query, especially…
Read More » -
Enterprise Java
Pitfalls of the Hibernate Second-Level / Query Caches
This post will go through how to setup the Hibernate Second-Level and Query caches, how they work and what are…
Read More » -
Enterprise Java
A beginner’s guide to Hibernate Types
The basic mapping concepts When learning Hibernate many like to jump to parent-child associations without mastering the object relation mapping…
Read More » -
Enterprise Java
The minimal configuration for testing Hibernate
Introduction In my previous post I announced my intention of creating a personal Hibernate course. The first thing to start…
Read More »