I recently gave a talks on the behaviour of different JPA frameworks at W-JAX(Germany) and TheServerSide Java Symposium (Prague). As some people have asked me, I am publishing the samples as well. I would also give away the eclipse project, however with all the third party libraries I am sure I will end up not [...]
Read full post >>Showing posts with label: Hibernate
Last year at devoxx I gave a talk on common pitfalls in performance management. Parleys has now put the talk online. A couple of people have been asking to get slides. Now you can even get the voice and the slides. In this presentation I give an overview of typical performance antipatterns. I discuss conceptual, [...]
Read full post >>In the last posts I already covered the session cache as well as the query cache. In this post I will focus on the second-level cache. The Hibernate Documentation provides a good entry point reading on the second-level cache.
The key characteristic of the second-level cache is that is is used across sessions, which also differentiates [...]
In the last post I wrote on caching in Hibernate in general as well as on the behavior of the session cache. In this post we will have a closer look at the QueryCache. I will not explain the query cache in details as there are very good articles like Hibernate: Truly Understanding the Second-Level [...]
Read full post >>Hibernate offers caching functionality which is designed to reduces the amount of necessary database access. This is a very powerful feature if used correctly. However I have seen a lot of cases and also talked to many people on caching in Hibernate, where caching is either not understood correctly or even used the wrong way.
There [...]







