-->
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: XDoclet, table-per-hierarchy mapping with interface as super
PostPosted: Wed Aug 04, 2004 3:22 pm 
Beginner
Beginner

Joined: Thu Jul 01, 2004 1:30 pm
Posts: 20
Location: Tucson, AZ
I am clear about manually writing hbm.xml mapping (http://www.hibernate.org/hib_docs/refer ... tance.html). But I have problem doing with XDoclet.

When using an abstract class (with ID implemented in it) as super class of several subclasses, the XDoclet is working very well.

But if I want to use an interface as the super class, using XDoclet to generate .hbm.xml is not working. Is there any difference between using interface or abstract class as super class when doing the table-per-hierarchy mapping with XDoclet (not manually writing .hbm.xml)? I did not find any such example on web.

Thank you.


Top
 Profile  
 
 Post subject:
PostPosted: Wed Aug 04, 2004 4:49 pm 
Beginner
Beginner

Joined: Thu Jul 01, 2004 1:30 pm
Posts: 20
Location: Tucson, AZ
Problem solved!

It is a XDoclet bug. I found the fix at http://opensource.atlassian.com/project ... 7?page=all

Thanks anyway!


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.