Quantcast
Channel: Vlad Mihalcea
Viewing all articles
Browse latest Browse all 177

The JPA and Hibernate second-level cache

$
0
0

Introduction In this article, I’m going to explain how the JPA and Hibernate second-level cache mechanism works and why they are very important when it comes to improving the performance of your data access layer. JPA and Hibernate entity first-level and second-level cache As I explained in this article, JPA and Hibernate feature a first-level cache as well. However, the first-level cache is bund to the currently executing Thread, so the cached entities cannot be shared by multiple concurrent requests. On the other hand, the second-level cache is designed to be used... Read More

The post The JPA and Hibernate second-level cache appeared first on Vlad Mihalcea.


Viewing all articles
Browse latest Browse all 177

Trending Articles