File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
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 OCA/OCP Java SE 7 Programmer I & II Study Guide this week in the OCPJP forum!
JavaRanch » Java Forums » Caching » OSCache
Bookmark "Using OscacheProvider for second level cache" Watch "Using OscacheProvider for second level cache" New topic
Author

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 (http://www.hibernate.org/hib_docs/reference/en/html/performance.html#performance-cache) does not say that org.hibernate.cache.OSCacheProvider is cluster safe. What does this mean? Can I not use this in clustered environment?

Thanks,
Priya
Mark Spritzler
ranger
Sheriff

Joined: Feb 05, 2001
Posts: 17258
    
    6

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

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

Mark


Perfect World Programming, LLC - Two Laptop Bag - Tube Organizer
How to Ask Questions the Smart Way FAQ
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Using OscacheProvider for second level cache