-->
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: many-to-one for abstract classes
PostPosted: Fri Jan 23, 2004 6:36 pm 
Newbie

Joined: Fri Jan 23, 2004 6:33 pm
Posts: 4
I have an class that references another class, I woud like to implement using the <many-ton-one> tag. The referenced class however is abstract and thus I do not wish to create a table for it, only its concrete subclasses. How can I encode this many-to-one mapping using a discriminator todescribe the sub-class actually referenced?

thanks,

C>T>


Top
 Profile  
 
 Post subject:
PostPosted: Fri Jan 23, 2004 6:49 pm 
Newbie

Joined: Fri Jan 23, 2004 6:33 pm
Posts: 4
after further search it seems tha an any-to-one mapping might do it though i am unclear as to how to implement this.
any advice would be appreciated.

thanks,

C>T>


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.