[hibernate-issues] [Hibernate-JIRA] Commented: (HHH-4659) Add support for standard declarative cache (@Cacheable)

Emmanuel Bernard (JIRA) noreply at atlassian.com
Thu Dec 10 07:51:08 EST 2009


    [ http://opensource.atlassian.com/projects/hibernate/browse/HHH-4659?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=34908#action_34908 ] 

Emmanuel Bernard commented on HHH-4659:
---------------------------------------

Section 3.7.1
this includes @Cacheable support
but is also linked to shared-cache-mode (in persistence.xml) / javax.persistence.sharedCache.mode

If unspecified, the default for Hibernate is no cache.

Likely we will need a org.hibernate.cache.default-cache-concurrency-strategy property to override the default one. So that people just using @Cacheable() can have their cache activated. This probably means that @o.h.a.Cache.usage() should have a DEFAULT value. (DEFAULT meaning the value set in org.hibernate.cache.default-cache-concurrency-strategy.

 


> Add support for standard declarative cache (@Cacheable)
> -------------------------------------------------------
>
>                 Key: HHH-4659
>                 URL: http://opensource.atlassian.com/projects/hibernate/browse/HHH-4659
>             Project: Hibernate Core
>          Issue Type: Sub-task
>          Components: annotations
>            Reporter: Emmanuel Bernard
>


-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://opensource.atlassian.com/projects/hibernate/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        


More information about the hibernate-issues mailing list