-->
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.  [ 3 posts ] 
Author Message
 Post subject: Inheritance mapping with XDoclet
PostPosted: Fri Nov 14, 2003 1:55 pm 
Newbie

Joined: Thu Oct 23, 2003 1:43 pm
Posts: 10
Location: Calgary, Alberta Canada
I am having some problems getting XDoclet to generate the mapping I desire.

I have three java classes, one is a superclass of the other two. Each of the subclasses should map to their own database table, the superclass maps to no table at all but simply holds properties common to the two subclasses.

So I have used XDoclet to provide class and property mappings in the subclasses, the superclass has only property mappings. Then I generate the mapping files, but none of the properties that were mapped in the super class show up in either of the subclass mapping files.

Can anyone provide some help? Perhaps I am missing something obvious, it is a Friday after all....


Top
 Profile  
 
 Post subject:
PostPosted: Wed Nov 26, 2003 1:22 pm 
Did you get an resolution to this?
I have the same problem - a number of classes each with a different table but common properties in a base class.


Top
  
 
 Post subject:
PostPosted: Wed Nov 26, 2003 2:31 pm 
Beginner
Beginner

Joined: Tue Nov 25, 2003 3:33 pm
Posts: 35
One possible porblem might be, that your Parent class is not seen by XDoclet. Make absolutely sure that your Parent is seen by XDoclet and not javac or some other subtask.

Alex.


Top
 Profile  
 
Display posts from previous:  Sort by  
Forum locked This topic is locked, you cannot edit posts or make further replies.  [ 3 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.