This week's book giveaway is in the Servlets forum.
We're giving away four copies of Murach's Java Servlets and JSP and have Joel Murach on-line!
See this thread for details.
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 Murach's Java Servlets and JSP this week in the Servlets 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: 17249
    
    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
 
Similar Threads
Resultset caching causing heap dump
How setCacheable of Query will work
Caching in Hibernate
setCacheMode(CacheMode.IGNORE)
Caching