--- Derek Shen <[EMAIL PROTECTED]> wrote:

> After I migrated from xdoclet1.2.3 to xdoclet2 (for
> Hibernate 3.0.5),
> several of my test cases failed.
> 
> Realized the problem is with Object inheritance
> hierarchie. The mapping file
> is not generated correctly.
> 
> The hierarchie I have is:
> 
> Class A -> Class B -> Class C -> Class D
> 
> Four level deep. Object A is the concrete class.
> Class B, C and D each
> contains some persistable fields.
> 
> In the mapping file of Class A, fields of Class A,
> Class C and Class D
> appears correctly. However, fileds of Class B are
> not there.
> 
> I tried to intentionally put some wrong attribute to
> the
> @hibernate.propertytag in Class B, exception thrown.
> It is definitely
> being parsed.
> 
> The mapping in Class B is very simple and the same
> mapping is working for
> xdoclet1.2.3?

That's really strange.  You mean,  that immediate
ancestor is not processed, but his ancestors are OK?

We have testcase:
http://cvs.sourceforge.net/viewcvs.py/xdoclet-plugins/xdoclet-plugins/plugin-hibernate/src/test/java/org/xdoclet/plugin/hibernate/hierarchy/

Which is not that deep ( but works ) , and im my
actual project I also use 4-level deep mapping without
problems. 

Can you show your complete hierarchy / invocation? 

> Hopefully, it is not a bug with xdoclet2.
> 

If this shall be a bug, it could be fixed pretty fast
in CVS.... At the moment we do not know the source fo
problem :) 

regards


----[ Konstantin Pribluda http://www.pribluda.de ]----------------
Still using XDoclet 1.x?  XDoclet 2 is released and of production quality.
check it out: http://xdoclet.codehaus.org


        
                
__________________________________ 
Yahoo! Mail - PC Magazine Editors' Choice 2005 
http://mail.yahoo.com

Reply via email to