File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
The moose likes OSCache and the fly likes Using OscacheProvider for second level cache Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of Android Security Essentials Live Lessons this week in the Android forum!
JavaRanch » Java Forums » Caching » OSCache
Bookmark "Using OscacheProvider for second level cache" Watch "Using OscacheProvider for second level cache" New topic

Using OscacheProvider for second level cache

Priya Venkatesan
Ranch Hand

Joined: Nov 02, 2002
Posts: 61
I am trying to use hibernate second level cache and was looking to see what Cache provider to choose. After reading about Oscache, I thought in general it seems to be cluster aware. However hibernate's docs ( does not say that org.hibernate.cache.OSCacheProvider is cluster safe. What does this mean? Can I not use this in clustered environment?

Mark Spritzler

Joined: Feb 05, 2001
Posts: 17249

Can I recommend JBossCache instead? It is definitely cluster aware.

I work for JBoss, so there is definitely bias in that comment.


Perfect World Programming, LLC - Two Laptop Bag - Tube Organizer
How to Ask Questions the Smart Way FAQ
I agree. Here's the link:
subject: Using OscacheProvider for second level cache
Similar Threads
Caching in Hibernate
How setCacheable of Query will work
Resultset caching causing heap dump