[jboss-jira] [JBoss JIRA] Commented: (AS7-1393) Make Infinispan default 2nd level cache provider for hibernate
Scott Marlow (JIRA)
jira-events at lists.jboss.org
Sat Jul 23 21:31:23 EDT 2011
[ https://issues.jboss.org/browse/AS7-1393?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12616063#comment-12616063 ]
Scott Marlow commented on AS7-1393:
-----------------------------------
Can you be more specific as to what problem this is causing?
Currently, if the user sets property "hibernate.cache.infinispan.cachemanager", we add a dependency on the specified value (in which case the cache manager will be started). If an application isn't using a 2lc, they wouldn't set this property (which means the cache isn't started). I don't think that we want the Infinispan cache to be started by default.
> Make Infinispan default 2nd level cache provider for hibernate
> --------------------------------------------------------------
>
> Key: AS7-1393
> URL: https://issues.jboss.org/browse/AS7-1393
> Project: Application Server 7
> Issue Type: Enhancement
> Components: JPA / Hibernate
> Affects Versions: 7.0.0.Final
> Reporter: Paul Ferraro
> Assignee: Scott Marlow
> Fix For: 7.0.1.Final, 7.1.0.Alpha1
>
>
> I thought this was the already the case, but apparently it isn't yet.
> Users should not need to specify a value for hibernate.cache.region.factory_class in their persistence.xml.
> If undefined, the jpa subsystem should default the hibernate.cache.region.factory_class to "org.hibernate.cache.infinispan.JndiInfinispanRegionFactory". Likewise, the requisite hibernate.cache.infinispan.cachemanager property should default to "java:jboss/infinispan/hibernate".
--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira
More information about the jboss-jira
mailing list