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

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


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


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