[prev in list] [next in list] [prev in thread] [next in thread] 

List:       ojb-user
Subject:    Re: OjbDoclet inheritance question
From:       "Stijn de Witt" <Stijn.deWitt () bergland-it ! nl>
Date:       2004-04-27 16:12:57
Message-ID: 002b01c42c72$822dccb0$6502a8c0 () storm
[Download RAW message or body]

OK! That seemed to do the Trick. Thanks again!
-Stijn

----- Original Message ----- 
From: "Stijn de Witt" <Stijn.deWitt@bergland-it.nl>
To: "OJB Users List" <ojb-user@db.apache.org>
Sent: Tuesday, April 27, 2004 6:06 PM
Subject: Re: OjbDoclet inheritance question


> Thanks, Tom, I'll try that!
> -Stijn
>
>
> ----- Original Message ----- 
> From: "Thomas Dudziak" <tomdz@first.gmd.de>
> To: "OJB Users List" <ojb-user@db.apache.org>
> 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: ojb-user-unsubscribe@db.apache.org
> > For additional commands, e-mail: ojb-user-help@db.apache.org
> >
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: ojb-user-unsubscribe@db.apache.org
> For additional commands, e-mail: ojb-user-help@db.apache.org
>


---------------------------------------------------------------------
To unsubscribe, e-mail: ojb-user-unsubscribe@db.apache.org
For additional commands, e-mail: ojb-user-help@db.apache.org

[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic