-->
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.  [ 2 posts ] 
Author Message
 Post subject: custom value types and mapping
PostPosted: Thu Sep 16, 2004 8:36 am 
Newbie

Joined: Tue Sep 14, 2004 9:57 am
Posts: 7
Is there ways to put custom value types into a mapping for generating schema? Otherwise it's a obvious discrimination.
PS: Also it would be fine to be able to generate classes for them. Because actually in such simple cases all is obvious and code repeats itself if you have several such enum tables.


Top
 Profile  
 
 Post subject:
PostPosted: Fri Sep 17, 2004 8:58 am 
Newbie

Joined: Tue Sep 14, 2004 9:57 am
Posts: 7
Well, maybe the previous task is not such simple as seems. But then can someone says how to mark custom value type link with foreign key constraint? I tried declare both property and many-to-one but failed. What I thought else is foreign-key for column element or something like constrained but nothing is available.


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

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.