[jboss-user] [JBossCache] - Re: JBoss Cache with Hibernate

bstansberry@jboss.com do-not-reply at jboss.com
Wed Oct 11 15:27:46 EDT 2006

Configure Hibernate to use JBC as the 2nd level cache -- see http://www.hibernate.org/hib_docs/v3/reference/en/html/performance.html#performance-cache

The configuration file for JBoss Cache needs to be named treecache-service.xml and needs to be on the classpath visible to Hibernate.  Hibernate will find it and instantiate a cache using that configuration.  All caches that are started with the same config on the same network will see each other and form a cluster.

View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3977662#3977662

Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3977662

More information about the jboss-user mailing list