Cacheable « Cache « JPA Q&A





1. How to use JPA2's @Cacheable instead of Hibernate's @Cache    stackoverflow.com

Typically , I use Hibernate's @Cache(usage = CacheConcurrencyStrategy.NONSTRICT_READ_WRITE) to cache an @Entity class , and it works well. In JPA2 , there's another @Cacheable annotation that seems to be the same ...

2. Accessing Cache for other Cacheable Objects    forum.hibernate.org

Hibernate version: 2.1 Just a question about cacheing objects other than hibernate objects, collections and queries. There is a need to cache object maps produced an manipulated during the course of a complex web interaction. I have written a simple hashmap algorithm then discovered that ehCache embedded in hibernate can probably do the same or better. I'm trying to work out ...