[hibernate-issues] [Hibernate-JIRA] Updated: (HHH-3695) RegionFactory's no-arg constructor does not get invoked

Paul Cowan (JIRA) noreply at atlassian.com
Wed Jan 7 19:59:38 EST 2009


     [ http://opensource.atlassian.com/projects/hibernate/browse/HHH-3695?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Paul Cowan updated HHH-3695:
----------------------------

    Attachment: hibernate-fixjavadoc.patch

Patch which merely corrects the javadoc in RegionFactory to make it clear that a constructor taking a Properties should be declared

> RegionFactory's no-arg constructor does not get invoked
> -------------------------------------------------------
>
>                 Key: HHH-3695
>                 URL: http://opensource.atlassian.com/projects/hibernate/browse/HHH-3695
>             Project: Hibernate Core
>          Issue Type: Bug
>          Components: caching (L2)
>    Affects Versions: 3.3.1
>            Reporter: Paul Cowan
>            Priority: Trivial
>         Attachments: hibernate-bothconstructors.patch, hibernate-fixjavadoc.patch
>
>
> RegionFactory's class Javadoc says:
>  * Implementors should define a constructor in one of two forms:<ul>
>  * <li>MyRegionFactoryImpl({@link java.util.Properties})</li>
>  * <li>MyRegionFactoryImpl()</li>
>  * </ul>
> but SettingsFactory.createRegionFactory only looks for the one that takes a Properties class.
> This is relatively minor, I don't think 'fixing' this by just correcting the javadoc is really that big a deal but have patches for both ways.

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