-
Enterprise Java
How does Hibernate READ_WRITE CacheConcurrencyStrategy work
Introduction In my previous post, I introduced the NONSTRICT_READ_WRITE second-level cache concurrency mechanism. In this article, I am going to…
Read More » -
Enterprise Java
How does Hibernate NONSTRICT_READ_WRITE CacheConcurrencyStrategy work
Introduction In my previous post, I introduced the READ_ONLY CacheConcurrencyStrategy, which is the obvious choice for immutable entity graphs. When…
Read More » -
Enterprise Java
How does Hibernate Collection Cache work
Introduction Previously, I described the second-level cache entry structure, Hibernate uses for storing entities. Besides entities, Hibernate can also store…
Read More » -
Enterprise Java
How to optimize Hibernate EllementCollection statements
Introduction Hibernate supports three data mapping types: basic (e.g String, int), Embeddable and Entity. Most often, a database row is…
Read More » -
Enterprise Java
How does Hibernate READ_ONLY CacheConcurrencyStrategy work
Introduction As I previously explained, enterprise caching requires diligence. Because data is duplicated between the database (system of record) and…
Read More » -
Software Development
A beginner’s guide to Cache synchronization strategies
Introduction A system of record is the authoritative data source when information is scattered among various data providers. When we…
Read More » -
Enterprise Java
Things to consider before jumping to enterprise caching
Introduction Relational database transactions are ACID and the strong consistency model simplifies application development. Because enabling Hibernate caching is one…
Read More » -
Enterprise Java
How does Hibernate store second-level cache entries
Introduction The benefit of using a database access abstraction layer is that caching can be implemented transparently, without leaking into…
Read More » -
Enterprise Java
SELECT statements batch fetching with JDBC and Hibernate
Introduction Now that I covered Hibernate batch support for INSERT, UPDATE and DELETE statements, it’s time to analyze SELECT statements…
Read More »