Hibernate.enum is scheduled for removal in 2.2; can this happen soon?
enum is a reserved word in java 1.5 and above.

Affected classes are:

net.sf.hibernate.Hibernate
      enum method declaration (deprecated)
            remove method.

net.sf.hibernate.impl.AbstractQueryImpl
   used in setEnum methods (deprecated)
      remove methods from AbstractQueryImpl and Query

net.sf.hibernate.type.TypeFactory
   used in heuristicType to construct deprecated class
      remove if clause

-----
enum also occurs in net.sf.hibernate.cfg.Configuration
   used in addJar as variable name
      rename variable to Enumeration
----

Is there JIRA set up for Hibernate3? Patches for above changes are at http://www.ibiblio.org/ses/enum-patches.txt

Simon



-------------------------------------------------------
This SF.Net email sponsored by Black Hat Briefings & Training.
Attend Black Hat Briefings & Training, Las Vegas July 24-29 - digital self defense, top technical experts, no vendor pitches, unmatched networking opportunities. Visit www.blackhat.com
_______________________________________________
hibernate-devel mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/hibernate-devel

Reply via email to