JPA
-
Enterprise Java
A beginner’s guide to Java Persistence locking
Implicit locking In concurrency theory, locking is used for protecting mutable shared data against hazardous data integrity anomalies. Because lock…
Read More » -
Enterprise Java
EAGER fetching is a code smell
Introduction Hibernate fetching strategies can really make a difference between an application that barely crawls and a highly responsive one.…
Read More » -
Enterprise Java
5 ways to initialize lazy relations and when to use them
Lazy loading of relations between entities is a well established best practice in JPA. Its main goal is to retrieve…
Read More » -
Enterprise Java
JPA Entity Graphs
One of the latest features in JPA 2.1 is the ability to specify fetch plans using Entity Graphs. This is…
Read More » -
Enterprise Java
EasyCriteria has evolved to uaiCriteria. New name and more features
Hello, how are you? I am very happy to announce the release of the uaiCriteria, the EasyCriteria evolution. Was it…
Read More » -
Enterprise Java
JPA Tutorial: Mapping Entities – Part 3
In my last article I showed two different ways to read/write persistent entity state – field and property. When field access mode is…
Read More » -
Enterprise Java
JPA Tutorial: Mapping Entities – Part 2
In my last post I showed a simple way of persisting an entity. I explained the default approach that JPA…
Read More » -
Software Development
Preventing lost updates in long conversations
Introduction All database statements are executed within the context of a physical transaction, even when we don’t explicitly declare transaction…
Read More » -
Enterprise Java
JPA tutorial: Mapping Entities – Part 1
In this article I will discuss about the entity mapping procedure in JPA. As for my examples I will use…
Read More »