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]

Reply via email to