Thanks for the email. I realized after I sent it that my solution was not
the most elegant.

Now, I would like to prepare my code in advance for the changes you make to
make it work for defining changes to attributes of elements already defined
in base types. How does one specify that type of field description to
differentiate it from being an anonymous field? Will you still define it in
the class comment, and mark the access as not anonymous, or will you define
it somewhere else?

Thanks

Andrew

-----Original Message-----
From: Thomas Dudziak [mailto:[EMAIL PROTECTED] 
Sent: Thursday, September 11, 2003 5:20 AM
To: OJB Users List
Subject: RE: Xdoclet: How to use base-class properties with different column
names in children?


It seems you've found a bug in the module. The ability to define fields etc.
in the class javadoc comment is provided to accomplish two things. The first
one is to define anonymous fields and relations. This works. The second one
is to change attributes of elements already defined in base types. This is
your case, and it seems to be not working properly. Your solution however
does not handle the actual problem but only works in your case. I will have
a look at it and fix it ASAP. As for the source code, sadly the module is
still not part of the xdoclet CVS, but you can grab the source from the
xdoclet JIRA space (entry XDT-514 if I'm not mistaken, see the xdoclet page
for details), though the version there is rather old. The next update the
module will come in a couple of days, and then I will update the source code
in JIRA, as well.

Tom


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to