[
https://jira.jboss.org/jira/browse/ISPN-6?page=com.atlassian.jira.plugin....
]
Galder Zamarreno commented on ISPN-6:
-------------------------------------
The following property names have changed from the previous comment to make parsing
easier:
3. The default cache names for entity, collection, query and timestamps will be defined by
the following properties:
hibernate.cache.infinispan.entity.cfg
hibernate.cache.infinispan.collection.cfg
hibernate.cache.infinispan.query.cfg
hibernate.cache.infinispan.timestamps.cfg
4. The defaults for entity and collection can be overridden on a per entity/collection
basis using the following format:
hibernate.cache.infinispan.com.acme.Person.cfg=NoEvictionCache
hibernate.cache.infinispan.com.acme.Address.cfg=NoEvictionCache
hibernate.cache.infinispan.com.acme.Person.addresses.cfg=NoEvictionCache
The above configuration indicates that for Person and Address entities and
Person.addresses collection, a cache named with NoEvictionCache configuration will be
used.
Infinispan cache provider for Hibernate
---------------------------------------
Key: ISPN-6
URL:
https://jira.jboss.org/jira/browse/ISPN-6
Project: Infinispan
Issue Type: Feature Request
Reporter: Manik Surtani
Assignee: Galder Zamarreno
Fix For: 4.0.0.BETA1, 4.0.0.GA
Hibernate will need a cache provider plugin for Hibernate. While this will reside in the
Hibernate trunk codebase, the JIRA is tracked here.
General ideas:
Use a separate named cache per entity. This cache would hold entity instances as well as
collections pertaining to that entity.
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
https://jira.jboss.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
http://www.atlassian.com/software/jira