db-ojb-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From arm...@apache.org
Subject cvs commit: db-ojb/src/test/org/apache/ojb repository_junit_inheritance.xml repository.xml repository_junit.xml
Date Wed, 13 Oct 2004 16:48:28 GMT
arminw      2004/10/13 09:48:28

  Modified:    src/schema Tag: OJB_1_0_RELEASE ojbtest-schema.xml
               src/test/org/apache/ojb/broker Tag: OJB_1_0_RELEASE
                        AllTests.java InheritanceMultipleTableTest.java
               src/test/org/apache/ojb Tag: OJB_1_0_RELEASE repository.xml
                        repository_junit.xml
  Added:       src/test/org/apache/ojb Tag: OJB_1_0_RELEASE
                        repository_junit_inheritance.xml
  Log:
  add new test testing inheritance, multiple joined tables
  reorder tests
  add new sub-xml file
  
  Revision  Changes    Path
  No                   revision
  No                   revision
  1.80.2.3  +6 -1      db-ojb/src/schema/ojbtest-schema.xml
  
  Index: ojbtest-schema.xml
  ===================================================================
  RCS file: /home/cvs/db-ojb/src/schema/ojbtest-schema.xml,v
  retrieving revision 1.80.2.2
  retrieving revision 1.80.2.3
  diff -u -r1.80.2.2 -r1.80.2.3
  --- ojbtest-schema.xml	28 Sep 2004 14:13:49 -0000	1.80.2.2
  +++ ojbtest-schema.xml	13 Oct 2004 16:48:27 -0000	1.80.2.3
  @@ -1176,6 +1176,11 @@
       <!-- =================================================== -->
       <!-- Mapping Classes on Multiple Joined Tables test      -->
       <!-- =================================================== -->
  +    <table name="INHERITANCE_MULTI_COMPANY">
  +        <column name="OBJ_ID" required="true" primaryKey="true" type="DECIMAL"/>
  +        <column name="NAME" type="VARCHAR" size="150"/>
  +    </table>
  +
       <table name="INHERITANCE_MULTI_EMPLOYEE">
           <column name="OBJ_ID" required="true" primaryKey="true" type="INTEGER"/>
           <column name="OBJ_ID_2" required="true" primaryKey="true" type="DECIMAL" size="15,0"/>
  
  
  
  No                   revision
  No                   revision
  1.49.2.1  +5 -5      db-ojb/src/test/org/apache/ojb/broker/AllTests.java
  
  Index: AllTests.java
  ===================================================================
  RCS file: /home/cvs/db-ojb/src/test/org/apache/ojb/broker/AllTests.java,v
  retrieving revision 1.49
  retrieving revision 1.49.2.1
  diff -u -r1.49 -r1.49.2.1
  --- AllTests.java	26 Jun 2004 00:22:25 -0000	1.49
  +++ AllTests.java	13 Oct 2004 16:48:27 -0000	1.49.2.1
  @@ -44,7 +44,6 @@
           suite.addTestSuite(PolymorphicExtents.class);
           suite.addTestSuite(TreeTest.class);
           suite.addTestSuite(TypedCollectionsTest.class);
  -        suite.addTestSuite(MtoNMapping.class);
           suite.addTestSuite(AutomaticForeignKeys.class);
           suite.addTestSuite(OptimisticLockingTest.class);
           suite.addTestSuite(GraphTest.class);
  @@ -85,20 +84,21 @@
           suite.addTestSuite(NativeIdentifierTest.class);
           suite.addTestSuite(AnonymousFieldsTest.class);
           suite.addTestSuite(AbstractExtentClassTest.class);
  -        suite.addTestSuite(MtoNTest.class);
           suite.addTestSuite(NestedFieldsTest.class);
           suite.addTestSuite(ReadonlyTest.class);
           suite.addTestSuite(ReferenceMapTest.class);
           suite.addTestSuite(MultithreadedReadTest.class);
  -        suite.addTestSuite(InheritanceMultipleTableTest.class);
  -        suite.addTestSuite(M2NTest.class);
           suite.addTestSuite(CollectionTest2.class);
           suite.addTestSuite(NumberAccuracyTest.class);
           suite.addTestSuite(AutoIncrementTest.class);
           suite.addTestSuite(PathTest.class);
           suite.addTestSuite(PrimaryKeyForeignKeyTest.class);
  -        suite.addTestSuite(M2NGraphTest.class);
           suite.addTestSuite(PersistentFieldTest.class);
  +        suite.addTestSuite(InheritanceMultipleTableTest.class);
  +        suite.addTestSuite(M2NGraphTest.class);
  +        suite.addTestSuite(MtoNMapping.class);
  +        suite.addTestSuite(MtoNTest.class);
  +        suite.addTestSuite(M2NTest.class);
           return suite;
       }
   
  
  
  
  1.7.2.2   +121 -7    db-ojb/src/test/org/apache/ojb/broker/InheritanceMultipleTableTest.java
  
  Index: InheritanceMultipleTableTest.java
  ===================================================================
  RCS file: /home/cvs/db-ojb/src/test/org/apache/ojb/broker/InheritanceMultipleTableTest.java,v
  retrieving revision 1.7.2.1
  retrieving revision 1.7.2.2
  diff -u -r1.7.2.1 -r1.7.2.2
  --- InheritanceMultipleTableTest.java	27 Jul 2004 00:31:50 -0000	1.7.2.1
  +++ InheritanceMultipleTableTest.java	13 Oct 2004 16:48:27 -0000	1.7.2.2
  @@ -17,9 +17,9 @@
   import org.apache.ojb.junit.PBTestCase;
   
   /**
  - * This test check inheritance using multiple tables. The test objects use
  - * a composite PK. One autoincrement PK field - Integer. One non-autoincrement PK field
  - * with manually set PK- Long.
  + * These tests check inheritance using multiple tables via 1:1 reference and "super" keyword in
  + * reference descriptor. The test objects use a composite PK.
  + * One autoincrement PK field - Integer. One non-autoincrement PK field with manually set PK- Long.
    *
    * @author <a href="mailto:arminw@apache.org">Armin Waibel</a>
    * @version $Id$
  @@ -31,13 +31,79 @@
           junit.textui.TestRunner.main(new String[]{InheritanceMultipleTableTest.class.getName()});
       }
   
  +    public void testInheritancedObjectsInCollectionReferences()
  +    {
  +        long timestamp = System.currentTimeMillis();
  +        Long id_2 = new Long(timestamp);
  +        String name = "testInheritancedObjectsInCollectionReferences_" + timestamp;
  +        Manager m_1 = new Manager(id_2, name + "_manager_1");
  +        Manager m_2 = new Manager(id_2, name + "_manager_2");
  +        Manager m_3 = new Manager(id_2, name + "_manager_3");
  +        m_3.setDepartment("none");
  +        Executive ex_1 = new Executive(id_2, name + "_executive", "department_1", null);
  +        Executive ex_2 = new Executive(id_2, name + "_executive", "department_1", null);
  +        Employee em = new Employee(id_2, name + "_employee");
  +
  +        ArrayList employees = new ArrayList();
  +        employees.add(m_1);
  +        employees.add(m_2);
  +        employees.add(m_3);
  +        employees.add(ex_1);
  +        employees.add(ex_2);
  +        employees.add(em);
  +
  +        Company company = new Company(id_2, name, employees);
  +        broker.beginTransaction();
  +        broker.store(company);
  +        broker.commitTransaction();
  +
  +        broker.clearCache();
  +        Criteria crit = new Criteria();
  +        crit.addEqualTo("id", id_2);
  +        Query query = QueryFactory.newQuery(Company.class, crit);
  +        Collection result = broker.getCollectionByQuery(query);
  +        assertEquals(1, result.size());
  +        Company newCompany = (Company) result.iterator().next();
  +        List newEmployees = newCompany.getEmployees();
  +        assertNotNull(newEmployees);
  +        assertEquals(employees.size(), newEmployees.size());
  +        int countEmployee = 0;
  +        int countExecutive = 0;
  +        int countManager = 0;
  +        for(int i = 0; i < newEmployees.size(); i++)
  +        {
  +            Object o =  newEmployees.get(i);
  +            if(o instanceof Employee)
  +            {
  +                ++countEmployee;
  +            }
  +            if(o instanceof Executive)
  +            {
  +                ++countExecutive;
  +            }
  +            if(o instanceof Manager)
  +            {
  +                ++countManager;
  +            }
  +        }
  +        assertEquals(6, countEmployee);
  +        /*
  +        bug:
  +        expect that the real classes will be populated
  +        currently this does not happen, only objects of
  +        type Employee will be returned.
  +        */
  +        assertEquals(5, countExecutive);
  +        assertEquals(3, countManager);
  +    }
  +
       public void testObjectExistence()
       {
           Manager target_1 = new Manager(new Long(1), "testObjectExistence");
           Manager target_2 = new Manager(new Long(System.currentTimeMillis()), "testObjectExistence");
   
  -        Identity oid_1 = new Identity(target_1, broker);
  -        Identity oid_2 = new Identity(target_2, broker);
  +        Identity oid_1 = broker.serviceIdentity().buildIdentity(target_1);
  +        Identity oid_2 = broker.serviceIdentity().buildIdentity(target_2);
   
           ClassDescriptor cld = broker.getClassDescriptor(Manager.class);
   
  @@ -51,7 +117,7 @@
       {
           long timestamp = System.currentTimeMillis();
           Long id_2 = new Long(timestamp);
  -        String name = "testInsert" + timestamp;
  +        String name = "testStoreUpdateQuerySerialized_" + timestamp;
           Manager m_1 = new Manager(id_2, name + "_manager_1");
           Manager m_2 = new Manager(id_2, name + "_manager_2");
           Manager m_3 = new Manager(id_2, name + "_manager_3");
  @@ -668,5 +734,53 @@
           public String getStreet();
   
           public void setStreet(String street);
  +    }
  +
  +    public static class Company
  +    {
  +        private Long id;
  +        private String name;
  +        private List  employees;
  +
  +        public Company()
  +        {
  +        }
  +
  +        public Company(Long id, String name, List employees)
  +        {
  +            this.id = id;
  +            this.name = name;
  +            this.employees = employees;
  +        }
  +
  +        public Long getId()
  +        {
  +            return id;
  +        }
  +
  +        public void setId(Long id)
  +        {
  +            this.id = id;
  +        }
  +
  +        public String getName()
  +        {
  +            return name;
  +        }
  +
  +        public void setName(String name)
  +        {
  +            this.name = name;
  +        }
  +
  +        public List getEmployees()
  +        {
  +            return employees;
  +        }
  +
  +        public void setEmployees(List employees)
  +        {
  +            this.employees = employees;
  +        }
       }
   }
  
  
  
  No                   revision
  No                   revision
  1.26.2.1  +2 -0      db-ojb/src/test/org/apache/ojb/repository.xml
  
  Index: repository.xml
  ===================================================================
  RCS file: /home/cvs/db-ojb/src/test/org/apache/ojb/repository.xml,v
  retrieving revision 1.26
  retrieving revision 1.26.2.1
  diff -u -r1.26 -r1.26.2.1
  --- repository.xml	25 Jun 2004 14:49:40 -0000	1.26
  +++ repository.xml	13 Oct 2004 16:48:27 -0000	1.26.2.1
  @@ -48,6 +48,7 @@
   <!ENTITY junit_cache SYSTEM "repository_junit_cache.xml">
   <!ENTITY junit_model SYSTEM "repository_junit_model.xml">
   <!ENTITY junit_cloneable SYSTEM "repository_junit_cloneable.xml">
  +<!ENTITY junit_inheritance SYSTEM "repository_junit_inheritance.xml">
   <!ENTITY junit_pathClass SYSTEM "repository_junit_pathClass.xml">
   
   <!ENTITY user SYSTEM "repository_user.xml">
  @@ -79,6 +80,7 @@
       &junit_cache;
       &junit_model;
       &junit_cloneable;
  +    &junit_inheritance;
       &junit_pathClass;
   
       <!-- include mappings for the EJB-examples -->
  
  
  
  1.112.2.4 +1 -678    db-ojb/src/test/org/apache/ojb/repository_junit.xml
  
  Index: repository_junit.xml
  ===================================================================
  RCS file: /home/cvs/db-ojb/src/test/org/apache/ojb/repository_junit.xml,v
  retrieving revision 1.112.2.3
  retrieving revision 1.112.2.4
  diff -u -r1.112.2.3 -r1.112.2.4
  --- repository_junit.xml	13 Aug 2004 14:23:54 -0000	1.112.2.3
  +++ repository_junit.xml	13 Oct 2004 16:48:27 -0000	1.112.2.4
  @@ -1876,547 +1876,6 @@
    <!-- end mappings for contract-version-effectiveness -->
   
   
  -<!-- =================================================== -->
  -<!-- Mapping Classes on Multiple Joined Tables test      -->
  -<!-- =================================================== -->
  -<class-descriptor
  -	class="org.apache.ojb.broker.InheritanceMultipleTableTest$Employee"
  -	table="INHERITANCE_MULTI_EMPLOYEE"
  - >
  -    <field-descriptor
  -        name="id"
  -        column="OBJ_ID"
  -        jdbc-type="INTEGER"
  -        primarykey="true"
  -        autoincrement="true"
  -    />
  -    <field-descriptor
  -        name="id_2"
  -        column="OBJ_ID_2"
  -        jdbc-type="BIGINT"
  -        primarykey="true"
  -        autoincrement="false"
  -    />
  -    <field-descriptor
  -        name="name"
  -        column="NAME"
  -        jdbc-type="VARCHAR"
  -    />
  -
  -    <field-descriptor
  -        name="fkAddress"
  -        column="FK_ADDRESS"
  -        jdbc-type="INTEGER"
  -        access="anonymous"
  -    />
  -
  -    <reference-descriptor name="address"
  -        class-ref="org.apache.ojb.broker.InheritanceMultipleTableTest$Address"
  -        auto-retrieve="true"
  -        auto-update="object"
  -        auto-delete="object"
  -    >
  -        <foreignkey field-ref="fkAddress" />
  -    </reference-descriptor>
  -</class-descriptor>
  -
  -<class-descriptor
  -	class="org.apache.ojb.broker.InheritanceMultipleTableTest$Executive"
  -	table="INHERITANCE_MULTI_EXECUTIVE"
  - >
  -    <field-descriptor
  -        name="id"
  -        column="OBJ_ID"
  -        jdbc-type="INTEGER"
  -        primarykey="true"
  -        autoincrement="true"
  -    />
  -    <field-descriptor
  -        name="id_2"
  -        column="OBJ_ID_2"
  -        jdbc-type="BIGINT"
  -        primarykey="true"
  -        autoincrement="false"
  -    />
  -    <field-descriptor
  -        name="department"
  -        column="DEPARTMENT"
  -        jdbc-type="VARCHAR"
  -    />
  -    <field-descriptor
  -        name="superId"
  -        column="SUPER_ID"
  -        jdbc-type="INTEGER"
  -        access="anonymous"
  -    />
  -    <field-descriptor
  -        name="superId_2"
  -        column="SUPER_ID_2"
  -        jdbc-type="BIGINT"
  -        access="anonymous"
  -    />
  -
  -    <field-descriptor
  -        name="managerId"
  -        column="MANAGER_ID"
  -        jdbc-type="INTEGER"
  -        access="anonymous"
  -    />
  -    <field-descriptor
  -        name="managerId_2"
  -        column="MANAGER_ID_2"
  -        jdbc-type="BIGINT"
  -        access="anonymous"
  -    />
  -
  -    <reference-descriptor name="super"
  -        class-ref="org.apache.ojb.broker.InheritanceMultipleTableTest$Employee"
  -        auto-retrieve="true"
  -        auto-update="object"
  -        auto-delete="object"
  -    >
  -        <foreignkey field-ref="superId" />
  -        <foreignkey field-ref="superId_2" />
  -    </reference-descriptor>
  -
  -    <reference-descriptor name="manager"
  -        class-ref="org.apache.ojb.broker.InheritanceMultipleTableTest$Manager"
  -        auto-retrieve="false"
  -        auto-update="none"
  -        auto-delete="none"
  -    >
  -        <foreignkey field-ref="managerId" />
  -        <foreignkey field-ref="managerId_2" />
  -    </reference-descriptor>
  -</class-descriptor>
  -
  -<class-descriptor
  -	class="org.apache.ojb.broker.InheritanceMultipleTableTest$Manager"
  -	table="INHERITANCE_MULTI_MANAGER"
  - >
  -    <field-descriptor
  -        name="id"
  -        column="OBJ_ID"
  -        jdbc-type="INTEGER"
  -        primarykey="true"
  -        autoincrement="true"
  -    />
  -    <field-descriptor
  -        name="id_2"
  -        column="OBJ_ID_2"
  -        jdbc-type="BIGINT"
  -        primarykey="true"
  -        autoincrement="false"
  -    />
  -    <field-descriptor
  -        name="superId"
  -        column="SUPER_ID"
  -        jdbc-type="INTEGER"
  -        access="anonymous"
  -    />
  -    <field-descriptor
  -        name="superId_2"
  -        column="SUPER_ID_2"
  -        jdbc-type="BIGINT"
  -        access="anonymous"
  -    />
  -
  -    <reference-descriptor name="super"
  -        class-ref="org.apache.ojb.broker.InheritanceMultipleTableTest$Executive"
  -        auto-retrieve="true"
  -        auto-update="object"
  -        auto-delete="object"
  -    >
  -        <foreignkey field-ref="superId" />
  -        <foreignkey field-ref="superId_2" />
  -    </reference-descriptor>
  -
  -    <collection-descriptor
  -        name="executives"
  -        element-class-ref="org.apache.ojb.broker.InheritanceMultipleTableTest$Executive"
  -        proxy="true"
  -        auto-retrieve="true"
  -        auto-update="object"
  -        auto-delete="object"
  -    >
  -            <inverse-foreignkey field-ref="managerId"/>
  -            <inverse-foreignkey field-ref="managerId_2"/>
  -    </collection-descriptor>
  -</class-descriptor>
  -
  -<class-descriptor
  -	class="org.apache.ojb.broker.InheritanceMultipleTableTest$Address"
  -	table="INHERITANCE_MULTI_ADDRESS"
  - >
  -    <field-descriptor
  -        name="id"
  -        column="OBJ_ID"
  -        jdbc-type="INTEGER"
  -        primarykey="true"
  -        autoincrement="true"
  -    />
  -
  -    <field-descriptor
  -        name="street"
  -        column="STREET"
  -        jdbc-type="VARCHAR"
  -    />
  -</class-descriptor>
  -
  -
  -
  -<!-- ********************************************************** -->
  -<!-- testing for complex mapping of many objects to one table  -->
  -<!-- ********************************************************** -->
  - <class-descriptor
  -	class="org.apache.ojb.broker.ComplexMultiMapped$PersistentA"
  -	table="MultiMappedTable"
  - >
  -     <field-descriptor
  -        name="ID"
  -        column="ID"
  -        jdbc-type="INTEGER"
  -        primarykey="true"
  -        autoincrement="true"
  -     />
  -     <field-descriptor
  -       name="value1"
  -       column="value1"
  -       jdbc-type="VARCHAR"
  -     />
  -     <field-descriptor
  -        name="value2"
  -        column="value2"
  -        jdbc-type="INTEGER"
  -     />
  -     <field-descriptor
  -       name="value3"
  -       column="value3"
  -       jdbc-type="TIMESTAMP"
  -     />
  -     <field-descriptor
  -       name="ojbConcreteClass"
  -       column="ojbConcreteClass"
  -       jdbc-type="VARCHAR"
  -     />
  - </class-descriptor>
  -
  - <class-descriptor
  -	class="org.apache.ojb.broker.ComplexMultiMapped$PersistentB"
  -	table="MultiMappedTable"
  - >
  -     <extent-class class-ref="org.apache.ojb.broker.ComplexMultiMapped$PersistentD" />
  -     <extent-class class-ref="org.apache.ojb.broker.ComplexMultiMapped$PersistentE" />
  -     <field-descriptor
  -        name="ID"
  -        column="ID"
  -        jdbc-type="INTEGER"
  -        primarykey="true"
  -        autoincrement="true"
  -     />
  -     <field-descriptor
  -       name="value4"
  -       column="value4"
  -       jdbc-type="VARCHAR"
  -     />
  -     <field-descriptor
  -        name="value5"
  -        column="value5"
  -        jdbc-type="INTEGER"
  -     />
  -     <field-descriptor
  -       name="value6"
  -       column="value6"
  -       jdbc-type="TIMESTAMP"
  -     />
  -     <field-descriptor
  -       name="ojbConcreteClass"
  -       column="ojbConcreteClass"
  -       jdbc-type="VARCHAR"
  -     />
  - </class-descriptor>
  -
  -<class-descriptor
  -	class="org.apache.ojb.broker.ComplexMultiMapped$PersistentC"
  -	table="MultiMappedTable"
  - >
  -     <field-descriptor
  -        name="ID"
  -        column="ID"
  -        jdbc-type="INTEGER"
  -        primarykey="true"
  -        autoincrement="true"
  -     />
  -     <field-descriptor
  -       name="value1"
  -       column="value1"
  -       jdbc-type="VARCHAR"
  -     />
  -     <field-descriptor
  -        name="value2"
  -        column="value2"
  -        jdbc-type="INTEGER"
  -     />
  -     <field-descriptor
  -       name="value3"
  -       column="value3"
  -       jdbc-type="TIMESTAMP"
  -     />
  -     <field-descriptor
  -       name="value4"
  -       column="value4"
  -       jdbc-type="VARCHAR"
  -     />
  -     <field-descriptor
  -        name="value5"
  -        column="value5"
  -        jdbc-type="INTEGER"
  -     />
  -     <field-descriptor
  -       name="value6"
  -       column="value6"
  -       jdbc-type="TIMESTAMP"
  -     />
  -     <field-descriptor
  -       name="ojbConcreteClass"
  -       column="ojbConcreteClass"
  -       jdbc-type="VARCHAR"
  -     />
  - </class-descriptor>
  -
  -<class-descriptor
  -	class="org.apache.ojb.broker.ComplexMultiMapped$PersistentD"
  -	table="MultiMappedTable"
  - >
  -     <field-descriptor
  -        name="ID"
  -        column="ID"
  -        jdbc-type="INTEGER"
  -        primarykey="true"
  -        autoincrement="true"
  -     />
  -     <field-descriptor
  -       name="value1"
  -       column="value1"
  -       jdbc-type="VARCHAR"
  -     />
  -     <field-descriptor
  -        name="value2"
  -        column="value2"
  -        jdbc-type="INTEGER"
  -     />
  -     <field-descriptor
  -       name="value3"
  -       column="value3"
  -       jdbc-type="TIMESTAMP"
  -     />
  -     <field-descriptor
  -       name="value4"
  -       column="value4"
  -       jdbc-type="VARCHAR"
  -     />
  -     <field-descriptor
  -        name="value5"
  -        column="value5"
  -        jdbc-type="INTEGER"
  -     />
  -     <field-descriptor
  -       name="value6"
  -       column="value6"
  -       jdbc-type="TIMESTAMP"
  -     />
  -     <field-descriptor
  -       name="ojbConcreteClass"
  -       column="ojbConcreteClass"
  -       jdbc-type="VARCHAR"
  -     />
  - </class-descriptor>
  -
  -<class-descriptor
  -	class="org.apache.ojb.broker.ComplexMultiMapped$PersistentE"
  -	table="MultiMappedTable"
  - >
  -     <extent-class class-ref="org.apache.ojb.broker.ComplexMultiMapped$PersistentF" />
  -     <field-descriptor
  -        name="ID"
  -        column="ID"
  -        jdbc-type="INTEGER"
  -        primarykey="true"
  -        autoincrement="true"
  -     />
  -     <field-descriptor
  -       name="value1"
  -       column="value1"
  -       jdbc-type="VARCHAR"
  -     />
  -     <field-descriptor
  -        name="value2"
  -        column="value2"
  -        jdbc-type="INTEGER"
  -     />
  -     <field-descriptor
  -       name="value3"
  -       column="value3"
  -       jdbc-type="TIMESTAMP"
  -     />
  -     <field-descriptor
  -       name="value4"
  -       column="value4"
  -       jdbc-type="VARCHAR"
  -     />
  -     <field-descriptor
  -        name="value5"
  -        column="value5"
  -        jdbc-type="INTEGER"
  -     />
  -     <field-descriptor
  -       name="value6"
  -       column="value6"
  -       jdbc-type="TIMESTAMP"
  -     />
  -     <field-descriptor
  -       name="ojbConcreteClass"
  -       column="ojbConcreteClass"
  -       jdbc-type="VARCHAR"
  -     />
  - </class-descriptor>
  -
  -
  -<class-descriptor
  -	class="org.apache.ojb.broker.ComplexMultiMapped$PersistentF"
  -	table="MultiMappedTable"
  - >
  -     <field-descriptor
  -        name="ID"
  -        column="ID"
  -        jdbc-type="INTEGER"
  -        primarykey="true"
  -        autoincrement="true"
  -     />
  -     <field-descriptor
  -       name="value1"
  -       column="value1"
  -       jdbc-type="VARCHAR"
  -     />
  -     <field-descriptor
  -        name="value2"
  -        column="value2"
  -        jdbc-type="INTEGER"
  -     />
  -     <field-descriptor
  -       name="value3"
  -       column="value3"
  -       jdbc-type="TIMESTAMP"
  -     />
  -     <field-descriptor
  -       name="value4"
  -       column="value4"
  -       jdbc-type="VARCHAR"
  -     />
  -     <field-descriptor
  -        name="value5"
  -        column="value5"
  -        jdbc-type="INTEGER"
  -     />
  -     <field-descriptor
  -       name="value6"
  -       column="value6"
  -       jdbc-type="TIMESTAMP"
  -     />
  -     <field-descriptor
  -       name="ojbConcreteClass"
  -       column="ojbConcreteClass"
  -       jdbc-type="VARCHAR"
  -     />
  - </class-descriptor>
  -
  -
  -
  -<!-- ********************************************************** -->
  -<!-- testing for many extents to different tables with same base class -->
  -<!-- ********************************************************** -->
  -<class-descriptor class="org.apache.ojb.broker.MultipleTableExtentAwareQueryTest$BaseClass">
  -    <extent-class class-ref="org.apache.ojb.broker.MultipleTableExtentAwareQueryTest$ExtentA" />
  -    <extent-class class-ref="org.apache.ojb.broker.MultipleTableExtentAwareQueryTest$ExtentB" />
  -</class-descriptor>
  -
  -<class-descriptor
  -	class="org.apache.ojb.broker.MultipleTableExtentAwareQueryTest$ExtentA"
  -	table="EXTENT_TEST_A"
  - >
  -     <field-descriptor
  -        name="objId"
  -        column="OBJ_ID"
  -        jdbc-type="INTEGER"
  -        primarykey="true"
  -        autoincrement="true"
  -     />
  -     <field-descriptor
  -       name="name"
  -       column="NAME"
  -       jdbc-type="VARCHAR"
  -     />
  -</class-descriptor>
  -
  -<class-descriptor
  -	class="org.apache.ojb.broker.MultipleTableExtentAwareQueryTest$ExtentB"
  -	table="EXTENT_TEST_B"
  - >
  -    <extent-class class-ref="org.apache.ojb.broker.MultipleTableExtentAwareQueryTest$ExtentC" />
  -
  -    <field-descriptor
  -        name="objId"
  -        column="OBJ_ID"
  -        jdbc-type="INTEGER"
  -        primarykey="true"
  -        autoincrement="true"
  -     />
  -     <field-descriptor
  -       name="name"
  -       column="NAME"
  -       jdbc-type="VARCHAR"
  -     />
  -</class-descriptor>
  -
  -<class-descriptor
  -	class="org.apache.ojb.broker.MultipleTableExtentAwareQueryTest$ExtentC"
  -	table="EXTENT_TEST_C"
  - >
  -    <extent-class class-ref="org.apache.ojb.broker.MultipleTableExtentAwareQueryTest$ExtentD" />
  -    <field-descriptor
  -        name="objId"
  -        column="OBJ_ID"
  -        jdbc-type="INTEGER"
  -        primarykey="true"
  -        autoincrement="true"
  -     />
  -     <field-descriptor
  -       name="name"
  -       column="NAME"
  -       jdbc-type="VARCHAR"
  -     />
  -</class-descriptor>
  -
  -<class-descriptor
  -	class="org.apache.ojb.broker.MultipleTableExtentAwareQueryTest$ExtentD"
  -	table="EXTENT_TEST_D"
  - >
  -    <field-descriptor
  -        name="objId"
  -        column="OBJ_ID"
  -        jdbc-type="INTEGER"
  -        primarykey="true"
  -        autoincrement="true"
  -     />
  -     <field-descriptor
  -       name="name"
  -       column="NAME"
  -       jdbc-type="VARCHAR"
  -     />
  -</class-descriptor>
  -
  -
  -
   
   
   <class-descriptor
  @@ -3211,142 +2670,6 @@
   
   
   
  -    <!-- ************************************************* -->
  -    <!--      abstract collections test                    -->
  -    <!-- ************************************************* -->
  -    <class-descriptor
  -    class="org.apache.ojb.broker.AbstractExtentClassTest$AbstractIF_X">
  -    	<!-- demonstrates the problem:
  -        <extent-class class-ref="org.apache.ojb.broker.AbstractExtentClassTest$AbstractIF_Y" />
  -        <extent-class class-ref="org.apache.ojb.broker.AbstractExtentClassTest$AbstractClassX" />
  -        -->
  -
  -		<!-- Using concrete classes in extent definition only works fine:-->
  -        <extent-class class-ref="org.apache.ojb.broker.AbstractExtentClassTest$ConcreteZ" />
  -        <extent-class class-ref="org.apache.ojb.broker.AbstractExtentClassTest$ConcreteZZ" />
  -
  -    </class-descriptor>
  -
  -    <class-descriptor
  -    class="org.apache.ojb.broker.AbstractExtentClassTest$AbstractIF_Y">
  -        <extent-class class-ref="org.apache.ojb.broker.AbstractExtentClassTest$ConcreteZ" />
  -    </class-descriptor>
  -
  -    <class-descriptor
  -    class="org.apache.ojb.broker.AbstractExtentClassTest$ConcreteZ"
  -    table="ABSTRACT_COLLECTION_Z">
  -
  -        <field-descriptor
  -        name="id"
  -        column="OBJ_ID"
  -        jdbc-type="INTEGER"
  -        primarykey="true"
  -        autoincrement="true"/>
  -
  -        <field-descriptor
  -            name="name"
  -            column="NAME"
  -            jdbc-type="VARCHAR"
  -        />
  -
  -        <field-descriptor
  -        name="someValue"
  -        column="SOMEVALUE"
  -        jdbc-type="INTEGER"/>
  -
  -        <field-descriptor
  -        name="containerId"
  -        column="CONTAINER_ID"
  -        jdbc-type="INTEGER"/>
  -    </class-descriptor>
  -
  -    <class-descriptor
  -    class="org.apache.ojb.broker.AbstractExtentClassTest$AbstractClassX">
  -
  -        <extent-class class-ref="org.apache.ojb.broker.AbstractExtentClassTest$AbstractClassY" />
  -
  -        <field-descriptor
  -        name="containerId"
  -        column="CONTAINER_ID"
  -        jdbc-type="INTEGER"/>
  -
  -        <field-descriptor
  -            name="name"
  -            column="NAME"
  -            jdbc-type="VARCHAR"
  -        />
  -    </class-descriptor>
  -
  -    <class-descriptor
  -    class="org.apache.ojb.broker.AbstractExtentClassTest$AbstractClassY">
  -
  -        <extent-class class-ref="org.apache.ojb.broker.AbstractExtentClassTest$ConcreteZZ" />
  -
  -        <field-descriptor
  -        name="containerId"
  -        column="CONTAINER_ID"
  -        jdbc-type="INTEGER"/>
  -
  -        <field-descriptor
  -            name="name"
  -            column="NAME"
  -            jdbc-type="VARCHAR"
  -        />
  -    </class-descriptor>
  -
  -    <class-descriptor
  -    class="org.apache.ojb.broker.AbstractExtentClassTest$ConcreteZZ"
  -    table="ABSTRACT_COLLECTION_ZZ">
  -
  -        <field-descriptor
  -        name="id"
  -        column="OBJ_ID"
  -        jdbc-type="INTEGER"
  -        primarykey="true"
  -        autoincrement="true"/>
  -
  -        <field-descriptor
  -        name="someValue"
  -        column="SOMEVALUE"
  -        jdbc-type="INTEGER"/>
  -
  -        <field-descriptor
  -        name="containerId"
  -        column="CONTAINER_ID"
  -        jdbc-type="INTEGER"/>
  -
  -        <field-descriptor
  -            name="name"
  -            column="NAME"
  -            jdbc-type="VARCHAR"
  -        />
  -
  -        <field-descriptor
  -            name="concreteZZName"
  -            column="ZZ_NAME"
  -            jdbc-type="VARCHAR"
  -        />
  -    </class-descriptor>
  -
  -    <class-descriptor
  -    class="org.apache.ojb.broker.AbstractExtentClassTest$XContainer"
  -    table="XCONTAINER">
  -        <field-descriptor
  -        name="id"
  -        column="OBJ_ID"
  -        jdbc-type="INTEGER"
  -        primarykey="true"
  -        autoincrement="true"/>
  -
  -        <collection-descriptor
  -        name="myXReferences"
  -        element-class-ref="org.apache.ojb.broker.AbstractExtentClassTest$AbstractIF_X"
  -        auto-retrieve="true"
  -        auto-update="true"
  -        auto-delete="false">
  -            <inverse-foreignkey field-ref="containerId"/>
  -        </collection-descriptor>
  -    </class-descriptor>
   
   
       <!-- ************************************************* -->
  
  
  
  No                   revision
  
  Index: repository_junit.xml
  ===================================================================
  RCS file: /home/cvs/db-ojb/src/test/org/apache/ojb/repository_junit.xml,v
  retrieving revision 1.112.2.3
  retrieving revision 1.112.2.4
  diff -u -r1.112.2.3 -r1.112.2.4
  --- repository_junit.xml	13 Aug 2004 14:23:54 -0000	1.112.2.3
  +++ repository_junit.xml	13 Oct 2004 16:48:27 -0000	1.112.2.4
  @@ -1876,547 +1876,6 @@
    <!-- end mappings for contract-version-effectiveness -->
   
   
  -<!-- =================================================== -->
  -<!-- Mapping Classes on Multiple Joined Tables test      -->
  -<!-- =================================================== -->
  -<class-descriptor
  -	class="org.apache.ojb.broker.InheritanceMultipleTableTest$Employee"
  -	table="INHERITANCE_MULTI_EMPLOYEE"
  - >
  -    <field-descriptor
  -        name="id"
  -        column="OBJ_ID"
  -        jdbc-type="INTEGER"
  -        primarykey="true"
  -        autoincrement="true"
  -    />
  -    <field-descriptor
  -        name="id_2"
  -        column="OBJ_ID_2"
  -        jdbc-type="BIGINT"
  -        primarykey="true"
  -        autoincrement="false"
  -    />
  -    <field-descriptor
  -        name="name"
  -        column="NAME"
  -        jdbc-type="VARCHAR"
  -    />
  -
  -    <field-descriptor
  -        name="fkAddress"
  -        column="FK_ADDRESS"
  -        jdbc-type="INTEGER"
  -        access="anonymous"
  -    />
  -
  -    <reference-descriptor name="address"
  -        class-ref="org.apache.ojb.broker.InheritanceMultipleTableTest$Address"
  -        auto-retrieve="true"
  -        auto-update="object"
  -        auto-delete="object"
  -    >
  -        <foreignkey field-ref="fkAddress" />
  -    </reference-descriptor>
  -</class-descriptor>
  -
  -<class-descriptor
  -	class="org.apache.ojb.broker.InheritanceMultipleTableTest$Executive"
  -	table="INHERITANCE_MULTI_EXECUTIVE"
  - >
  -    <field-descriptor
  -        name="id"
  -        column="OBJ_ID"
  -        jdbc-type="INTEGER"
  -        primarykey="true"
  -        autoincrement="true"
  -    />
  -    <field-descriptor
  -        name="id_2"
  -        column="OBJ_ID_2"
  -        jdbc-type="BIGINT"
  -        primarykey="true"
  -        autoincrement="false"
  -    />
  -    <field-descriptor
  -        name="department"
  -        column="DEPARTMENT"
  -        jdbc-type="VARCHAR"
  -    />
  -    <field-descriptor
  -        name="superId"
  -        column="SUPER_ID"
  -        jdbc-type="INTEGER"
  -        access="anonymous"
  -    />
  -    <field-descriptor
  -        name="superId_2"
  -        column="SUPER_ID_2"
  -        jdbc-type="BIGINT"
  -        access="anonymous"
  -    />
  -
  -    <field-descriptor
  -        name="managerId"
  -        column="MANAGER_ID"
  -        jdbc-type="INTEGER"
  -        access="anonymous"
  -    />
  -    <field-descriptor
  -        name="managerId_2"
  -        column="MANAGER_ID_2"
  -        jdbc-type="BIGINT"
  -        access="anonymous"
  -    />
  -
  -    <reference-descriptor name="super"
  -        class-ref="org.apache.ojb.broker.InheritanceMultipleTableTest$Employee"
  -        auto-retrieve="true"
  -        auto-update="object"
  -        auto-delete="object"
  -    >
  -        <foreignkey field-ref="superId" />
  -        <foreignkey field-ref="superId_2" />
  -    </reference-descriptor>
  -
  -    <reference-descriptor name="manager"
  -        class-ref="org.apache.ojb.broker.InheritanceMultipleTableTest$Manager"
  -        auto-retrieve="false"
  -        auto-update="none"
  -        auto-delete="none"
  -    >
  -        <foreignkey field-ref="managerId" />
  -        <foreignkey field-ref="managerId_2" />
  -    </reference-descriptor>
  -</class-descriptor>
  -
  -<class-descriptor
  -	class="org.apache.ojb.broker.InheritanceMultipleTableTest$Manager"
  -	table="INHERITANCE_MULTI_MANAGER"
  - >
  -    <field-descriptor
  -        name="id"
  -        column="OBJ_ID"
  -        jdbc-type="INTEGER"
  -        primarykey="true"
  -        autoincrement="true"
  -    />
  -    <field-descriptor
  -        name="id_2"
  -        column="OBJ_ID_2"
  -        jdbc-type="BIGINT"
  -        primarykey="true"
  -        autoincrement="false"
  -    />
  -    <field-descriptor
  -        name="superId"
  -        column="SUPER_ID"
  -        jdbc-type="INTEGER"
  -        access="anonymous"
  -    />
  -    <field-descriptor
  -        name="superId_2"
  -        column="SUPER_ID_2"
  -        jdbc-type="BIGINT"
  -        access="anonymous"
  -    />
  -
  -    <reference-descriptor name="super"
  -        class-ref="org.apache.ojb.broker.InheritanceMultipleTableTest$Executive"
  -        auto-retrieve="true"
  -        auto-update="object"
  -        auto-delete="object"
  -    >
  -        <foreignkey field-ref="superId" />
  -        <foreignkey field-ref="superId_2" />
  -    </reference-descriptor>
  -
  -    <collection-descriptor
  -        name="executives"
  -        element-class-ref="org.apache.ojb.broker.InheritanceMultipleTableTest$Executive"
  -        proxy="true"
  -        auto-retrieve="true"
  -        auto-update="object"
  -        auto-delete="object"
  -    >
  -            <inverse-foreignkey field-ref="managerId"/>
  -            <inverse-foreignkey field-ref="managerId_2"/>
  -    </collection-descriptor>
  -</class-descriptor>
  -
  -<class-descriptor
  -	class="org.apache.ojb.broker.InheritanceMultipleTableTest$Address"
  -	table="INHERITANCE_MULTI_ADDRESS"
  - >
  -    <field-descriptor
  -        name="id"
  -        column="OBJ_ID"
  -        jdbc-type="INTEGER"
  -        primarykey="true"
  -        autoincrement="true"
  -    />
  -
  -    <field-descriptor
  -        name="street"
  -        column="STREET"
  -        jdbc-type="VARCHAR"
  -    />
  -</class-descriptor>
  -
  -
  -
  -<!-- ********************************************************** -->
  -<!-- testing for complex mapping of many objects to one table  -->
  -<!-- ********************************************************** -->
  - <class-descriptor
  -	class="org.apache.ojb.broker.ComplexMultiMapped$PersistentA"
  -	table="MultiMappedTable"
  - >
  -     <field-descriptor
  -        name="ID"
  -        column="ID"
  -        jdbc-type="INTEGER"
  -        primarykey="true"
  -        autoincrement="true"
  -     />
  -     <field-descriptor
  -       name="value1"
  -       column="value1"
  -       jdbc-type="VARCHAR"
  -     />
  -     <field-descriptor
  -        name="value2"
  -        column="value2"
  -        jdbc-type="INTEGER"
  -     />
  -     <field-descriptor
  -       name="value3"
  -       column="value3"
  -       jdbc-type="TIMESTAMP"
  -     />
  -     <field-descriptor
  -       name="ojbConcreteClass"
  -       column="ojbConcreteClass"
  -       jdbc-type="VARCHAR"
  -     />
  - </class-descriptor>
  -
  - <class-descriptor
  -	class="org.apache.ojb.broker.ComplexMultiMapped$PersistentB"
  -	table="MultiMappedTable"
  - >
  -     <extent-class class-ref="org.apache.ojb.broker.ComplexMultiMapped$PersistentD" />
  -     <extent-class class-ref="org.apache.ojb.broker.ComplexMultiMapped$PersistentE" />
  -     <field-descriptor
  -        name="ID"
  -        column="ID"
  -        jdbc-type="INTEGER"
  -        primarykey="true"
  -        autoincrement="true"
  -     />
  -     <field-descriptor
  -       name="value4"
  -       column="value4"
  -       jdbc-type="VARCHAR"
  -     />
  -     <field-descriptor
  -        name="value5"
  -        column="value5"
  -        jdbc-type="INTEGER"
  -     />
  -     <field-descriptor
  -       name="value6"
  -       column="value6"
  -       jdbc-type="TIMESTAMP"
  -     />
  -     <field-descriptor
  -       name="ojbConcreteClass"
  -       column="ojbConcreteClass"
  -       jdbc-type="VARCHAR"
  -     />
  - </class-descriptor>
  -
  -<class-descriptor
  -	class="org.apache.ojb.broker.ComplexMultiMapped$PersistentC"
  -	table="MultiMappedTable"
  - >
  -     <field-descriptor
  -        name="ID"
  -        column="ID"
  -        jdbc-type="INTEGER"
  -        primarykey="true"
  -        autoincrement="true"
  -     />
  -     <field-descriptor
  -       name="value1"
  -       column="value1"
  -       jdbc-type="VARCHAR"
  -     />
  -     <field-descriptor
  -        name="value2"
  -        column="value2"
  -        jdbc-type="INTEGER"
  -     />
  -     <field-descriptor
  -       name="value3"
  -       column="value3"
  -       jdbc-type="TIMESTAMP"
  -     />
  -     <field-descriptor
  -       name="value4"
  -       column="value4"
  -       jdbc-type="VARCHAR"
  -     />
  -     <field-descriptor
  -        name="value5"
  -        column="value5"
  -        jdbc-type="INTEGER"
  -     />
  -     <field-descriptor
  -       name="value6"
  -       column="value6"
  -       jdbc-type="TIMESTAMP"
  -     />
  -     <field-descriptor
  -       name="ojbConcreteClass"
  -       column="ojbConcreteClass"
  -       jdbc-type="VARCHAR"
  -     />
  - </class-descriptor>
  -
  -<class-descriptor
  -	class="org.apache.ojb.broker.ComplexMultiMapped$PersistentD"
  -	table="MultiMappedTable"
  - >
  -     <field-descriptor
  -        name="ID"
  -        column="ID"
  -        jdbc-type="INTEGER"
  -        primarykey="true"
  -        autoincrement="true"
  -     />
  -     <field-descriptor
  -       name="value1"
  -       column="value1"
  -       jdbc-type="VARCHAR"
  -     />
  -     <field-descriptor
  -        name="value2"
  -        column="value2"
  -        jdbc-type="INTEGER"
  -     />
  -     <field-descriptor
  -       name="value3"
  -       column="value3"
  -       jdbc-type="TIMESTAMP"
  -     />
  -     <field-descriptor
  -       name="value4"
  -       column="value4"
  -       jdbc-type="VARCHAR"
  -     />
  -     <field-descriptor
  -        name="value5"
  -        column="value5"
  -        jdbc-type="INTEGER"
  -     />
  -     <field-descriptor
  -       name="value6"
  -       column="value6"
  -       jdbc-type="TIMESTAMP"
  -     />
  -     <field-descriptor
  -       name="ojbConcreteClass"
  -       column="ojbConcreteClass"
  -       jdbc-type="VARCHAR"
  -     />
  - </class-descriptor>
  -
  -<class-descriptor
  -	class="org.apache.ojb.broker.ComplexMultiMapped$PersistentE"
  -	table="MultiMappedTable"
  - >
  -     <extent-class class-ref="org.apache.ojb.broker.ComplexMultiMapped$PersistentF" />
  -     <field-descriptor
  -        name="ID"
  -        column="ID"
  -        jdbc-type="INTEGER"
  -        primarykey="true"
  -        autoincrement="true"
  -     />
  -     <field-descriptor
  -       name="value1"
  -       column="value1"
  -       jdbc-type="VARCHAR"
  -     />
  -     <field-descriptor
  -        name="value2"
  -        column="value2"
  -        jdbc-type="INTEGER"
  -     />
  -     <field-descriptor
  -       name="value3"
  -       column="value3"
  -       jdbc-type="TIMESTAMP"
  -     />
  -     <field-descriptor
  -       name="value4"
  -       column="value4"
  -       jdbc-type="VARCHAR"
  -     />
  -     <field-descriptor
  -        name="value5"
  -        column="value5"
  -        jdbc-type="INTEGER"
  -     />
  -     <field-descriptor
  -       name="value6"
  -       column="value6"
  -       jdbc-type="TIMESTAMP"
  -     />
  -     <field-descriptor
  -       name="ojbConcreteClass"
  -       column="ojbConcreteClass"
  -       jdbc-type="VARCHAR"
  -     />
  - </class-descriptor>
  -
  -
  -<class-descriptor
  -	class="org.apache.ojb.broker.ComplexMultiMapped$PersistentF"
  -	table="MultiMappedTable"
  - >
  -     <field-descriptor
  -        name="ID"
  -        column="ID"
  -        jdbc-type="INTEGER"
  -        primarykey="true"
  -        autoincrement="true"
  -     />
  -     <field-descriptor
  -       name="value1"
  -       column="value1"
  -       jdbc-type="VARCHAR"
  -     />
  -     <field-descriptor
  -        name="value2"
  -        column="value2"
  -        jdbc-type="INTEGER"
  -     />
  -     <field-descriptor
  -       name="value3"
  -       column="value3"
  -       jdbc-type="TIMESTAMP"
  -     />
  -     <field-descriptor
  -       name="value4"
  -       column="value4"
  -       jdbc-type="VARCHAR"
  -     />
  -     <field-descriptor
  -        name="value5"
  -        column="value5"
  -        jdbc-type="INTEGER"
  -     />
  -     <field-descriptor
  -       name="value6"
  -       column="value6"
  -       jdbc-type="TIMESTAMP"
  -     />
  -     <field-descriptor
  -       name="ojbConcreteClass"
  -       column="ojbConcreteClass"
  -       jdbc-type="VARCHAR"
  -     />
  - </class-descriptor>
  -
  -
  -
  -<!-- ********************************************************** -->
  -<!-- testing for many extents to different tables with same base class -->
  -<!-- ********************************************************** -->
  -<class-descriptor class="org.apache.ojb.broker.MultipleTableExtentAwareQueryTest$BaseClass">
  -    <extent-class class-ref="org.apache.ojb.broker.MultipleTableExtentAwareQueryTest$ExtentA" />
  -    <extent-class class-ref="org.apache.ojb.broker.MultipleTableExtentAwareQueryTest$ExtentB" />
  -</class-descriptor>
  -
  -<class-descriptor
  -	class="org.apache.ojb.broker.MultipleTableExtentAwareQueryTest$ExtentA"
  -	table="EXTENT_TEST_A"
  - >
  -     <field-descriptor
  -        name="objId"
  -        column="OBJ_ID"
  -        jdbc-type="INTEGER"
  -        primarykey="true"
  -        autoincrement="true"
  -     />
  -     <field-descriptor
  -       name="name"
  -       column="NAME"
  -       jdbc-type="VARCHAR"
  -     />
  -</class-descriptor>
  -
  -<class-descriptor
  -	class="org.apache.ojb.broker.MultipleTableExtentAwareQueryTest$ExtentB"
  -	table="EXTENT_TEST_B"
  - >
  -    <extent-class class-ref="org.apache.ojb.broker.MultipleTableExtentAwareQueryTest$ExtentC" />
  -
  -    <field-descriptor
  -        name="objId"
  -        column="OBJ_ID"
  -        jdbc-type="INTEGER"
  -        primarykey="true"
  -        autoincrement="true"
  -     />
  -     <field-descriptor
  -       name="name"
  -       column="NAME"
  -       jdbc-type="VARCHAR"
  -     />
  -</class-descriptor>
  -
  -<class-descriptor
  -	class="org.apache.ojb.broker.MultipleTableExtentAwareQueryTest$ExtentC"
  -	table="EXTENT_TEST_C"
  - >
  -    <extent-class class-ref="org.apache.ojb.broker.MultipleTableExtentAwareQueryTest$ExtentD" />
  -    <field-descriptor
  -        name="objId"
  -        column="OBJ_ID"
  -        jdbc-type="INTEGER"
  -        primarykey="true"
  -        autoincrement="true"
  -     />
  -     <field-descriptor
  -       name="name"
  -       column="NAME"
  -       jdbc-type="VARCHAR"
  -     />
  -</class-descriptor>
  -
  -<class-descriptor
  -	class="org.apache.ojb.broker.MultipleTableExtentAwareQueryTest$ExtentD"
  -	table="EXTENT_TEST_D"
  - >
  -    <field-descriptor
  -        name="objId"
  -        column="OBJ_ID"
  -        jdbc-type="INTEGER"
  -        primarykey="true"
  -        autoincrement="true"
  -     />
  -     <field-descriptor
  -       name="name"
  -       column="NAME"
  -       jdbc-type="VARCHAR"
  -     />
  -</class-descriptor>
  -
  -
  -
   
   
   <class-descriptor
  @@ -3211,142 +2670,6 @@
   
   
   
  -    <!-- ************************************************* -->
  -    <!--      abstract collections test                    -->
  -    <!-- ************************************************* -->
  -    <class-descriptor
  -    class="org.apache.ojb.broker.AbstractExtentClassTest$AbstractIF_X">
  -    	<!-- demonstrates the problem:
  -        <extent-class class-ref="org.apache.ojb.broker.AbstractExtentClassTest$AbstractIF_Y" />
  -        <extent-class class-ref="org.apache.ojb.broker.AbstractExtentClassTest$AbstractClassX" />
  -        -->
  -
  -		<!-- Using concrete classes in extent definition only works fine:-->
  -        <extent-class class-ref="org.apache.ojb.broker.AbstractExtentClassTest$ConcreteZ" />
  -        <extent-class class-ref="org.apache.ojb.broker.AbstractExtentClassTest$ConcreteZZ" />
  -
  -    </class-descriptor>
  -
  -    <class-descriptor
  -    class="org.apache.ojb.broker.AbstractExtentClassTest$AbstractIF_Y">
  -        <extent-class class-ref="org.apache.ojb.broker.AbstractExtentClassTest$ConcreteZ" />
  -    </class-descriptor>
  -
  -    <class-descriptor
  -    class="org.apache.ojb.broker.AbstractExtentClassTest$ConcreteZ"
  -    table="ABSTRACT_COLLECTION_Z">
  -
  -        <field-descriptor
  -        name="id"
  -        column="OBJ_ID"
  -        jdbc-type="INTEGER"
  -        primarykey="true"
  -        autoincrement="true"/>
  -
  -        <field-descriptor
  -            name="name"
  -            column="NAME"
  -            jdbc-type="VARCHAR"
  -        />
  -
  -        <field-descriptor
  -        name="someValue"
  -        column="SOMEVALUE"
  -        jdbc-type="INTEGER"/>
  -
  -        <field-descriptor
  -        name="containerId"
  -        column="CONTAINER_ID"
  -        jdbc-type="INTEGER"/>
  -    </class-descriptor>
  -
  -    <class-descriptor
  -    class="org.apache.ojb.broker.AbstractExtentClassTest$AbstractClassX">
  -
  -        <extent-class class-ref="org.apache.ojb.broker.AbstractExtentClassTest$AbstractClassY" />
  -
  -        <field-descriptor
  -        name="containerId"
  -        column="CONTAINER_ID"
  -        jdbc-type="INTEGER"/>
  -
  -        <field-descriptor
  -            name="name"
  -            column="NAME"
  -            jdbc-type="VARCHAR"
  -        />
  -    </class-descriptor>
  -
  -    <class-descriptor
  -    class="org.apache.ojb.broker.AbstractExtentClassTest$AbstractClassY">
  -
  -        <extent-class class-ref="org.apache.ojb.broker.AbstractExtentClassTest$ConcreteZZ" />
  -
  -        <field-descriptor
  -        name="containerId"
  -        column="CONTAINER_ID"
  -        jdbc-type="INTEGER"/>
  -
  -        <field-descriptor
  -            name="name"
  -            column="NAME"
  -            jdbc-type="VARCHAR"
  -        />
  -    </class-descriptor>
  -
  -    <class-descriptor
  -    class="org.apache.ojb.broker.AbstractExtentClassTest$ConcreteZZ"
  -    table="ABSTRACT_COLLECTION_ZZ">
  -
  -        <field-descriptor
  -        name="id"
  -        column="OBJ_ID"
  -        jdbc-type="INTEGER"
  -        primarykey="true"
  -        autoincrement="true"/>
  -
  -        <field-descriptor
  -        name="someValue"
  -        column="SOMEVALUE"
  -        jdbc-type="INTEGER"/>
  -
  -        <field-descriptor
  -        name="containerId"
  -        column="CONTAINER_ID"
  -        jdbc-type="INTEGER"/>
  -
  -        <field-descriptor
  -            name="name"
  -            column="NAME"
  -            jdbc-type="VARCHAR"
  -        />
  -
  -        <field-descriptor
  -            name="concreteZZName"
  -            column="ZZ_NAME"
  -            jdbc-type="VARCHAR"
  -        />
  -    </class-descriptor>
  -
  -    <class-descriptor
  -    class="org.apache.ojb.broker.AbstractExtentClassTest$XContainer"
  -    table="XCONTAINER">
  -        <field-descriptor
  -        name="id"
  -        column="OBJ_ID"
  -        jdbc-type="INTEGER"
  -        primarykey="true"
  -        autoincrement="true"/>
  -
  -        <collection-descriptor
  -        name="myXReferences"
  -        element-class-ref="org.apache.ojb.broker.AbstractExtentClassTest$AbstractIF_X"
  -        auto-retrieve="true"
  -        auto-update="true"
  -        auto-delete="false">
  -            <inverse-foreignkey field-ref="containerId"/>
  -        </collection-descriptor>
  -    </class-descriptor>
   
   
       <!-- ************************************************* -->
  
  
  
  No                   revision
  
  Index: repository_junit.xml
  ===================================================================
  RCS file: /home/cvs/db-ojb/src/test/org/apache/ojb/repository_junit.xml,v
  retrieving revision 1.112.2.3
  retrieving revision 1.112.2.4
  diff -u -r1.112.2.3 -r1.112.2.4
  --- repository_junit.xml	13 Aug 2004 14:23:54 -0000	1.112.2.3
  +++ repository_junit.xml	13 Oct 2004 16:48:27 -0000	1.112.2.4
  @@ -1876,547 +1876,6 @@
    <!-- end mappings for contract-version-effectiveness -->
   
   
  -<!-- =================================================== -->
  -<!-- Mapping Classes on Multiple Joined Tables test      -->
  -<!-- =================================================== -->
  -<class-descriptor
  -	class="org.apache.ojb.broker.InheritanceMultipleTableTest$Employee"
  -	table="INHERITANCE_MULTI_EMPLOYEE"
  - >
  -    <field-descriptor
  -        name="id"
  -        column="OBJ_ID"
  -        jdbc-type="INTEGER"
  -        primarykey="true"
  -        autoincrement="true"
  -    />
  -    <field-descriptor
  -        name="id_2"
  -        column="OBJ_ID_2"
  -        jdbc-type="BIGINT"
  -        primarykey="true"
  -        autoincrement="false"
  -    />
  -    <field-descriptor
  -        name="name"
  -        column="NAME"
  -        jdbc-type="VARCHAR"
  -    />
  -
  -    <field-descriptor
  -        name="fkAddress"
  -        column="FK_ADDRESS"
  -        jdbc-type="INTEGER"
  -        access="anonymous"
  -    />
  -
  -    <reference-descriptor name="address"
  -        class-ref="org.apache.ojb.broker.InheritanceMultipleTableTest$Address"
  -        auto-retrieve="true"
  -        auto-update="object"
  -        auto-delete="object"
  -    >
  -        <foreignkey field-ref="fkAddress" />
  -    </reference-descriptor>
  -</class-descriptor>
  -
  -<class-descriptor
  -	class="org.apache.ojb.broker.InheritanceMultipleTableTest$Executive"
  -	table="INHERITANCE_MULTI_EXECUTIVE"
  - >
  -    <field-descriptor
  -        name="id"
  -        column="OBJ_ID"
  -        jdbc-type="INTEGER"
  -        primarykey="true"
  -        autoincrement="true"
  -    />
  -    <field-descriptor
  -        name="id_2"
  -        column="OBJ_ID_2"
  -        jdbc-type="BIGINT"
  -        primarykey="true"
  -        autoincrement="false"
  -    />
  -    <field-descriptor
  -        name="department"
  -        column="DEPARTMENT"
  -        jdbc-type="VARCHAR"
  -    />
  -    <field-descriptor
  -        name="superId"
  -        column="SUPER_ID"
  -        jdbc-type="INTEGER"
  -        access="anonymous"
  -    />
  -    <field-descriptor
  -        name="superId_2"
  -        column="SUPER_ID_2"
  -        jdbc-type="BIGINT"
  -        access="anonymous"
  -    />
  -
  -    <field-descriptor
  -        name="managerId"
  -        column="MANAGER_ID"
  -        jdbc-type="INTEGER"
  -        access="anonymous"
  -    />
  -    <field-descriptor
  -        name="managerId_2"
  -        column="MANAGER_ID_2"
  -        jdbc-type="BIGINT"
  -        access="anonymous"
  -    />
  -
  -    <reference-descriptor name="super"
  -        class-ref="org.apache.ojb.broker.InheritanceMultipleTableTest$Employee"
  -        auto-retrieve="true"
  -        auto-update="object"
  -        auto-delete="object"
  -    >
  -        <foreignkey field-ref="superId" />
  -        <foreignkey field-ref="superId_2" />
  -    </reference-descriptor>
  -
  -    <reference-descriptor name="manager"
  -        class-ref="org.apache.ojb.broker.InheritanceMultipleTableTest$Manager"
  -        auto-retrieve="false"
  -        auto-update="none"
  -        auto-delete="none"
  -    >
  -        <foreignkey field-ref="managerId" />
  -        <foreignkey field-ref="managerId_2" />
  -    </reference-descriptor>
  -</class-descriptor>
  -
  -<class-descriptor
  -	class="org.apache.ojb.broker.InheritanceMultipleTableTest$Manager"
  -	table="INHERITANCE_MULTI_MANAGER"
  - >
  -    <field-descriptor
  -        name="id"
  -        column="OBJ_ID"
  -        jdbc-type="INTEGER"
  -        primarykey="true"
  -        autoincrement="true"
  -    />
  -    <field-descriptor
  -        name="id_2"
  -        column="OBJ_ID_2"
  -        jdbc-type="BIGINT"
  -        primarykey="true"
  -        autoincrement="false"
  -    />
  -    <field-descriptor
  -        name="superId"
  -        column="SUPER_ID"
  -        jdbc-type="INTEGER"
  -        access="anonymous"
  -    />
  -    <field-descriptor
  -        name="superId_2"
  -        column="SUPER_ID_2"
  -        jdbc-type="BIGINT"
  -        access="anonymous"
  -    />
  -
  -    <reference-descriptor name="super"
  -        class-ref="org.apache.ojb.broker.InheritanceMultipleTableTest$Executive"
  -        auto-retrieve="true"
  -        auto-update="object"
  -        auto-delete="object"
  -    >
  -        <foreignkey field-ref="superId" />
  -        <foreignkey field-ref="superId_2" />
  -    </reference-descriptor>
  -
  -    <collection-descriptor
  -        name="executives"
  -        element-class-ref="org.apache.ojb.broker.InheritanceMultipleTableTest$Executive"
  -        proxy="true"
  -        auto-retrieve="true"
  -        auto-update="object"
  -        auto-delete="object"
  -    >
  -            <inverse-foreignkey field-ref="managerId"/>
  -            <inverse-foreignkey field-ref="managerId_2"/>
  -    </collection-descriptor>
  -</class-descriptor>
  -
  -<class-descriptor
  -	class="org.apache.ojb.broker.InheritanceMultipleTableTest$Address"
  -	table="INHERITANCE_MULTI_ADDRESS"
  - >
  -    <field-descriptor
  -        name="id"
  -        column="OBJ_ID"
  -        jdbc-type="INTEGER"
  -        primarykey="true"
  -        autoincrement="true"
  -    />
  -
  -    <field-descriptor
  -        name="street"
  -        column="STREET"
  -        jdbc-type="VARCHAR"
  -    />
  -</class-descriptor>
  -
  -
  -
  -<!-- ********************************************************** -->
  -<!-- testing for complex mapping of many objects to one table  -->
  -<!-- ********************************************************** -->
  - <class-descriptor
  -	class="org.apache.ojb.broker.ComplexMultiMapped$PersistentA"
  -	table="MultiMappedTable"
  - >
  -     <field-descriptor
  -        name="ID"
  -        column="ID"
  -        jdbc-type="INTEGER"
  -        primarykey="true"
  -        autoincrement="true"
  -     />
  -     <field-descriptor
  -       name="value1"
  -       column="value1"
  -       jdbc-type="VARCHAR"
  -     />
  -     <field-descriptor
  -        name="value2"
  -        column="value2"
  -        jdbc-type="INTEGER"
  -     />
  -     <field-descriptor
  -       name="value3"
  -       column="value3"
  -       jdbc-type="TIMESTAMP"
  -     />
  -     <field-descriptor
  -       name="ojbConcreteClass"
  -       column="ojbConcreteClass"
  -       jdbc-type="VARCHAR"
  -     />
  - </class-descriptor>
  -
  - <class-descriptor
  -	class="org.apache.ojb.broker.ComplexMultiMapped$PersistentB"
  -	table="MultiMappedTable"
  - >
  -     <extent-class class-ref="org.apache.ojb.broker.ComplexMultiMapped$PersistentD" />
  -     <extent-class class-ref="org.apache.ojb.broker.ComplexMultiMapped$PersistentE" />
  -     <field-descriptor
  -        name="ID"
  -        column="ID"
  -        jdbc-type="INTEGER"
  -        primarykey="true"
  -        autoincrement="true"
  -     />
  -     <field-descriptor
  -       name="value4"
  -       column="value4"
  -       jdbc-type="VARCHAR"
  -     />
  -     <field-descriptor
  -        name="value5"
  -        column="value5"
  -        jdbc-type="INTEGER"
  -     />
  -     <field-descriptor
  -       name="value6"
  -       column="value6"
  -       jdbc-type="TIMESTAMP"
  -     />
  -     <field-descriptor
  -       name="ojbConcreteClass"
  -       column="ojbConcreteClass"
  -       jdbc-type="VARCHAR"
  -     />
  - </class-descriptor>
  -
  -<class-descriptor
  -	class="org.apache.ojb.broker.ComplexMultiMapped$PersistentC"
  -	table="MultiMappedTable"
  - >
  -     <field-descriptor
  -        name="ID"
  -        column="ID"
  -        jdbc-type="INTEGER"
  -        primarykey="true"
  -        autoincrement="true"
  -     />
  -     <field-descriptor
  -       name="value1"
  -       column="value1"
  -       jdbc-type="VARCHAR"
  -     />
  -     <field-descriptor
  -        name="value2"
  -        column="value2"
  -        jdbc-type="INTEGER"
  -     />
  -     <field-descriptor
  -       name="value3"
  -       column="value3"
  -       jdbc-type="TIMESTAMP"
  -     />
  -     <field-descriptor
  -       name="value4"
  -       column="value4"
  -       jdbc-type="VARCHAR"
  -     />
  -     <field-descriptor
  -        name="value5"
  -        column="value5"
  -        jdbc-type="INTEGER"
  -     />
  -     <field-descriptor
  -       name="value6"
  -       column="value6"
  -       jdbc-type="TIMESTAMP"
  -     />
  -     <field-descriptor
  -       name="ojbConcreteClass"
  -       column="ojbConcreteClass"
  -       jdbc-type="VARCHAR"
  -     />
  - </class-descriptor>
  -
  -<class-descriptor
  -	class="org.apache.ojb.broker.ComplexMultiMapped$PersistentD"
  -	table="MultiMappedTable"
  - >
  -     <field-descriptor
  -        name="ID"
  -        column="ID"
  -        jdbc-type="INTEGER"
  -        primarykey="true"
  -        autoincrement="true"
  -     />
  -     <field-descriptor
  -       name="value1"
  -       column="value1"
  -       jdbc-type="VARCHAR"
  -     />
  -     <field-descriptor
  -        name="value2"
  -        column="value2"
  -        jdbc-type="INTEGER"
  -     />
  -     <field-descriptor
  -       name="value3"
  -       column="value3"
  -       jdbc-type="TIMESTAMP"
  -     />
  -     <field-descriptor
  -       name="value4"
  -       column="value4"
  -       jdbc-type="VARCHAR"
  -     />
  -     <field-descriptor
  -        name="value5"
  -        column="value5"
  -        jdbc-type="INTEGER"
  -     />
  -     <field-descriptor
  -       name="value6"
  -       column="value6"
  -       jdbc-type="TIMESTAMP"
  -     />
  -     <field-descriptor
  -       name="ojbConcreteClass"
  -       column="ojbConcreteClass"
  -       jdbc-type="VARCHAR"
  -     />
  - </class-descriptor>
  -
  -<class-descriptor
  -	class="org.apache.ojb.broker.ComplexMultiMapped$PersistentE"
  -	table="MultiMappedTable"
  - >
  -     <extent-class class-ref="org.apache.ojb.broker.ComplexMultiMapped$PersistentF" />
  -     <field-descriptor
  -        name="ID"
  -        column="ID"
  -        jdbc-type="INTEGER"
  -        primarykey="true"
  -        autoincrement="true"
  -     />
  -     <field-descriptor
  -       name="value1"
  -       column="value1"
  -       jdbc-type="VARCHAR"
  -     />
  -     <field-descriptor
  -        name="value2"
  -        column="value2"
  -        jdbc-type="INTEGER"
  -     />
  -     <field-descriptor
  -       name="value3"
  -       column="value3"
  -       jdbc-type="TIMESTAMP"
  -     />
  -     <field-descriptor
  -       name="value4"
  -       column="value4"
  -       jdbc-type="VARCHAR"
  -     />
  -     <field-descriptor
  -        name="value5"
  -        column="value5"
  -        jdbc-type="INTEGER"
  -     />
  -     <field-descriptor
  -       name="value6"
  -       column="value6"
  -       jdbc-type="TIMESTAMP"
  -     />
  -     <field-descriptor
  -       name="ojbConcreteClass"
  -       column="ojbConcreteClass"
  -       jdbc-type="VARCHAR"
  -     />
  - </class-descriptor>
  -
  -
  -<class-descriptor
  -	class="org.apache.ojb.broker.ComplexMultiMapped$PersistentF"
  -	table="MultiMappedTable"
  - >
  -     <field-descriptor
  -        name="ID"
  -        column="ID"
  -        jdbc-type="INTEGER"
  -        primarykey="true"
  -        autoincrement="true"
  -     />
  -     <field-descriptor
  -       name="value1"
  -       column="value1"
  -       jdbc-type="VARCHAR"
  -     />
  -     <field-descriptor
  -        name="value2"
  -        column="value2"
  -        jdbc-type="INTEGER"
  -     />
  -     <field-descriptor
  -       name="value3"
  -       column="value3"
  -       jdbc-type="TIMESTAMP"
  -     />
  -     <field-descriptor
  -       name="value4"
  -       column="value4"
  -       jdbc-type="VARCHAR"
  -     />
  -     <field-descriptor
  -        name="value5"
  -        column="value5"
  -        jdbc-type="INTEGER"
  -     />
  -     <field-descriptor
  -       name="value6"
  -       column="value6"
  -       jdbc-type="TIMESTAMP"
  -     />
  -     <field-descriptor
  -       name="ojbConcreteClass"
  -       column="ojbConcreteClass"
  -       jdbc-type="VARCHAR"
  -     />
  - </class-descriptor>
  -
  -
  -
  -<!-- ********************************************************** -->
  -<!-- testing for many extents to different tables with same base class -->
  -<!-- ********************************************************** -->
  -<class-descriptor class="org.apache.ojb.broker.MultipleTableExtentAwareQueryTest$BaseClass">
  -    <extent-class class-ref="org.apache.ojb.broker.MultipleTableExtentAwareQueryTest$ExtentA" />
  -    <extent-class class-ref="org.apache.ojb.broker.MultipleTableExtentAwareQueryTest$ExtentB" />
  -</class-descriptor>
  -
  -<class-descriptor
  -	class="org.apache.ojb.broker.MultipleTableExtentAwareQueryTest$ExtentA"
  -	table="EXTENT_TEST_A"
  - >
  -     <field-descriptor
  -        name="objId"
  -        column="OBJ_ID"
  -        jdbc-type="INTEGER"
  -        primarykey="true"
  -        autoincrement="true"
  -     />
  -     <field-descriptor
  -       name="name"
  -       column="NAME"
  -       jdbc-type="VARCHAR"
  -     />
  -</class-descriptor>
  -
  -<class-descriptor
  -	class="org.apache.ojb.broker.MultipleTableExtentAwareQueryTest$ExtentB"
  -	table="EXTENT_TEST_B"
  - >
  -    <extent-class class-ref="org.apache.ojb.broker.MultipleTableExtentAwareQueryTest$ExtentC" />
  -
  -    <field-descriptor
  -        name="objId"
  -        column="OBJ_ID"
  -        jdbc-type="INTEGER"
  -        primarykey="true"
  -        autoincrement="true"
  -     />
  -     <field-descriptor
  -       name="name"
  -       column="NAME"
  -       jdbc-type="VARCHAR"
  -     />
  -</class-descriptor>
  -
  -<class-descriptor
  -	class="org.apache.ojb.broker.MultipleTableExtentAwareQueryTest$ExtentC"
  -	table="EXTENT_TEST_C"
  - >
  -    <extent-class class-ref="org.apache.ojb.broker.MultipleTableExtentAwareQueryTest$ExtentD" />
  -    <field-descriptor
  -        name="objId"
  -        column="OBJ_ID"
  -        jdbc-type="INTEGER"
  -        primarykey="true"
  -        autoincrement="true"
  -     />
  -     <field-descriptor
  -       name="name"
  -       column="NAME"
  -       jdbc-type="VARCHAR"
  -     />
  -</class-descriptor>
  -
  -<class-descriptor
  -	class="org.apache.ojb.broker.MultipleTableExtentAwareQueryTest$ExtentD"
  -	table="EXTENT_TEST_D"
  - >
  -    <field-descriptor
  -        name="objId"
  -        column="OBJ_ID"
  -        jdbc-type="INTEGER"
  -        primarykey="true"
  -        autoincrement="true"
  -     />
  -     <field-descriptor
  -       name="name"
  -       column="NAME"
  -       jdbc-type="VARCHAR"
  -     />
  -</class-descriptor>
  -
  -
  -
   
   
   <class-descriptor
  @@ -3211,142 +2670,6 @@
   
   
   
  -    <!-- ************************************************* -->
  -    <!--      abstract collections test                    -->
  -    <!-- ************************************************* -->
  -    <class-descriptor
  -    class="org.apache.ojb.broker.AbstractExtentClassTest$AbstractIF_X">
  -    	<!-- demonstrates the problem:
  -        <extent-class class-ref="org.apache.ojb.broker.AbstractExtentClassTest$AbstractIF_Y" />
  -        <extent-class class-ref="org.apache.ojb.broker.AbstractExtentClassTest$AbstractClassX" />
  -        -->
  -
  -		<!-- Using concrete classes in extent definition only works fine:-->
  -        <extent-class class-ref="org.apache.ojb.broker.AbstractExtentClassTest$ConcreteZ" />
  -        <extent-class class-ref="org.apache.ojb.broker.AbstractExtentClassTest$ConcreteZZ" />
  -
  -    </class-descriptor>
  -
  -    <class-descriptor
  -    class="org.apache.ojb.broker.AbstractExtentClassTest$AbstractIF_Y">
  -        <extent-class class-ref="org.apache.ojb.broker.AbstractExtentClassTest$ConcreteZ" />
  -    </class-descriptor>
  -
  -    <class-descriptor
  -    class="org.apache.ojb.broker.AbstractExtentClassTest$ConcreteZ"
  -    table="ABSTRACT_COLLECTION_Z">
  -
  -        <field-descriptor
  -        name="id"
  -        column="OBJ_ID"
  -        jdbc-type="INTEGER"
  -        primarykey="true"
  -        autoincrement="true"/>
  -
  -        <field-descriptor
  -            name="name"
  -            column="NAME"
  -            jdbc-type="VARCHAR"
  -        />
  -
  -        <field-descriptor
  -        name="someValue"
  -        column="SOMEVALUE"
  -        jdbc-type="INTEGER"/>
  -
  -        <field-descriptor
  -        name="containerId"
  -        column="CONTAINER_ID"
  -        jdbc-type="INTEGER"/>
  -    </class-descriptor>
  -
  -    <class-descriptor
  -    class="org.apache.ojb.broker.AbstractExtentClassTest$AbstractClassX">
  -
  -        <extent-class class-ref="org.apache.ojb.broker.AbstractExtentClassTest$AbstractClassY" />
  -
  -        <field-descriptor
  -        name="containerId"
  -        column="CONTAINER_ID"
  -        jdbc-type="INTEGER"/>
  -
  -        <field-descriptor
  -            name="name"
  -            column="NAME"
  -            jdbc-type="VARCHAR"
  -        />
  -    </class-descriptor>
  -
  -    <class-descriptor
  -    class="org.apache.ojb.broker.AbstractExtentClassTest$AbstractClassY">
  -
  -        <extent-class class-ref="org.apache.ojb.broker.AbstractExtentClassTest$ConcreteZZ" />
  -
  -        <field-descriptor
  -        name="containerId"
  -        column="CONTAINER_ID"
  -        jdbc-type="INTEGER"/>
  -
  -        <field-descriptor
  -            name="name"
  -            column="NAME"
  -            jdbc-type="VARCHAR"
  -        />
  -    </class-descriptor>
  -
  -    <class-descriptor
  -    class="org.apache.ojb.broker.AbstractExtentClassTest$ConcreteZZ"
  -    table="ABSTRACT_COLLECTION_ZZ">
  -
  -        <field-descriptor
  -        name="id"
  -        column="OBJ_ID"
  -        jdbc-type="INTEGER"
  -        primarykey="true"
  -        autoincrement="true"/>
  -
  -        <field-descriptor
  -        name="someValue"
  -        column="SOMEVALUE"
  -        jdbc-type="INTEGER"/>
  -
  -        <field-descriptor
  -        name="containerId"
  -        column="CONTAINER_ID"
  -        jdbc-type="INTEGER"/>
  -
  -        <field-descriptor
  -            name="name"
  -            column="NAME"
  -            jdbc-type="VARCHAR"
  -        />
  -
  -        <field-descriptor
  -            name="concreteZZName"
  -            column="ZZ_NAME"
  -            jdbc-type="VARCHAR"
  -        />
  -    </class-descriptor>
  -
  -    <class-descriptor
  -    class="org.apache.ojb.broker.AbstractExtentClassTest$XContainer"
  -    table="XCONTAINER">
  -        <field-descriptor
  -        name="id"
  -        column="OBJ_ID"
  -        jdbc-type="INTEGER"
  -        primarykey="true"
  -        autoincrement="true"/>
  -
  -        <collection-descriptor
  -        name="myXReferences"
  -        element-class-ref="org.apache.ojb.broker.AbstractExtentClassTest$AbstractIF_X"
  -        auto-retrieve="true"
  -        auto-update="true"
  -        auto-delete="false">
  -            <inverse-foreignkey field-ref="containerId"/>
  -        </collection-descriptor>
  -    </class-descriptor>
   
   
       <!-- ************************************************* -->
  
  
  
  1.1.2.1   +728 -0    db-ojb/src/test/org/apache/ojb/Attic/repository_junit_inheritance.xml
  
  
  
  

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


Mime
View raw message