In migrating from 
Hibernate 2.17 to 3.0 I find I can no longer generate classes that make use of 
UserType and corresponding user-defined enumerations.
The pattern I was using (with Hibernate 2.17) is described at the following URL:  
http://www.hibernate.org/172.html
Unfortunately, when switching over to version 3  the legacy tool 
Hbm2JavaTask no longer seems to generate the appropriate persistant classes that utilize my Custom Enumerations.
I realize the 
UserType interface requires additional method implementations and I have implemented them accordingly.  However, the persistant classes that are generated from .hbm.xml schemas are not being properly mapped with the correct enumeration attributes.
SchemaExportTask consequently fails also.
Any help would be appreciated.  
-JCB