[jboss-user] [JBoss Cache] - How to do jboss caching
Amol Umrani
do-not-reply at jboss.com
Wed Aug 25 12:31:21 EDT 2010
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&containerType=14&container=2052]
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.jboss.org/pipermail/jboss-user/attachments/20100825/ee1dd36d/attachment.html
More information about the jboss-user
mailing list