JBoss Hibernate
-
Enterprise Java
JPA 2.1 criteria delete/update and temporary tables in Hibernate
Since JPA version 2.0 the EntityManager offers the method getCriteriaBuilder() to dynamically build select queries without the need of string…
Read More » -
Enterprise Java
Hibernate locking patterns – How does PESSIMISTIC_FORCE_INCREMENT Lock Mode work
Introduction In my previous post, I introduced the OPTIMISTIC_FORCE_INCREMENT Lock Mode and we applied it for propagating a child entity…
Read More » -
Enterprise Java
Hibernate locking patterns – How does OPTIMISTIC_FORCE_INCREMENT Lock Mode work
Introduction In my previous post, I explained how OPTIMISTIC Lock Mode works and how it can help us synchronize external…
Read More » -
Enterprise Java
NoSQL with Hibernate OGM – Part two: Querying for your data
After the first final version of Hibernate OGM came out end of January the team has been busy crafting a…
Read More » -
Enterprise Java
Hibernate locking patterns – How does Optimistic Lock Mode work
Explicit optimistic locking In my previous post, I introduced the basic concepts of Java Persistence locking. The implicit locking mechanism…
Read More » -
Enterprise Java
NoSQL with Hibernate OGM – Part one: Persisting your first Entities
The first final version of Hibernate OGM is out and the team recovered a bit from the release frenzy. So…
Read More » -
Enterprise Java
Leaky Abstractions, or How to Bind Oracle DATE Correctly with Hibernate
We’ve recently published an article about how to bind the Oracle DATE type correctly in SQL / JDBC, and jOOQ.…
Read More » -
Enterprise Java
Hibernate collections optimistic locking
Introduction Hibernate provides an optimistic locking mechanism to prevent lost updates even for long-conversations. In conjunction with an entity storage,…
Read More » -
Enterprise Java
Hibernate application-level repeatable reads
Introduction In my previous post I described how application-level transactions offer a suitable concurrency control mechanism for long conversations. All…
Read More »