RE: Xdoclet: How to use base-class properties with different colu mn names in children?

2003-09-12 Thread Clute, Andrew
: Friday, September 12, 2003 5:14 AM To: OJB Users List Subject: RE: Xdoclet: How to use base-class properties with different colu mn names in children? A field declared in the class javadoc comment is only then not anonymous if there is a tagged field with that name in a base class of that class. So

RE: Xdoclet: How to use base-class properties with different colu mn names in children?

2003-09-12 Thread Andy Czerwonka
Outstanding On Fri, 2003-09-12 at 05:58, Thomas Dudziak wrote: > Yes, both the repository descriptor (aka repository_user.xml) and the > table schema (for Torque which then generates the tables in your > database) are generated by the xdoclet ojb module. > If you want to try it out, grab OJB f

RE: Xdoclet: How to use base-class properties with different colu mn names in children?

2003-09-12 Thread Thomas Dudziak
Yes, both the repository descriptor (aka repository_user.xml) and the table schema (for Torque which then generates the tables in your database) are generated by the xdoclet ojb module. If you want to try it out, grab OJB from CVS and look into the contrib folder. There you'll find the module along

RE: Xdoclet: How to use base-class properties with different colu mn names in children?

2003-09-12 Thread Andy Czerwonka
I'd love to learn how your using XDoclet with OJB. Are you generating both the DDL and the repository? On Fri, 2003-09-12 at 03:13, Thomas Dudziak wrote: > A field declared in the class javadoc comment is only then not anonymous > if there is a tagged field with that name in a base class of that

RE: Xdoclet: How to use base-class properties with different colu mn names in children?

2003-09-12 Thread Thomas Dudziak
A field declared in the class javadoc comment is only then not anonymous if there is a tagged field with that name in a base class of that class. So, you simply tag the field with @ojb.field in your base class (BusinessObject if I remember correctly) - this does not require that you also tag the cl

RE: Xdoclet: How to use base-class properties with different colu mn names in children?

2003-09-11 Thread Clute, Andrew
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