JSP « Cache « JPA Q&A





1. Caching with JPA/Hibernate    coderanch.com

I am using Spring ,JPA/Hibernate in my application and have implemented a Service Interface and Class and DAO(with generic DAOs) to compute totalLineNumbers. Any my requirement is to include caching. Now i have very little knowledge to caching using JPA/Hibernate. And i know JPA has separate API for level 2 Cache. Any suggestions ,what level and how can i implement caching ...

2. Hibernate Oscache and Oscache JSP Taglib    forum.hibernate.org

Hi, I use Oscache for second level cache with Hibernate and Oscache JSP Taglib in my jsp pages. My question is, are these caches seperate? I mean when I configure OsCache using oscache.properties, are the Hibernate second level cache and OsCache taglib shares same configuration and cache mechanism? If yes, how can I seperate them? I want Hibernate to cache 1000 ...