The "We" instance loaded from db has "master_id" property set correctly, but the "we" property is null.
public class Subject
{
/**
* Artificial ID key holder
*
* @ojb.field nullable="false"
* autoincrement="ojb"
* primarykey="true"
*/
private int a_id; /**
* Creates _invalid_ instance
* Behavior will be unpredictable until properties are filled.
*/
public Subject()
{
}
}public class We
{
/** Creates a new instance of We */
public We()
{
} /**
* @ojb.reference class-ref="test.Subject"
* foreignkey="master_id"
* auto-retrieve="true"
* auto-update="true"
* auto-delete="true"
*/
public Subject we; /**
* Referential ID key holder
* Primary key, becouse only marks
*
* @ojb.field nullable="false"
* primarykey="true"
*/
private int master_id;
}Thanks! David
--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
