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

Steve Ebersole (JIRA) noreply at atlassian.com
Fri Jan 22 00:37:29 EST 2010


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

Steve Ebersole commented on HHH-4659:
-------------------------------------

Rather than a 'default access type (concurrency strategy)' property, I am thinking a better option is to look at the specified "provider" and chose a default based on that.  Perhaps we could add a org.hibernate.cache.RegionFactory#getDefaultAccessType() method to get the org.hibernate.cache.access.AccessType to use by default.

We could add a property, but my concern is that we do not do any kind of "shifting" currently if a provider does not support a particular access type (ala, user requested "transactional", but we don't support that so lets "shift" that to "read-write").  That's why i was thinking allowing the provider to tell us is better.

> 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
>            Assignee: Steve Ebersole
>             Fix For: 3.5.0-Beta-4
>
>


-- 
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