-->
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: Set with entities from several tables
PostPosted: Sat Mar 27, 2004 3:08 pm 
Newbie

Joined: Sat Mar 27, 2004 2:43 pm
Posts: 5
Hello,

I have an one-to-many association from entity E1 to entity E2.

<set name="mySet">
<key>
<column name="FK1"/>
<column name="FK2"/>
</key>
<one-to-many class="E2"/>
</set>


This is the logical association. In the real world, I'm gonna add E2 subclasses inside mySet, like E2a, E2b ....

How can I do that ?

thanks
Alexandre Gomes


Top
 Profile  
 
 Post subject:
PostPosted: Sun Mar 28, 2004 8:32 am 
Newbie

Joined: Sat Mar 27, 2004 2:43 pm
Posts: 5
I got it! Just read the Inheritance chapter. Sorry


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.