Ok, great. That is exactly how I have it. As we discussed before that is not working, so I will patiently wait for your fix for this.
I really do appreciate your work and effort in this! Thanks again! -Andrew -----Original Message----- From: Thomas Dudziak [mailto:[EMAIL PROTECTED] Sent: 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, 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 class - and then the @ojb.field in the class javadoc comment in the subclass will automatically override the base class tag for the subclass. E.g. class BusinessObject { /** * @ojb.field column="guid" */ protected String guid; } /** * @ojb.class * @ojb.field name="guid" * column="dog_guid" */ class Dog extends BusinessObject { } 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]
