-->
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: Reverse engineering enum
PostPosted: Sun Jun 20, 2010 12:31 pm 
Newbie

Joined: Wed Nov 25, 2009 9:32 am
Posts: 7
My scenario is the following. We use reverse engineering to generate both mapping and POJO files. It worked flawless, but now we have to create an enum, which holds the type of the event. An event then has a foreign key for the ID of that, and an enum in the POJO object. What can I do to achieve this? I have the table in the DB, but I need the generated enum also.
If there is no way to do that, then how can I write the mapping my own, I did not found any tutorial for this.


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.