[hibernate-issues] [Hibernate-JIRA] Created: (HHH-4835) Allow setting the defailt org.hibernate.cache.access.AccessType from config

Steve Ebersole (JIRA) noreply at atlassian.com
Sun Jan 24 12:07:29 EST 2010


Allow setting the defailt org.hibernate.cache.access.AccessType from config
---------------------------------------------------------------------------

                 Key: HHH-4835
                 URL: http://opensource.atlassian.com/projects/hibernate/browse/HHH-4835
             Project: Hibernate Core
          Issue Type: Improvement
          Components: annotations, caching (L2)
            Reporter: Steve Ebersole
            Assignee: Emmanuel Bernard


As a follow on to HHH-4659, add the ability to define the default cache concurrency startegy via config.  I already added the hook as org.hibernate.cfg.AnnotationBinder#prepareDefaultCacheConcurrencyStrategy.  It sets the org.hibernate.cfg.AnnotationBinder#DEFAULT_CACHE_CONCURRENCY_STRATEGY field which is what gets used to when no strategy was specified (either @Cacheable or @Cache w/o strategy attribute).

I just do not know the best way to integrate this into AnnotationConfiguration.

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