-->
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 ignore joined-subclass
PostPosted: Thu Nov 13, 2003 6:16 pm 
Beginner
Beginner

Joined: Sun Sep 21, 2003 12:19 am
Posts: 40
Hi I seemed to have problem with Xdoctlet generate joined-subclass. It basically ignored my class here.

Here is the class
/**
* @hibernate.joined-subclass
* table="child2Table"
* proxy = "testOR.IChild"
* @hibernate.joined-subclass-key
* column="sub_id"
*/

public class Child1Impl extends ChildImpl {
....

Here is the ant
<hibernatedoclet destdir="${dest}" excludedtags="@version,@author,@todo,@see">
<fileset dir="${src}">
<include name="testOR/*.java" />
</fileset>
<hibernate version="2.0" />
</hibernatedoclet>

I am using Xdoctlet 1.2 beta 3. Anything abnormal here?
Thanks.


Top
 Profile  
 
 Post subject: Re: XDoclet ignore joined-subclass
PostPosted: Fri Nov 14, 2003 7:43 pm 
Beginner
Beginner

Joined: Sun Sep 21, 2003 12:19 am
Posts: 40
Due to lack of reply, I have to talk to myself :-( But better yet, this is open source and I can dig it out myself.

Here is what I found: Xdoctlet will ignore all those classes not specifying @hibernate.class at header regardless of version. So the answer is 'You can not declare @hibernate.joined-subclass as root of the decorator!'

To me Xdoctlet is very fragile, so in order to leverage this powerful hibernate feature we have to resort back to hand code mapping file which I don't mind.


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.