Management « Cache « JPA Q&A





1. Hibernate Cache Management    coderanch.com

My application requires to refresh the hibernate cache periodically (for every hour should sync the contents in cache with database). The duration of the refresh might be modified by the application user in the future (requirement) hence would like to specify it in config file instead of using refresh method in the code. Please let me know whether any tag or ...

2. EHCache and memory management    forum.hibernate.org

Hy there !! =) I'm practiving EHCache with Hibernate...and I would like to know something. Here are my problem : I have a class MyClass. Its mapping file declares it cached in 2ndLevel EHCache cache. We have one Hibernate session by user (by HTTPSession). Now, imagine two users. The first one call a hibernateSession.iterate(hqlQuery). It loads the data from the DB ...

3. Clustered cache + TX management    forum.hibernate.org

I'm developing a hibernate based clustered J2EE application and have two major questions: 1. I need to use a clustered cache, and saw that there various options (OSCache, SwarmCache, TreeCache, etc.). Does anyone have info/experience on how they compare in terms of performance, data integrity, ease of use, etc? 2. I didn't quite understand from the documentation how hibernate works together ...

4. Cache management and suitable strategy    forum.hibernate.org

Hibernate version:3.1.3 Name and version of the database you are using:Oracle 9.2 Hi, Im using Hibernate with second-level and query cache, as cache provider - JBoss TreeCache. Web-application is using in cluster. Like a strategy transactional for all instances and collection. I have the following situation: One time per day I need to make new import to database. It means ...