[hibernate-issues] [Hibernate-JIRA] Created: (HHH-6294) use enum instead of constant

Strong Liu (JIRA) noreply at atlassian.com
Mon Jun 6 12:11:24 EDT 2011


use enum instead of constant
----------------------------

                 Key: HHH-6294
                 URL: http://opensource.atlassian.com/projects/hibernate/browse/HHH-6294
             Project: Hibernate Core
          Issue Type: Improvement
          Components: core
            Reporter: Strong Liu
            Assignee: Strong Liu


to keep compatibility, hibernate core uses constant (int, String) for representing enumerated types, now since hibernate core 4 has moved to jdk 6, so it is time to move to Enum

FYI:
- before hibernate 3.5 --- *JDK 1.4*
- hibernate 3.6 --- *JDK 1.5*
- hibernate 4 --- *JDK 6*

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