-->
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: Custom (EnumType) as Discrim w Anonotations
PostPosted: Tue Jan 30, 2007 12:48 am 
Newbie

Joined: Wed Jan 17, 2007 9:48 pm
Posts: 9
Hi,

Does anyone know how to use a type other than STRING, INTEGER or CHAR as the discriminator type when defining using annotations. Currently we use hbm.xml files and all seems to be working ok but we'd like to make the POJOs the source of truth instead and so annotations is where we'd like to go however currently we use discriminators on a CustomType (EnumType) and on boolean neither which it seems is possible to map under annotations.

Is there a way?


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.