Amol Umrani [
http://community.jboss.org/people/amolumrani] replied to the discussion
"How to do jboss caching"
To view the discussion, visit:
http://community.jboss.org/message/559001#559001
--------------------------------------------------------------
Hello Navin,
Thanks for reply.
I have set following in persistence.xml
<property name="hibernate.cache.use_second_level_cache"
value="true"/>
<property name="hibernate.cache.use_query_cache" value="true"/>
<property name="hibernate.cache.region.factory_class"
value="org.hibernate.cache.infinispan.JndiInfinispanRegionFactory"/>
<property name="hibernate.cache.infinispan.cachemanager"
value="java:CacheManager"/>
<property name="hibernate.cache.region.factory_class"
value="org.hibernate.cache.infinispan.InfinispanRegionFactory"/>
I want to implement caching using default configuration.
I think for default configuration u should not required configuration file.
Is it correct?
thats why i have used GlobalConfiguration.
Please help me regarding this...
Thanks,
Amol
--------------------------------------------------------------
Reply to this message by going to Community
[
http://community.jboss.org/message/559001#559001]
Start a new discussion in JBoss Cache at Community
[
http://community.jboss.org/choose-container!input.jspa?contentType=1&...]