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
> 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]
--
andy
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]