-->
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: Constraint List and custom generation
PostPosted: Wed Jul 21, 2010 9:23 am 
Newbie

Joined: Wed Jul 21, 2010 9:10 am
Posts: 1
Hello guys,

I've been using hbtools for a while and adapted hundreds of new templates for the needs of the projects I've been getting. Now there's a thing I can't do with hbtools, I have the following scenario:

  • A custom name strategy for our needs
  • Custom templates for create enumtypes when needed instead of creating two entities

Our database has check constraints on fields that should be enums, eg. a YesNoEnum is generated from field that is identified as a enum and it has a check as 'Y', 'N'.

The final step is to be able to read this constraint and generate the values of the enum, is it possible?


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.