-->
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: Relation m:n and inheritance
PostPosted: Sun Jan 23, 2005 1:15 pm 
Newbie

Joined: Sun Jan 23, 2005 1:01 pm
Posts: 1
Hello Guys

I have the following problem:

I have three classes
class a, class b and c.
class b and class c extends class a
so I have b(a) and c(a)... (superclass)

I want to persistand the class b and class c
that is no Problem.
But in class a There are two lists: parents and childs.
In each list are objects of class a.
How can I create a mappingtable.
I use xdoclet for generating the *.hbm.xlm files.
I put the xdoclet code into Class a for getParents and getChilds.
But the ANT script does generate a xml file for class b and class c, only.

Pleas help me,
thank you


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.