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

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


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

Strong Liu resolved HHH-6294.
-----------------------------

       Resolution: Fixed
    Fix Version/s: 4.0.0.Beta1

> 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
>             Fix For: 4.0.0.Beta1
>
>
> 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