| Test case for checking the management of references, handling of PK used as FK too.
In this test the PK of
org.apache.ojb.broker.PrimaryKeyForeignKeyTest.Person is a FK to
org.apache.ojb.broker.PrimaryKeyForeignKeyTest.PersonDetail too.
Person has a reference to PersonDetail, the PK of Person is the FK to PersonDetail too!!
PersonDetail PK is not autoincremented we have to set the PK of Person
NOTE: Don't change metadata in production environments in such a way. All made changes are global
changes and visible to all threads.
author: Armin Waibel version: $Id: PrimaryKeyForeignKeyTest.java,v 1.2 2004/06/22 18:16:22 arminw Exp $ |