JavaEE: Caching costly data across a transaction with TransactionSynchronizationRegistry
Everybody knows that a database query is extremely costly in enterprise application and usually has the biggest impact in process time of a transaction. There are plenty of best practice rules a developer has to follow: 1. Retrieve as much data as possible in a single query, avoid to make a data retrieve from the… Read More »