Nov 22 2005

Hibernate Caching

Published by Anders at 20:47 under Java

Caching is an essential component in any ORM solution. Without it it is impossible to obtain a decent performance, and without a proper understanding of the mechanisms at work you will get bad performance.

Some products like TopLink will behave extremely weird with improper usage of the cache, and leave you crying. ;) Do not embark on a ORM project without understanding the internals, especially of the cache, but also the product. Add distribution and synchronization to the mix and you got some nice complexity. :)

Two good articles on the internals of Hibernate can be found here:

Of course both are grabbed of the front of hibernate.org. :)

3 responses so far

3 Responses to “Hibernate Caching”

  1. [...] your cache. No Comments so far Leave a comment RSS feed for comments on this post. TrackBack URI Leave a comment Line and paragraph breaks automatic, e-mail address never displayed, HTMLallowed: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <code> <em> <i> <strike> <strong> [...]

  2. Cameron says:

    > Add distribution and synchronization to the mix and you got some nice complexity.

    Have you taken a look at Coherence? Drop me an email if you are interested in the work we’re doing with Hibernate and KODO (and soon for TopLink).

    Peace.

  3. Anders says:

    Never checked it out, but its name pops up whenever I look into caching. I’ll look into it for the next project.

Leave a Reply