Thanks, Tom, I'll try that!
-Stijn

----- Original Message ----- 
From: "Thomas Dudziak" <[EMAIL PROTECTED]>
To: "OJB Users List" <[EMAIL PROTECTED]>
Sent: Tuesday, April 27, 2004 5:25 PM
Subject: Re: OjbDoclet inheritance question


> On Tue, 27 Apr 2004, Stijn de Witt wrote:
>
> > Hi, I'm trying to get inheritance working with OJB. I want to use the
most
> > complex (but also most versatile) method, multiple joined tables. Here
are
> > my classes:
>
> Try putting the anonymous reference ('super') in the class' javadoc
> comment, e.g.:
>
> /**
>  * @ojb.class table="bit_Candidate"
>  *            include-inherited="false"
>  * @ojb.reference class-ref="nl.bergland.codamo.Person"
>  *                name="super"
>  *                foreignkey="id"
>  *                auto-retrieve="true"
>  *                auto-update="true"
>  *                auto-delete="true"
>  */
> public class Candidate extends Person
> {
>     ...
>
> 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