[hibernate-issues] [Hibernate-JIRA] Commented: (HHH-6859) Typo in AbstractEntityManagerImpl.determineCacheStoreMode(Map)

Diogo Vernier (JIRA) noreply at atlassian.com
Fri Dec 9 17:28:19 EST 2011


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

Diogo Vernier commented on HHH-6859:
------------------------------------

I´ve also found this bug today. The version I am using is 3.5.6Final.

> Typo in AbstractEntityManagerImpl.determineCacheStoreMode(Map)
> --------------------------------------------------------------
>
>                 Key: HHH-6859
>                 URL: http://opensource.atlassian.com/projects/hibernate/browse/HHH-6859
>             Project: Hibernate Core
>          Issue Type: Bug
>          Components: entity-manager
>            Reporter: Tien Tran
>
> {code}
> private CacheStoreMode determineCacheStoreMode(Map<String, Object> settings) {
> 	return ( CacheStoreMode ) properties.get( AvailableSettings.SHARED_CACHE_STORE_MODE );
> }
> {code}
> but I reckon it should be (similar to determineCacheRetrieveMode):
> {code}
> private CacheStoreMode determineCacheStoreMode(Map<String, Object> settings) {
> 	return ( CacheStoreMode ) settings.get( AvailableSettings.SHARED_CACHE_STORE_MODE );
> }
> {code}

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira

       



More information about the hibernate-issues mailing list