[hibernate-issues] [Hibernate-JIRA] Created: (HHH-3145) HbmBinder is used with static methods

Ali Ibrahim (JIRA) noreply at atlassian.com
Thu Feb 28 17:22:32 EST 2008


HbmBinder is used with static methods
-------------------------------------

                 Key: HHH-3145
                 URL: http://opensource.atlassian.com/projects/hibernate/browse/HHH-3145
             Project: Hibernate3
          Issue Type: Improvement
          Components: core
    Affects Versions: 3.2.6
            Reporter: Ali Ibrahim
            Priority: Minor


HbmBinder is used in a static manner. This makes it impossible to changed how the configuration file is read without copying all the classes that call HbmBinder. Fix is to make all the static methods on HbmBinder instance methods and change external references to call instance methods on shared HbmBinder. Static methods are usually evil anyway :).


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