-->
These old forums are deprecated now and set to read-only. We are waiting for you on our new forums!
More modern, Discourse-based and with GitHub/Google/Twitter authentication built-in.

All times are UTC - 5 hours [ DST ]



Forum locked This topic is locked, you cannot edit posts or make further replies.  [ 1 post ] 
Author Message
 Post subject: UserType Enumeration problem when migrating to Hibernate 3.0
PostPosted: Tue Jun 07, 2005 7:05 pm 
Newbie

Joined: Wed Jan 19, 2005 5:26 pm
Posts: 3
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


Top
 Profile  
 
Display posts from previous:  Sort by  
Forum locked This topic is locked, you cannot edit posts or make further replies.  [ 1 post ] 

All times are UTC - 5 hours [ DST ]


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum

Search for:
© Copyright 2014, Red Hat Inc. All rights reserved. JBoss and Hibernate are registered trademarks and servicemarks of Red Hat, Inc.