You are viewing a plain text version of this content. The canonical link for it is here.
Posted to jdo-commits@db.apache.org by ti...@apache.org on 2025/11/24 20:45:11 UTC

(db-jdo) branch main updated: JDO-848 remove xml parser (#104)

This is an automated email from the ASF dual-hosted git repository.

tilmannz pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/db-jdo.git


The following commit(s) were added to refs/heads/main by this push:
     new 4b81ea77 JDO-848 remove xml parser (#104)
4b81ea77 is described below

commit 4b81ea7781b487eb6c26929b628b694cd4f80f0f
Author: Tilmann <ti...@apache.org>
AuthorDate: Mon Nov 24 21:45:06 2025 +0100

    JDO-848 remove xml parser (#104)
---
 README.md                                          |   2 +-
 exectck/pom.xml                                    |   4 -
 .../main/java/org/apache/jdo/exectck/Enhance.java  |   9 +-
 .../main/java/org/apache/jdo/exectck/RunTCK.java   |   2 +-
 parent-pom/pom.xml                                 |   6 -
 tck/RunRules.md                                    |   4 -
 tck/pom.xml                                        |   7 -
 .../org/apache/jdo/tck/AbstractReaderTest.java     |  12 +-
 ...InstanceManagedByAnotherPersistenceManager.java |   4 +-
 .../jdo/tck/mapping/AbstractRelationshipTest.java  |   2 +-
 .../apache/jdo/tck/mapping/CompletenessTest.java   |   4 +-
 .../jdo/tck/mapping/CompletenessTestJPA.java       |   4 +-
 .../jdo/tck/mapping/CompletenessTestList.java      |   4 +-
 .../jdo/tck/mapping/CompletenessTestMap.java       |   4 +-
 .../jdo/tck/mapping/CompletenessTestOrder.java     |   4 +-
 .../jdo/tck/pc/company/CompanyModelReader.java     |  56 +-
 .../jdo/tck/pc/company/data/CompanyDataSource.java |  23 +
 .../jdo/tck/pc/company/data/EmbeddedTestData.java  | 131 +++++
 .../tck/pc/company/data/NavigationTestData.java    | 307 +++++++++++
 .../jdo/tck/pc/company/data/QueryTestData.java     | 227 +++++++++
 .../tck/pc/company/data/Relationships1_1Data.java  | 162 ++++++
 .../tck/pc/company/data/Relationships1_MData.java  | 152 ++++++
 .../tck/pc/company/data/RelationshipsAllData.java  | 213 ++++++++
 .../tck/pc/company/data/RelationshipsM_MData.java  | 147 ++++++
 .../tck/pc/company/data/RelationshipsNoData.java   | 133 +++++
 .../tck/pc/company/data/SampleQueryTestData.java   | 234 +++++++++
 .../jdo/tck/pc/company/data/SubqueryTestData.java  | 183 +++++++
 .../companyListWithoutJoin/CompanyModelReader.java |  43 +-
 .../CompanyModelTestData.java                      | 101 ++++
 .../companyMapWithoutJoin/CompanyModelReader.java  |  56 +-
 .../CompanyModelTestData.java                      | 138 +++++
 .../org/apache/jdo/tck/pc/mylib/MylibReader.java   |  56 +-
 .../org/apache/jdo/tck/pc/mylib/MylibTestData.java |  71 +++
 .../java/org/apache/jdo/tck/pc/mylib/PCClass.java  |   8 +
 .../apache/jdo/tck/pc/order/OrderModelReader.java  |  54 +-
 .../order/OrderModelTestData.java}                 |  34 +-
 .../java/org/apache/jdo/tck/query/QueryTest.java   |   5 +-
 .../jdo/tck/query/api/SampleModifyQueries.java     |   2 +-
 .../jdo/tck/query/api/SampleReadQueries.java       |   2 +-
 .../query/jdoql/NavigationComparisonWithNull.java  |   2 +-
 .../jdoql/NavigationThroughACollectionField.java   |   2 +-
 .../jdoql/NavigationThroughANullValuedField.java   |   2 +-
 ...NavigationThroughReferencesUsesDotOperator.java |   2 +-
 .../tck/query/jdoql/subqueries/SubqueriesTest.java |   2 +-
 .../tck/query/jdoql/variables/StringVariables.java |   2 +-
 .../java/org/apache/jdo/tck/util/DataSource.java   |  42 ++
 .../org/apache/jdo/tck/util/DataSourceUtil.java    |  61 +++
 .../tck/util/DefaultListableInstanceFactory.java   |  56 ++
 .../apache/jdo/tck/util/JDOCustomDateEditor.java   |  10 +-
 .../org/apache/jdo/tck/util/jndi/MockContext.java  |   8 +-
 .../resources/conf/company1-1Relationships.conf    |   2 +-
 .../resources/conf/company1-MRelationships.conf    |   2 +-
 .../resources/conf/companyAllRelationships.conf    |   2 +-
 .../conf/companyAnnotated1-1RelationshipsFCPM.conf |   2 +-
 .../conf/companyAnnotated1-MRelationshipsFCPM.conf |   2 +-
 ...companyAnnotatedAllRelationshipsFCConcrete.conf |   2 +-
 .../conf/companyAnnotatedAllRelationshipsFCPM.conf |   2 +-
 ...ompanyAnnotatedAllRelationshipsJPAConcrete.conf |   2 +-
 .../companyAnnotatedAllRelationshipsJPAPM.conf     |   2 +-
 ...companyAnnotatedAllRelationshipsPCConcrete.conf |   2 +-
 .../conf/companyAnnotatedAllRelationshipsPCPM.conf |   2 +-
 .../conf/companyAnnotatedAllRelationshipsPIPM.conf |   2 +-
 .../conf/companyAnnotatedEmbeddedFCPM.conf         |   2 +-
 .../conf/companyAnnotatedEmbeddedJPAConcrete.conf  |   2 +-
 .../conf/companyAnnotatedEmbeddedJPAPM.conf        |   2 +-
 ...companyAnnotatedM-MRelationshipsFCConcrete.conf |   2 +-
 .../conf/companyAnnotatedM-MRelationshipsFCPM.conf |   2 +-
 .../companyAnnotatedNoRelationshipsFCConcrete.conf |   2 +-
 .../conf/companyAnnotatedNoRelationshipsFCPM.conf  |   2 +-
 .../companyAnnotatedNoRelationshipsPCConcrete.conf |   2 +-
 .../conf/companyAnnotatedNoRelationshipsPCPM.conf  |   2 +-
 .../conf/companyAnnotatedNoRelationshipsPIPM.conf  |   2 +-
 tck/src/main/resources/conf/companyEmbedded.conf   |   2 +-
 .../resources/conf/companyListWithoutJoin.conf     |   2 +-
 .../resources/conf/companyM-MRelationships.conf    |   2 +-
 .../main/resources/conf/companyMapWithoutJoin.conf |   2 +-
 .../resources/conf/companyNoRelationships.conf     |   2 +-
 ...mpanyOverrideAnnotatedAllRelationshipsFCPM.conf |   2 +-
 tck/src/main/resources/conf/companyPMClass.conf    |   2 +-
 .../main/resources/conf/companyPMInterface.conf    |   2 +-
 tck/src/main/resources/conf/compoundIdentity.conf  |   2 +-
 tck/src/main/resources/conf/inheritance1.conf      |   2 +-
 tck/src/main/resources/conf/inheritance2.conf      |   2 +-
 tck/src/main/resources/conf/inheritance3.conf      |   2 +-
 tck/src/main/resources/conf/inheritance4.conf      |   2 +-
 tck/src/main/resources/conf/iut-log4j.properties   |   6 -
 tck/src/main/resources/conf/iut-log4j2.xml         |  11 +-
 tck/src/main/resources/conf/jdori-log4j2.xml       |  11 +-
 tck/src/main/resources/conf/logging.properties     |   5 -
 .../conf/relationshipAllRelationships.conf         |   2 +-
 .../conf/relationshipNoRelationships.conf          |   2 +-
 tck/src/main/resources/conf/security.policy        |  16 -
 tck/src/main/resources/conf/simplelog.properties   |   5 -
 .../jdo/tck/pc/company/company1-1Relationships.xml | 239 ---------
 .../jdo/tck/pc/company/company1-MRelationships.xml | 238 ---------
 .../jdo/tck/pc/company/companyAllRelationships.xml | 406 ---------------
 .../apache/jdo/tck/pc/company/companyEmbedded.xml  | 212 --------
 .../tck/pc/company/companyForNavigationTests.xml   | 562 ---------------------
 .../jdo/tck/pc/company/companyForQueryTests.xml    | 437 ----------------
 .../tck/pc/company/companyForSampleQueriesTest.xml | 486 ------------------
 .../tck/pc/company/companyForSubqueriesTests.xml   | 282 -----------
 .../jdo/tck/pc/company/companyM-MRelationships.xml | 246 ---------
 .../jdo/tck/pc/company/companyNoRelationships.xml  | 152 ------
 .../companyListWithoutJoin.xml                     | 154 ------
 .../companyMapWithoutJoin.xml                      | 169 -------
 .../apache/jdo/tck/pc/mylib/mylibForQueryTests.xml |  80 ---
 .../testdata/org/apache/jdo/tck/pc/order/order.xml |  67 ---
 107 files changed, 2502 insertions(+), 4155 deletions(-)

diff --git a/README.md b/README.md
index bbe2e57a..3afdd442 100644
--- a/README.md
+++ b/README.md
@@ -158,7 +158,7 @@ While running the TCK, maven uses the following configuration files in src/conf:
 * test configuration files (*.conf). Each of these files sets values for
     * jdo.tck.testdescription : An optional string describing the purpose of these tests
     * jdo.tck.classes : A list of one or more test classes (required)
-    * jdo.tck.testdata : The fully qualified file name of the xml test data file(optional)
+    * jdo.tck.testdata : The fully qualified name of the class that creates test data (optional)
     * jdo.tck.mapping : The file designator that maven.xml uses to build a javax.jdo.option.Mapping value and corresponding schema name (required)
 * exclude.list  : A list of test classes NOT to execute during a TCK test run
 
diff --git a/exectck/pom.xml b/exectck/pom.xml
index c59d00b7..f307799c 100644
--- a/exectck/pom.xml
+++ b/exectck/pom.xml
@@ -62,10 +62,6 @@
             <groupId>javax.jdo</groupId>
             <artifactId>jdo-api</artifactId>
         </dependency>
-        <dependency>
-            <groupId>org.springframework</groupId>
-            <artifactId>spring-beans</artifactId>
-        </dependency>
         <dependency>
             <groupId>org.eclipse.persistence</groupId>
             <artifactId>javax.persistence</artifactId>
diff --git a/exectck/src/main/java/org/apache/jdo/exectck/Enhance.java b/exectck/src/main/java/org/apache/jdo/exectck/Enhance.java
index c7a6bbd7..e5611a6e 100644
--- a/exectck/src/main/java/org/apache/jdo/exectck/Enhance.java
+++ b/exectck/src/main/java/org/apache/jdo/exectck/Enhance.java
@@ -137,7 +137,7 @@ public class Enhance extends AbstractTCKMojo {
     }
 
     String[] metadataExtensions = {"jdo", "jdoquery", "orm", "xml", "properties"};
-    String[] srcDirs = {"jdo", "orm", "testdata"};
+    String[] srcDirs = {"jdo", "orm"};
     String classesDirName = buildDirectory + File.separator + "classes" + File.separator;
 
     // Copy metadata from src to enhanced
@@ -209,13 +209,6 @@ public class Enhance extends AbstractTCKMojo {
           File toFile = new File(enhancedDirName + File.separator + pkgName);
           toFileName = toFile.toString();
           FileUtils.copyFile(fromFile, toFile);
-        } else if (srcDir.equals("testdata")) {
-          startIdx = fromFileName.indexOf("org" + File.separator);
-          String pkgName = fromFileName.substring(startIdx);
-          File toFile =
-              new File(enhancedDirName + File.separator + idType + File.separator + pkgName);
-          toFileName = toFile.toString();
-          FileUtils.copyFile(fromFile, toFile);
         } else {
           // idType not in pathname, do not copy
         }
diff --git a/exectck/src/main/java/org/apache/jdo/exectck/RunTCK.java b/exectck/src/main/java/org/apache/jdo/exectck/RunTCK.java
index 0b5e1732..f3d76e58 100644
--- a/exectck/src/main/java/org/apache/jdo/exectck/RunTCK.java
+++ b/exectck/src/main/java/org/apache/jdo/exectck/RunTCK.java
@@ -103,7 +103,7 @@ public class RunTCK extends AbstractTCKMojo {
   private String cleanupaftertest;
 
   /** JVM properties. */
-  @Parameter(property = "jdo.tck.jvmproperties", defaultValue = "-Xmx512m")
+  @Parameter(property = "jdo.tck.jvmproperties", defaultValue = "-Xmx1g")
   private String jvmproperties;
 
   /** Location of tck log file. */
diff --git a/parent-pom/pom.xml b/parent-pom/pom.xml
index 3bf3632d..2b1abc49 100644
--- a/parent-pom/pom.xml
+++ b/parent-pom/pom.xml
@@ -175,7 +175,6 @@
         <version.javax.persistence>2.2.1</version.javax.persistence>
         <version.derby>10.14.2.0</version.derby>
         <version.commons-io>2.20.0</version.commons-io>
-        <version.spring-beans>5.3.39</version.spring-beans>
         <version.commons-logging>1.3.5</version.commons-logging>
         <version.glassfish-corba-omgapi>5.0.0</version.glassfish-corba-omgapi>
         <version.maven-changes-plugin>2.12.1</version.maven-changes-plugin>
@@ -258,11 +257,6 @@
                 <artifactId>commons-io</artifactId>
                 <version>${version.commons-io}</version>
             </dependency>
-            <dependency>
-                <groupId>org.springframework</groupId>
-                <artifactId>spring-beans</artifactId>
-                <version>${version.spring-beans}</version>
-            </dependency>
             <dependency>
                 <groupId>commons-logging</groupId>
                 <artifactId>commons-logging</artifactId>
diff --git a/tck/RunRules.md b/tck/RunRules.md
index 46ae879a..72fd85f4 100644
--- a/tck/RunRules.md
+++ b/tck/RunRules.md
@@ -91,10 +91,6 @@ files:
     -   `src` - this directory contains the test configuration files and
         directories:
 
-        -   `testdata` - this directory contains data (represented as .xml
-            files) loaded into the datastore for tests. These files must
-            not be modified.
-
         -   `sql` - this directory contains DDL to define the tables used
             in the tests. The files distributed must not be modified.
             Files may be created for databases for which the DDL for the
diff --git a/tck/pom.xml b/tck/pom.xml
index eb8d53f9..e4627adc 100644
--- a/tck/pom.xml
+++ b/tck/pom.xml
@@ -68,10 +68,6 @@
             <groupId>javax.transaction</groupId>
             <artifactId>javax.transaction-api</artifactId>
         </dependency>
-        <dependency>
-            <groupId>org.springframework</groupId>
-            <artifactId>spring-beans</artifactId>
-        </dependency>
         <dependency>
             <groupId>org.eclipse.persistence</groupId>
             <artifactId>javax.persistence</artifactId>
@@ -92,9 +88,6 @@
             <resource>
                 <directory>${basedir}/src/main/resources/sql</directory>
             </resource>
-            <resource>
-                <directory>${basedir}/src/main/resources/testdata</directory>
-            </resource>
             <resource>
                 <directory>${basedir}/src/main/resources/meta</directory>
             </resource>
diff --git a/tck/src/main/java/org/apache/jdo/tck/AbstractReaderTest.java b/tck/src/main/java/org/apache/jdo/tck/AbstractReaderTest.java
index e58504ad..23a28eb5 100644
--- a/tck/src/main/java/org/apache/jdo/tck/AbstractReaderTest.java
+++ b/tck/src/main/java/org/apache/jdo/tck/AbstractReaderTest.java
@@ -24,7 +24,7 @@ import java.util.List;
 import java.util.Map;
 import javax.jdo.JDOFatalInternalException;
 import javax.jdo.LegacyJava;
-import org.springframework.beans.factory.support.DefaultListableBeanFactory;
+import org.apache.jdo.tck.util.DefaultListableInstanceFactory;
 
 /*
  * Abstract class for managed relationship tests
@@ -37,8 +37,8 @@ public abstract class AbstractReaderTest extends JDO_Test {
   /** The name of the root object in the bean collection. */
   protected static final String ROOT_NAME = "root";
 
-  /** The name of the file containing the bean collection (test data). */
-  protected final String inputFilename = System.getProperty("jdo.tck.testdata");
+  /** The name of the class that creates the test data). */
+  protected final String inputClassname = System.getProperty("jdo.tck.testdata");
 
   /** The map of String (bean name) to Object (bean). */
   protected final Map<String, Object> oidMap = new HashMap<>();
@@ -50,12 +50,12 @@ public abstract class AbstractReaderTest extends JDO_Test {
    * @param name the name of the bean
    * @return the named object
    */
-  protected Object getBean(final DefaultListableBeanFactory factory, final String name) {
+  protected Object getBean(final DefaultListableInstanceFactory factory, final String name) {
     return doPrivileged(() -> factory.getBean(name));
   }
 
   protected <T> T getBean(
-      final DefaultListableBeanFactory factory, Class<T> clazz, final String name) {
+      final DefaultListableInstanceFactory factory, Class<T> clazz, final String name) {
     return doPrivileged(() -> factory.getBean(name, clazz));
   }
 
@@ -78,7 +78,7 @@ public abstract class AbstractReaderTest extends JDO_Test {
    * @return the List of objects
    */
   @SuppressWarnings("unchecked")
-  protected List<Object> getRootList(DefaultListableBeanFactory factory) {
+  protected List<Object> getRootList(DefaultListableInstanceFactory factory) {
     return (List<Object>) getBean(factory, ROOT_NAME);
   }
 
diff --git a/tck/src/main/java/org/apache/jdo/tck/api/persistencemanager/DeletePersistentFailsIfInstanceManagedByAnotherPersistenceManager.java b/tck/src/main/java/org/apache/jdo/tck/api/persistencemanager/DeletePersistentFailsIfInstanceManagedByAnotherPersistenceManager.java
index 21ee3ded..6e59880d 100644
--- a/tck/src/main/java/org/apache/jdo/tck/api/persistencemanager/DeletePersistentFailsIfInstanceManagedByAnotherPersistenceManager.java
+++ b/tck/src/main/java/org/apache/jdo/tck/api/persistencemanager/DeletePersistentFailsIfInstanceManagedByAnotherPersistenceManager.java
@@ -92,7 +92,7 @@ public class DeletePersistentFailsIfInstanceManagedByAnotherPersistenceManager
 
       pcPointArray = new PCPoint[2];
       pcPointArray[0] = p4;
-      pcPointArray[0] = p5;
+      pcPointArray[1] = p5;
       tx.commit();
     } finally {
       if ((tx != null) && tx.isActive()) tx.rollback();
@@ -145,7 +145,7 @@ public class DeletePersistentFailsIfInstanceManagedByAnotherPersistenceManager
       tx.begin();
 
       try {
-        pm.deletePersistentAll(pcPointArray);
+        pm.deletePersistentAll((Object[]) pcPointArray);
         fail(
             ASSERTION_FAILED,
             "pm.deletePersistent(Object[]) with pc instance(s) managed by another pm should throw exception");
diff --git a/tck/src/main/java/org/apache/jdo/tck/mapping/AbstractRelationshipTest.java b/tck/src/main/java/org/apache/jdo/tck/mapping/AbstractRelationshipTest.java
index e54a964d..6acd8b40 100644
--- a/tck/src/main/java/org/apache/jdo/tck/mapping/AbstractRelationshipTest.java
+++ b/tck/src/main/java/org/apache/jdo/tck/mapping/AbstractRelationshipTest.java
@@ -44,7 +44,7 @@ public class AbstractRelationshipTest extends AbstractReaderTest {
     if (isTestToBePerformed()) {
       getPM();
       CompanyFactoryRegistry.registerFactory(pm);
-      reader = new CompanyModelReader(inputFilename);
+      reader = new CompanyModelReader(inputClassname);
       addTearDownClass(reader.getTearDownClassesFromFactory());
       // persist test data
       pm.currentTransaction().begin();
diff --git a/tck/src/main/java/org/apache/jdo/tck/mapping/CompletenessTest.java b/tck/src/main/java/org/apache/jdo/tck/mapping/CompletenessTest.java
index 6e32e391..56e89e91 100644
--- a/tck/src/main/java/org/apache/jdo/tck/mapping/CompletenessTest.java
+++ b/tck/src/main/java/org/apache/jdo/tck/mapping/CompletenessTest.java
@@ -45,7 +45,7 @@ public class CompletenessTest extends AbstractReaderTest {
     if (isTestToBePerformed()) {
       getPM();
       CompanyFactoryRegistry.registerFactory(pm);
-      CompanyModelReader reader = new CompanyModelReader(inputFilename);
+      CompanyModelReader reader = new CompanyModelReader(inputClassname);
       addTearDownClass(reader.getTearDownClassesFromFactory());
       // persist test data
       pm.currentTransaction().begin();
@@ -67,7 +67,7 @@ public class CompletenessTest extends AbstractReaderTest {
       // register the default factory
       CompanyFactoryRegistry.registerFactory();
       // get new obj graph to compare persistent graph with
-      CompanyModelReader reader = new CompanyModelReader(inputFilename);
+      CompanyModelReader reader = new CompanyModelReader(inputClassname);
       List<Object> rootList = getRootList(reader);
 
       getPM();
diff --git a/tck/src/main/java/org/apache/jdo/tck/mapping/CompletenessTestJPA.java b/tck/src/main/java/org/apache/jdo/tck/mapping/CompletenessTestJPA.java
index 8c157b07..0126834a 100644
--- a/tck/src/main/java/org/apache/jdo/tck/mapping/CompletenessTestJPA.java
+++ b/tck/src/main/java/org/apache/jdo/tck/mapping/CompletenessTestJPA.java
@@ -48,7 +48,7 @@ public class CompletenessTestJPA extends AbstractReaderTest {
     if (runsWithApplicationIdentity()) {
       getPM();
       CompanyFactoryRegistry.registerFactory(pm);
-      CompanyModelReader reader = new CompanyModelReader(inputFilename);
+      CompanyModelReader reader = new CompanyModelReader(inputClassname);
       addTearDownClass(reader.getTearDownClassesFromFactory());
       // persist test data
       pm.currentTransaction().begin();
@@ -70,7 +70,7 @@ public class CompletenessTestJPA extends AbstractReaderTest {
       // register the default factory
       CompanyFactoryRegistry.registerFactory();
       // get new obj graph to compare persistent graph with
-      CompanyModelReader reader = new CompanyModelReader(inputFilename);
+      CompanyModelReader reader = new CompanyModelReader(inputClassname);
       List<Object> rootList = getRootList(reader);
 
       getPM();
diff --git a/tck/src/main/java/org/apache/jdo/tck/mapping/CompletenessTestList.java b/tck/src/main/java/org/apache/jdo/tck/mapping/CompletenessTestList.java
index 942fdddb..ae020406 100644
--- a/tck/src/main/java/org/apache/jdo/tck/mapping/CompletenessTestList.java
+++ b/tck/src/main/java/org/apache/jdo/tck/mapping/CompletenessTestList.java
@@ -48,7 +48,7 @@ public class CompletenessTestList extends AbstractReaderTest {
     if (isTestToBePerformed) {
       getPM();
       CompanyFactoryRegistry.registerFactory(pm);
-      CompanyModelReader reader = new CompanyModelReader(inputFilename);
+      CompanyModelReader reader = new CompanyModelReader(inputClassname);
       addTearDownClass(reader.getTearDownClassesFromFactory());
       // persist test data
       pm.currentTransaction().begin();
@@ -70,7 +70,7 @@ public class CompletenessTestList extends AbstractReaderTest {
       // register the default factory
       CompanyFactoryRegistry.registerFactory();
       // get new obj graph to compare persistent graph with
-      CompanyModelReader reader = new CompanyModelReader(inputFilename);
+      CompanyModelReader reader = new CompanyModelReader(inputClassname);
       List<Object> rootList = getRootList(reader);
 
       getPM();
diff --git a/tck/src/main/java/org/apache/jdo/tck/mapping/CompletenessTestMap.java b/tck/src/main/java/org/apache/jdo/tck/mapping/CompletenessTestMap.java
index c32ed40a..99890a97 100644
--- a/tck/src/main/java/org/apache/jdo/tck/mapping/CompletenessTestMap.java
+++ b/tck/src/main/java/org/apache/jdo/tck/mapping/CompletenessTestMap.java
@@ -48,7 +48,7 @@ public class CompletenessTestMap extends AbstractReaderTest {
     if (isTestToBePerformed) {
       getPM();
       CompanyFactoryRegistry.registerFactory(pm);
-      CompanyModelReader reader = new CompanyModelReader(inputFilename);
+      CompanyModelReader reader = new CompanyModelReader(inputClassname);
       addTearDownClass(reader.getTearDownClassesFromFactory());
       // persist test data
       pm.currentTransaction().begin();
@@ -70,7 +70,7 @@ public class CompletenessTestMap extends AbstractReaderTest {
       // register the default factory
       CompanyFactoryRegistry.registerFactory();
       // get new obj graph to compare persistent graph with
-      CompanyModelReader reader = new CompanyModelReader(inputFilename);
+      CompanyModelReader reader = new CompanyModelReader(inputClassname);
       List<Object> rootList = getRootList(reader);
 
       getPM();
diff --git a/tck/src/main/java/org/apache/jdo/tck/mapping/CompletenessTestOrder.java b/tck/src/main/java/org/apache/jdo/tck/mapping/CompletenessTestOrder.java
index 0e468275..bfb5ae52 100644
--- a/tck/src/main/java/org/apache/jdo/tck/mapping/CompletenessTestOrder.java
+++ b/tck/src/main/java/org/apache/jdo/tck/mapping/CompletenessTestOrder.java
@@ -48,7 +48,7 @@ public class CompletenessTestOrder extends AbstractReaderTest {
     if (runsWithApplicationIdentity()) {
       getPM();
       OrderFactoryRegistry.registerFactory(pm);
-      OrderModelReader reader = new OrderModelReader(inputFilename);
+      OrderModelReader reader = new OrderModelReader(inputClassname);
       addTearDownClass(reader.getTearDownClassesFromFactory());
       // persist test data
       pm.currentTransaction().begin();
@@ -70,7 +70,7 @@ public class CompletenessTestOrder extends AbstractReaderTest {
       // register the default factory
       OrderFactoryRegistry.registerFactory();
       // get new obj graph to compare persistent graph with
-      OrderModelReader reader = new OrderModelReader(inputFilename);
+      OrderModelReader reader = new OrderModelReader(inputClassname);
       List<Object> rootList = getRootList(reader);
 
       getPM();
diff --git a/tck/src/main/java/org/apache/jdo/tck/pc/company/CompanyModelReader.java b/tck/src/main/java/org/apache/jdo/tck/pc/company/CompanyModelReader.java
index 04d7dab6..7c978aff 100644
--- a/tck/src/main/java/org/apache/jdo/tck/pc/company/CompanyModelReader.java
+++ b/tck/src/main/java/org/apache/jdo/tck/pc/company/CompanyModelReader.java
@@ -18,34 +18,20 @@
 package org.apache.jdo.tck.pc.company;
 
 import java.util.Date;
-import java.util.List;
 import java.util.Locale;
 import org.apache.jdo.tck.util.ConversionHelper;
+import org.apache.jdo.tck.util.DefaultListableInstanceFactory;
 import org.apache.jdo.tck.util.JDOCustomDateEditor;
-import org.springframework.beans.factory.support.DefaultListableBeanFactory;
-import org.springframework.beans.factory.xml.XmlBeanDefinitionReader;
-import org.springframework.core.io.ClassPathResource;
 
 /**
  * Utility class to create a graph of company model instances from an xml representation.
  *
  * @author Michael Bouschen
  */
-public class CompanyModelReader extends DefaultListableBeanFactory {
-
-  private static final long serialVersionUID = 1L;
-
-  /** The name of the root list bean. */
-  public static final String ROOT_LIST_NAME = "root";
-
-  /** The bean-factory name in the xml input files. */
-  public static final String BEAN_FACTORY_NAME = "companyFactory";
+public class CompanyModelReader extends DefaultListableInstanceFactory {
 
   /** The company factory instance. */
-  private CompanyFactory companyFactory;
-
-  /** Bean definition reader */
-  private final XmlBeanDefinitionReader reader;
+  private final CompanyFactory companyFactory;
 
   /**
    * Create a CompanyModelReader for the specified resourceName.
@@ -53,42 +39,8 @@ public class CompanyModelReader extends DefaultListableBeanFactory {
    * @param resourceName the name of the resource
    */
   public CompanyModelReader(String resourceName) {
-    // Use the class loader of the Company class to find the resource
-    this(resourceName, Company.class.getClassLoader());
-  }
-
-  /**
-   * Create a CompanyModelReader for the specified resourceName.
-   *
-   * @param resourceName the name of the resource
-   * @param classLoader the ClassLoader for the lookup
-   */
-  public CompanyModelReader(String resourceName, ClassLoader classLoader) {
-    super();
-    configureFactory();
-    this.reader = new XmlBeanDefinitionReader(this);
-    this.reader.loadBeanDefinitions(new ClassPathResource(resourceName, classLoader));
-  }
-
-  /**
-   * Returns a list of root objects. The method expects to find a bean called "root" of type list in
-   * the xml and returns it.
-   *
-   * @return a list of root instances
-   */
-  @SuppressWarnings("unchecked")
-  public List<Object> getRootList() {
-    return (List<Object>) getBean(ROOT_LIST_NAME);
-  }
-
-  /**
-   * Configure the CompanyModelReader, e.g. register CustomEditor classes to convert the string
-   * representation of a property into an instance of the right type.
-   */
-  private void configureFactory() {
-    registerCustomEditor(Date.class, JDOCustomDateEditor.class);
     companyFactory = CompanyFactoryRegistry.getInstance();
-    addSingleton(BEAN_FACTORY_NAME, companyFactory);
+    getDataSource(resourceName).init(companyFactory, this);
   }
 
   /**
diff --git a/tck/src/main/java/org/apache/jdo/tck/pc/company/data/CompanyDataSource.java b/tck/src/main/java/org/apache/jdo/tck/pc/company/data/CompanyDataSource.java
new file mode 100644
index 00000000..9c4239ce
--- /dev/null
+++ b/tck/src/main/java/org/apache/jdo/tck/pc/company/data/CompanyDataSource.java
@@ -0,0 +1,23 @@
+/*
+ * Licensed to the Apache Software Foundation (ASF) under one or more
+ * contributor license agreements.  See the NOTICE file distributed with
+ * this work for additional information regarding copyright ownership.
+ * The ASF licenses this file to You under the Apache License, Version 2.0
+ * (the "License"); you may not use this file except in compliance with
+ * the License.  You may obtain a copy of the License at
+ *
+ *     https://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+
+package org.apache.jdo.tck.pc.company.data;
+
+import org.apache.jdo.tck.pc.company.CompanyFactory;
+import org.apache.jdo.tck.util.DataSource;
+
+public interface CompanyDataSource extends DataSource<CompanyFactory> {}
diff --git a/tck/src/main/java/org/apache/jdo/tck/pc/company/data/EmbeddedTestData.java b/tck/src/main/java/org/apache/jdo/tck/pc/company/data/EmbeddedTestData.java
new file mode 100644
index 00000000..478e3bed
--- /dev/null
+++ b/tck/src/main/java/org/apache/jdo/tck/pc/company/data/EmbeddedTestData.java
@@ -0,0 +1,131 @@
+/*
+ * Licensed to the Apache Software Foundation (ASF) under one or more
+ * contributor license agreements.  See the NOTICE file distributed with
+ * this work for additional information regarding copyright ownership.
+ * The ASF licenses this file to You under the Apache License, Version 2.0
+ * (the "License"); you may not use this file except in compliance with
+ * the License.  You may obtain a copy of the License at
+ *
+ *     https://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+
+package org.apache.jdo.tck.pc.company.data;
+
+import static org.apache.jdo.tck.util.DataSourceUtil.date;
+import static org.apache.jdo.tck.util.DataSourceUtil.toMap;
+import static org.apache.jdo.tck.util.DataSourceUtil.toSet;
+
+import java.math.BigDecimal;
+import org.apache.jdo.tck.pc.company.CompanyFactory;
+import org.apache.jdo.tck.pc.company.IAddress;
+import org.apache.jdo.tck.pc.company.ICompany;
+import org.apache.jdo.tck.pc.company.IDentalInsurance;
+import org.apache.jdo.tck.pc.company.IDepartment;
+import org.apache.jdo.tck.pc.company.IFullTimeEmployee;
+import org.apache.jdo.tck.pc.company.IMedicalInsurance;
+import org.apache.jdo.tck.pc.company.IPartTimeEmployee;
+import org.apache.jdo.tck.pc.company.IProject;
+import org.apache.jdo.tck.util.DefaultListableInstanceFactory;
+
+public class EmbeddedTestData implements CompanyDataSource {
+
+  @Override
+  public void init(CompanyFactory factory, DefaultListableInstanceFactory registry) {
+    IAddress addr1 =
+        factory.newAddress(1, "Unter den Linden 1", "Berlin", "  ", "12345", "Germany");
+    IAddress addr2 = factory.newAddress(2, "Broadway 1", "New York", "NY", "10000", "USA");
+    IAddress addr3 = factory.newAddress(3, "Market St.", "San Francisco", "CA", "94102", "USA");
+
+    // Insurance constructors
+    IMedicalInsurance medicalIns1 = factory.newMedicalInsurance(1, "Carrier1", "PPO");
+    IMedicalInsurance medicalIns2 = factory.newMedicalInsurance(2, "Carrier2", "HMO");
+    IMedicalInsurance medicalIns3 = factory.newMedicalInsurance(3, "Carrier3", "HMO");
+    IDentalInsurance dentalIns1 =
+        factory.newDentalInsurance(4, "Carrier2", BigDecimal.valueOf(99.999));
+
+    // Project constructors
+    IProject proj1 = factory.newProject(1, "orange", BigDecimal.valueOf(2500000.99));
+    IProject proj2 = factory.newProject(2, "blue", BigDecimal.valueOf(50000.00));
+    IProject proj3 = factory.newProject(3, "green", BigDecimal.valueOf(2000.99));
+
+    // Company constructor
+    ICompany company1 = factory.newCompany(1L, "Sun Microsystems, Inc.", date(1952, 4, 11), addr1);
+
+    // Meeting room constructors
+
+    // Department Constructors
+    IDepartment dept1 = factory.newDepartment(1, "Development", company1);
+    IDepartment dept2 = factory.newDepartment(2, "Human Resources", company1);
+    company1.setDepartments(toSet(dept1, dept2));
+
+    // Employee Constructors
+    IFullTimeEmployee emp1 =
+        factory.newFullTimeEmployee(
+            1, "emp1First", "emp1Last", "emp1Middle", null, addr1, null, 20000);
+    emp1.setBirthdate(date(1970, 6, 10));
+    emp1.setHiredate(date(1999, 1, 1));
+    IFullTimeEmployee emp2 =
+        factory.newFullTimeEmployee(
+            2, "emp2First", "emp2Last", "emp2Middle", null, addr2, null, 10000);
+    emp2.setBirthdate(date(1975, 12, 22));
+    emp2.setHiredate(date(2003, 7, 1));
+    IPartTimeEmployee emp3 =
+        factory.newPartTimeEmployee(
+            3, "emp3First", "emp3Last", "emp3Middle", null, addr3, null, 15);
+    emp3.setBirthdate(date(1972, 7, 5));
+    emp3.setHiredate(date(2002, 8, 15));
+    IPartTimeEmployee emp4 =
+        factory.newPartTimeEmployee(
+            4, "emp4First", "emp4Last", "emp4Middle", null, addr3, null, 13);
+    emp4.setBirthdate(date(1973, 7, 6));
+    emp4.setHiredate(date(2001, 4, 15));
+    IFullTimeEmployee emp5 =
+        factory.newFullTimeEmployee(
+            5, "emp5First", "emp5Last", "emp5Middle", null, addr3, null, 45000);
+    emp5.setBirthdate(date(1962, 7, 5));
+    emp5.setHiredate(date(1998, 8, 15));
+
+    // Employee properties
+    emp1.setWeeklyhours(40);
+    emp1.setPhoneNumbers(toMap("home", "1111", "work", "123456-1"));
+
+    emp2.setWeeklyhours(40);
+    emp2.setPhoneNumbers(toMap("home", "2222", "work", "123456-2"));
+
+    emp3.setWeeklyhours(19);
+    emp3.setPhoneNumbers(toMap("home", "3333", "work", "123456-3"));
+
+    emp4.setPhoneNumbers(toMap("home", "3343", "work", "124456-3"));
+
+    emp5.setPhoneNumbers(toMap("home", "3363", "work", "126456-3"));
+
+    // Department properties
+
+    // Insurance properties
+
+    // Project properties
+
+    // root objects
+    registry.register("company1", company1);
+    registry.register("dept1", dept1);
+    registry.register("dept2", dept2);
+    registry.register("emp1", emp1);
+    registry.register("emp2", emp2);
+    registry.register("emp3", emp3);
+    registry.register("emp4", emp4);
+    registry.register("emp5", emp5);
+    registry.register("medicalIns1", medicalIns1);
+    registry.register("medicalIns2", medicalIns2);
+    registry.register("medicalIns3", medicalIns3);
+    registry.register("dentalIns1", dentalIns1);
+    registry.register("proj1", proj1);
+    registry.register("proj2", proj2);
+    registry.register("proj3", proj3);
+  }
+}
diff --git a/tck/src/main/java/org/apache/jdo/tck/pc/company/data/NavigationTestData.java b/tck/src/main/java/org/apache/jdo/tck/pc/company/data/NavigationTestData.java
new file mode 100644
index 00000000..1c7bbf3f
--- /dev/null
+++ b/tck/src/main/java/org/apache/jdo/tck/pc/company/data/NavigationTestData.java
@@ -0,0 +1,307 @@
+/*
+ * Licensed to the Apache Software Foundation (ASF) under one or more
+ * contributor license agreements.  See the NOTICE file distributed with
+ * this work for additional information regarding copyright ownership.
+ * The ASF licenses this file to You under the Apache License, Version 2.0
+ * (the "License"); you may not use this file except in compliance with
+ * the License.  You may obtain a copy of the License at
+ *
+ *     https://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+
+package org.apache.jdo.tck.pc.company.data;
+
+import static org.apache.jdo.tck.util.DataSourceUtil.date;
+import static org.apache.jdo.tck.util.DataSourceUtil.toMap;
+import static org.apache.jdo.tck.util.DataSourceUtil.toSet;
+
+import java.math.BigDecimal;
+import org.apache.jdo.tck.pc.company.CompanyFactory;
+import org.apache.jdo.tck.pc.company.IAddress;
+import org.apache.jdo.tck.pc.company.ICompany;
+import org.apache.jdo.tck.pc.company.IDentalInsurance;
+import org.apache.jdo.tck.pc.company.IDepartment;
+import org.apache.jdo.tck.pc.company.IFullTimeEmployee;
+import org.apache.jdo.tck.pc.company.IMedicalInsurance;
+import org.apache.jdo.tck.pc.company.IMeetingRoom;
+import org.apache.jdo.tck.pc.company.IPartTimeEmployee;
+import org.apache.jdo.tck.pc.company.IProject;
+import org.apache.jdo.tck.util.DefaultListableInstanceFactory;
+
+public class NavigationTestData implements CompanyDataSource {
+
+  @Override
+  public void init(CompanyFactory factory, DefaultListableInstanceFactory registry) {
+    IAddress addr1 =
+        factory.newAddress(1, "Unter den Linden 1", "Berlin", "  ", "12345", "Germany");
+    IAddress addr2 = factory.newAddress(2, "Broadway 1", "New York", "NY", "10000", "USA");
+    IAddress addr3 = factory.newAddress(3, "Market St.", "San Francisco", "CA", "94102", "USA");
+
+    // Insurance constructors
+    IMedicalInsurance medicalIns1 = factory.newMedicalInsurance(1, "Carrier1", "PPO");
+    IMedicalInsurance medicalIns2 = factory.newMedicalInsurance(2, "Carrier2", "HMO");
+    IMedicalInsurance medicalIns3 = factory.newMedicalInsurance(3, "Carrier3", "HMO");
+    IMedicalInsurance medicalIns4 = factory.newMedicalInsurance(4, "Carrier4", "HMO");
+    IMedicalInsurance medicalIns5 = factory.newMedicalInsurance(5, "Carrier5", "HMO");
+    IMedicalInsurance medicalIns98 = factory.newMedicalInsurance(98, "Carrier98", "HMO");
+    IDentalInsurance dentalIns1 =
+        factory.newDentalInsurance(11, "Carrier1", BigDecimal.valueOf(99.995));
+    IDentalInsurance dentalIns2 =
+        factory.newDentalInsurance(12, "Carrier2", BigDecimal.valueOf(99.996));
+    IDentalInsurance dentalIns3 =
+        factory.newDentalInsurance(13, "Carrier3", BigDecimal.valueOf(99.997));
+    IDentalInsurance dentalIns4 =
+        factory.newDentalInsurance(14, "Carrier4", BigDecimal.valueOf(99.998));
+    IDentalInsurance dentalIns5 =
+        factory.newDentalInsurance(15, "Carrier5", BigDecimal.valueOf(99.999));
+    IDentalInsurance dentalIns99 = factory.newDentalInsurance(99, "Carrier99", null);
+
+    // Project constructors
+    IProject proj1 = factory.newProject(1, "orange", BigDecimal.valueOf(2500000.99));
+    IProject proj2 = factory.newProject(2, "blue", BigDecimal.valueOf(50000.00));
+    IProject proj3 = factory.newProject(3, "green", BigDecimal.valueOf(2000.99));
+
+    // Company constructor
+    ICompany company1 = factory.newCompany(1L, "Sun Microsystems, Inc.", date(1952, 4, 11), addr1);
+
+    // Meeting room constructors
+    IMeetingRoom room1 = factory.newMeetingRoom(1, "Comfy Room");
+    IMeetingRoom room2 = factory.newMeetingRoom(2, "Large Discussion Room");
+    IMeetingRoom room3 = factory.newMeetingRoom(3, "Conference Room");
+
+    // Department Constructors
+    IDepartment dept1 = factory.newDepartment(1, "Development", company1);
+    IDepartment dept2 = factory.newDepartment(2, "Human Resources", company1);
+    company1.setDepartments(toSet(dept1, dept2));
+
+    // Employee Constructors
+    IFullTimeEmployee emp0 =
+        factory.newFullTimeEmployee(
+            0, "emp0First", "emp0Last", "emp0Middle", null, addr1, null, 50000);
+    emp0.setBirthdate(date(1962, 7, 10));
+    emp0.setHiredate(date(1997, 1, 1));
+    IFullTimeEmployee emp1 =
+        factory.newFullTimeEmployee(
+            1, "emp1First", "emp1Last", "emp1Middle", null, addr1, null, 20000);
+    emp1.setBirthdate(date(1970, 6, 10));
+    emp1.setHiredate(date(1999, 1, 1));
+    IFullTimeEmployee emp2 =
+        factory.newFullTimeEmployee(
+            2, "emp2First", "emp2Last", "emp2Middle", null, addr2, null, 10000);
+    emp2.setBirthdate(date(1975, 12, 22));
+    emp2.setHiredate(date(2003, 7, 1));
+    IPartTimeEmployee emp3 =
+        factory.newPartTimeEmployee(
+            3, "emp3First", "emp3Last", "emp3Middle", null, addr3, null, 15);
+    emp3.setBirthdate(date(1972, 7, 5));
+    emp3.setHiredate(date(2002, 8, 15));
+    IPartTimeEmployee emp4 =
+        factory.newPartTimeEmployee(
+            4, "emp4First", "emp4Last", "emp4Middle", null, addr3, null, 25000);
+    emp4.setBirthdate(date(1973, 7, 6));
+    emp4.setHiredate(date(2001, 4, 15));
+    IFullTimeEmployee emp5 =
+        factory.newFullTimeEmployee(
+            5, "emp5First", "emp5Last", "emp5Middle", null, addr3, null, 18000);
+    emp5.setBirthdate(date(1962, 7, 5));
+    emp5.setHiredate(date(2002, 11, 1));
+    IFullTimeEmployee emp6 =
+        factory.newFullTimeEmployee(
+            6, "emp6First", "emp6Last", "emp6Middle", null, addr3, null, 22000);
+    emp6.setBirthdate(date(1969, 6, 10));
+    emp6.setHiredate(date(2002, 6, 1));
+    IFullTimeEmployee emp7 =
+        factory.newFullTimeEmployee(
+            7, "emp7First", "emp7Last", "emp7Middle", null, addr1, null, 40000);
+    emp7.setBirthdate(date(1970, 6, 10));
+    emp7.setHiredate(date(2000, 1, 1));
+    IFullTimeEmployee emp8 =
+        factory.newFullTimeEmployee(
+            8, "emp8First", "emp8Last", "emp8Middle", null, addr2, null, 10000);
+    emp8.setBirthdate(date(1975, 12, 22));
+    emp8.setHiredate(date(2003, 8, 1));
+    IFullTimeEmployee emp9 =
+        factory.newFullTimeEmployee(
+            9, "emp9First", "emp9Last", "emp9Middle", null, addr3, null, 12000);
+    emp9.setBirthdate(date(1972, 7, 5));
+    emp9.setHiredate(date(2002, 5, 1));
+    IFullTimeEmployee emp10 =
+        factory.newFullTimeEmployee(
+            10, "emp10First", "emp10Last", "emp10Middle", null, addr3, null, 24000);
+    emp10.setBirthdate(date(1972, 7, 5));
+    emp10.setHiredate(date(2002, 10, 1));
+
+    // Employee properties
+    emp0.setWeeklyhours(40);
+    emp0.setMedicalInsurance(null);
+    emp0.setDentalInsurance(null);
+    emp0.setPhoneNumbers(toMap("home", "3232", "work", "223311-1"));
+    emp0.setDepartment(dept1);
+    emp0.setFundingDept(dept2);
+    emp0.setManager(null);
+    emp0.setTeam(toSet(emp1));
+    emp0.setMentor(null);
+    emp0.setProtege(null);
+    emp0.setHradvisor(emp5);
+    emp0.setReviewedProjects(toSet(proj3));
+    emp0.setProjects(toSet(proj1));
+
+    emp1.setWeeklyhours(40);
+    emp1.setMedicalInsurance(medicalIns1);
+    emp1.setDentalInsurance(dentalIns1);
+    emp1.setPhoneNumbers(toMap("home", "1111", "work", "123456-1"));
+    emp1.setDepartment(dept1);
+    emp1.setFundingDept(dept2);
+    emp1.setManager(emp2);
+    emp1.setTeam(toSet(emp2, emp3, emp10));
+    emp1.setMentor(emp2);
+    emp1.setProtege(emp5);
+    emp1.setHradvisor(emp5);
+    emp1.setReviewedProjects(toSet(proj3));
+    emp1.setProjects(toSet(proj1));
+
+    emp2.setWeeklyhours(40);
+    emp2.setMedicalInsurance(medicalIns2);
+    emp2.setDentalInsurance(dentalIns2);
+    emp2.setPhoneNumbers(toMap("home", "2222", "work", "123456-2"));
+    emp2.setDepartment(dept1);
+    emp2.setFundingDept(dept1);
+    emp2.setMentor(emp3);
+    emp2.setProtege(emp1);
+    emp2.setHradvisor(emp5);
+    emp2.setProjects(toSet(proj1, proj2));
+
+    emp3.setWeeklyhours(19);
+    emp3.setMedicalInsurance(medicalIns3);
+    emp3.setDentalInsurance(dentalIns3);
+    emp3.setPhoneNumbers(toMap("home", "3333", "work", "123456-3"));
+    emp3.setDepartment(dept1);
+    emp3.setFundingDept(dept1);
+    emp3.setManager(emp1);
+    emp3.setTeam(toSet());
+    emp3.setMentor(emp4);
+    emp3.setProtege(emp2);
+    emp3.setHradvisor(emp5);
+    emp3.setProjects(toSet(proj1, proj2));
+
+    emp4.setWeeklyhours(40);
+    emp4.setMedicalInsurance(medicalIns4);
+    emp4.setDentalInsurance(dentalIns4);
+    emp4.setPhoneNumbers(toMap("home", "3343", "work", "124456-3"));
+    emp4.setDepartment(dept1);
+    emp4.setFundingDept(dept2);
+    emp4.setManager(null);
+    emp4.setTeam(toSet(emp5, emp6));
+    emp4.setMentor(emp5);
+    emp4.setProtege(emp3);
+    emp4.setHradvisor(emp5);
+    emp4.setProjects(toSet(proj3));
+    emp4.setReviewedProjects(toSet(proj2));
+
+    emp5.setWeeklyhours(35);
+    emp5.setMedicalInsurance(medicalIns5);
+    emp5.setDentalInsurance(dentalIns5);
+    emp5.setPhoneNumbers(toMap("home", "3363", "work", "126456-3"));
+    emp5.setDepartment(dept1);
+    emp5.setFundingDept(dept2);
+    emp5.setManager(emp4);
+    emp5.setTeam(toSet());
+    emp5.setMentor(emp1);
+    emp5.setProtege(emp4);
+    emp5.setProjects(toSet(proj3));
+    emp5.setReviewedProjects(toSet(proj2));
+    emp5.setHradvisees(toSet(emp1, emp2, emp3, emp4));
+
+    emp6.setWeeklyhours(60);
+    emp6.setDepartment(dept1);
+    emp6.setManager(emp4);
+    emp6.setTeam(toSet());
+
+    emp7.setWeeklyhours(40);
+    emp7.setDepartment(dept2);
+    emp7.setManager(null);
+    emp7.setTeam(toSet(emp8, emp9));
+
+    emp8.setWeeklyhours(15);
+    emp8.setDepartment(dept2);
+    emp8.setManager(emp7);
+    emp8.setTeam(toSet());
+
+    emp9.setWeeklyhours(20);
+    emp9.setDepartment(dept2);
+    emp9.setManager(emp7);
+    emp9.setTeam(toSet());
+
+    emp10.setWeeklyhours(40);
+    emp10.setDepartment(dept2);
+    emp10.setManager(emp1);
+    emp10.setTeam(toSet());
+
+    // Department properties
+    dept1.setEmployees(toSet(emp1, emp2, emp3, emp4, emp5, emp6));
+
+    dept2.setEmployees(toSet(emp7, emp8, emp9, emp10));
+
+    // Insurance properties
+    medicalIns1.setEmployee(emp1);
+    medicalIns2.setEmployee(emp2);
+    medicalIns3.setEmployee(emp3);
+    medicalIns4.setEmployee(emp4);
+    medicalIns5.setEmployee(emp5);
+    medicalIns98.setEmployee(null);
+    dentalIns1.setEmployee(emp1);
+    dentalIns2.setEmployee(emp2);
+    dentalIns3.setEmployee(emp3);
+    dentalIns4.setEmployee(emp4);
+    dentalIns5.setEmployee(emp5);
+    dentalIns99.setEmployee(null);
+
+    // Project properties
+    proj1.setMembers(toSet(emp1, emp2, emp3));
+    proj2.setReviewers(toSet(emp4, emp5));
+    proj2.setMembers(toSet(emp2, emp3));
+    proj3.setReviewers(toSet(emp1));
+    proj3.setMembers(toSet(emp4, emp5));
+
+    // root objects
+    registry.register("company1", company1);
+    registry.register("medicalIns98", medicalIns98);
+    registry.register("dentalIns99", dentalIns99);
+
+    registry.register("dept1", dept1);
+    registry.register("dept2", dept2);
+    registry.register("emp0", emp0);
+    registry.register("emp1", emp1);
+    registry.register("emp2", emp2);
+    registry.register("emp3", emp3);
+    registry.register("emp4", emp4);
+    registry.register("emp5", emp5);
+    registry.register("emp6", emp6);
+    registry.register("emp7", emp7);
+    registry.register("emp8", emp8);
+    registry.register("emp9", emp9);
+    registry.register("emp10", emp10);
+    registry.register("proj1", proj1);
+    registry.register("proj2", proj2);
+    registry.register("proj3", proj3);
+    registry.register("dentalIns1", dentalIns1);
+    registry.register("dentalIns2", dentalIns2);
+    registry.register("dentalIns3", dentalIns3);
+    registry.register("dentalIns4", dentalIns4);
+    registry.register("dentalIns5", dentalIns5);
+    registry.register("medicalIns1", medicalIns1);
+    registry.register("medicalIns2", medicalIns2);
+    registry.register("medicalIns3", medicalIns3);
+    registry.register("medicalIns4", medicalIns4);
+    registry.register("medicalIns5", medicalIns5);
+    registry.register("room1", room1);
+    registry.register("room2", room2);
+    registry.register("room3", room3);
+  }
+}
diff --git a/tck/src/main/java/org/apache/jdo/tck/pc/company/data/QueryTestData.java b/tck/src/main/java/org/apache/jdo/tck/pc/company/data/QueryTestData.java
new file mode 100644
index 00000000..be8e7a58
--- /dev/null
+++ b/tck/src/main/java/org/apache/jdo/tck/pc/company/data/QueryTestData.java
@@ -0,0 +1,227 @@
+/*
+ * Licensed to the Apache Software Foundation (ASF) under one or more
+ * contributor license agreements.  See the NOTICE file distributed with
+ * this work for additional information regarding copyright ownership.
+ * The ASF licenses this file to You under the Apache License, Version 2.0
+ * (the "License"); you may not use this file except in compliance with
+ * the License.  You may obtain a copy of the License at
+ *
+ *     https://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+
+package org.apache.jdo.tck.pc.company.data;
+
+import static org.apache.jdo.tck.util.DataSourceUtil.date;
+import static org.apache.jdo.tck.util.DataSourceUtil.toList;
+import static org.apache.jdo.tck.util.DataSourceUtil.toMap;
+import static org.apache.jdo.tck.util.DataSourceUtil.toSet;
+
+import java.math.BigDecimal;
+import org.apache.jdo.tck.pc.company.CompanyFactory;
+import org.apache.jdo.tck.pc.company.IAddress;
+import org.apache.jdo.tck.pc.company.ICompany;
+import org.apache.jdo.tck.pc.company.IDentalInsurance;
+import org.apache.jdo.tck.pc.company.IDepartment;
+import org.apache.jdo.tck.pc.company.IFullTimeEmployee;
+import org.apache.jdo.tck.pc.company.IMedicalInsurance;
+import org.apache.jdo.tck.pc.company.IMeetingRoom;
+import org.apache.jdo.tck.pc.company.IPartTimeEmployee;
+import org.apache.jdo.tck.pc.company.IProject;
+import org.apache.jdo.tck.util.DefaultListableInstanceFactory;
+
+public class QueryTestData implements CompanyDataSource {
+
+  @Override
+  public void init(CompanyFactory factory, DefaultListableInstanceFactory registry) {
+    IAddress addr1 =
+        factory.newAddress(1, "Unter den Linden 1", "Berlin", "  ", "12345", "Germany");
+    IAddress addr2 = factory.newAddress(2, "Broadway 1", "New York", "NY", "10000", "USA");
+    IAddress addr3 = factory.newAddress(3, "Market St.", "San Francisco", "CA", "94102", "USA");
+
+    // Insurance constructors
+    IMedicalInsurance medicalIns1 = factory.newMedicalInsurance(1, "Carrier1", "PPO");
+    IMedicalInsurance medicalIns2 = factory.newMedicalInsurance(2, "Carrier2", "HMO");
+    IMedicalInsurance medicalIns3 = factory.newMedicalInsurance(3, "Carrier3", "HMO");
+    IMedicalInsurance medicalIns4 = factory.newMedicalInsurance(4, "Carrier4", "HMO");
+    IMedicalInsurance medicalIns5 = factory.newMedicalInsurance(5, "Carrier5", "HMO");
+    IDentalInsurance dentalIns1 =
+        factory.newDentalInsurance(11, "Carrier1", BigDecimal.valueOf(99.995));
+    IDentalInsurance dentalIns2 =
+        factory.newDentalInsurance(12, "Carrier2", BigDecimal.valueOf(99.996));
+    IDentalInsurance dentalIns3 =
+        factory.newDentalInsurance(13, "Carrier3", BigDecimal.valueOf(99.997));
+    IDentalInsurance dentalIns4 =
+        factory.newDentalInsurance(14, "Carrier4", BigDecimal.valueOf(99.998));
+    IDentalInsurance dentalIns5 =
+        factory.newDentalInsurance(15, "Carrier5", BigDecimal.valueOf(99.999));
+    IDentalInsurance dentalIns99 = factory.newDentalInsurance(99, "Carrier99", null);
+
+    // Project constructors
+    IProject proj1 = factory.newProject(1, "orange", BigDecimal.valueOf(2500000.99));
+    IProject proj2 = factory.newProject(2, "blue", BigDecimal.valueOf(50000.00));
+    IProject proj3 = factory.newProject(3, "green", BigDecimal.valueOf(2000.99));
+
+    // Company constructor
+    ICompany company1 = factory.newCompany(1L, "Sun Microsystems, Inc.", date(1952, 4, 11), addr1);
+
+    // Meeting room constructors
+    IMeetingRoom room1 = factory.newMeetingRoom(1, "Comfy Room");
+    IMeetingRoom room2 = factory.newMeetingRoom(2, "Large Discussion Room");
+    IMeetingRoom room3 = factory.newMeetingRoom(3, "Conference Room");
+
+    // Department Constructors
+    IDepartment dept1 = factory.newDepartment(1, "Development", company1);
+    IDepartment dept2 = factory.newDepartment(2, "Human Resources", company1);
+    company1.setDepartments(toSet(dept1, dept2));
+
+    // Employee Constructors
+    IFullTimeEmployee emp1 =
+        factory.newFullTimeEmployee(
+            1, "emp1First", "emp1Last", "emp1Middle", null, addr1, null, 20000);
+    emp1.setBirthdate(date(1970, 6, 10));
+    emp1.setHiredate(date(1999, 1, 1));
+    IFullTimeEmployee emp2 =
+        factory.newFullTimeEmployee(
+            2, "emp2First", "emp2Last", "emp2Middle", null, addr2, null, 10000);
+    emp2.setBirthdate(date(1975, 12, 22));
+    emp2.setHiredate(date(2003, 7, 1));
+    IPartTimeEmployee emp3 =
+        factory.newPartTimeEmployee(
+            3, "emp3First", "emp3Last", "emp3Middle", null, addr3, null, 15);
+    emp3.setBirthdate(date(1972, 7, 5));
+    emp3.setHiredate(date(2002, 8, 15));
+    IPartTimeEmployee emp4 =
+        factory.newPartTimeEmployee(
+            4, "emp4First", "emp4Last", "emp4Middle", null, addr3, null, 13);
+    emp4.setBirthdate(date(1973, 7, 6));
+    emp4.setHiredate(date(2001, 4, 15));
+    IFullTimeEmployee emp5 =
+        factory.newFullTimeEmployee(
+            5, "emp5First", "emp5Last", "emp5Middle", null, addr3, null, 45000);
+    emp5.setBirthdate(date(1962, 7, 5));
+    emp5.setHiredate(date(1998, 8, 15));
+
+    // Employee properties
+    emp1.setWeeklyhours(40);
+    emp1.setMedicalInsurance(medicalIns1);
+    emp1.setDentalInsurance(dentalIns1);
+    emp1.setPhoneNumbers(toMap("home", "1111", "work", "123456-1"));
+    emp1.setDepartment(dept1);
+    emp1.setFundingDept(dept2);
+    emp1.setManager(emp2);
+    emp1.setMentor(emp2);
+    emp1.setProtege(emp5);
+    emp1.setHradvisor(emp5);
+    emp1.setReviewedProjects(toSet(proj3));
+    emp1.setProjects(toSet(proj1));
+
+    emp2.setWeeklyhours(40);
+    emp2.setMedicalInsurance(medicalIns2);
+    emp2.setDentalInsurance(dentalIns2);
+    emp2.setPhoneNumbers(toMap("home", "2222", "work", "123456-2"));
+    emp2.setDepartment(dept1);
+    emp2.setFundingDept(dept1);
+    emp2.setMentor(emp3);
+    emp2.setProtege(emp1);
+    emp2.setHradvisor(emp5);
+    emp2.setProjects(toSet(proj1, proj2));
+    emp2.setTeam(toSet(emp1, emp3, emp4, emp5));
+
+    emp3.setWeeklyhours(19);
+    emp3.setMedicalInsurance(medicalIns3);
+    emp3.setDentalInsurance(dentalIns3);
+    emp3.setPhoneNumbers(toMap("home", "3333", "work", "123456-3"));
+    emp3.setDepartment(dept1);
+    emp3.setFundingDept(dept1);
+    emp3.setManager(emp2);
+    emp3.setMentor(emp4);
+    emp3.setProtege(emp2);
+    emp3.setHradvisor(emp5);
+    emp3.setProjects(toSet(proj1, proj2));
+
+    emp4.setMedicalInsurance(medicalIns4);
+    emp4.setDentalInsurance(dentalIns4);
+    emp4.setPhoneNumbers(toMap("home", "3343", "work", "124456-3"));
+    emp4.setDepartment(dept2);
+    emp4.setFundingDept(dept2);
+    emp4.setManager(emp2);
+    emp4.setMentor(emp5);
+    emp4.setProtege(emp3);
+    emp4.setHradvisor(emp5);
+    emp4.setProjects(toSet(proj3));
+    emp4.setReviewedProjects(toSet(proj2));
+
+    emp5.setMedicalInsurance(medicalIns5);
+    emp5.setDentalInsurance(dentalIns5);
+    emp5.setPhoneNumbers(toMap("home", "3363", "work", "126456-3"));
+    emp5.setDepartment(dept2);
+    emp5.setFundingDept(dept2);
+    emp5.setManager(emp2);
+    emp5.setMentor(emp1);
+    emp5.setProtege(emp4);
+    emp5.setProjects(toSet(proj3));
+    emp5.setReviewedProjects(toSet(proj2));
+    emp5.setHradvisees(toSet(emp1, emp2, emp3, emp4));
+
+    // Department properties
+    dept1.setEmployees(toSet(emp1, emp2, emp3));
+    dept1.setFundedEmps(toSet(emp2, emp3));
+    dept1.setMeetingRooms(toList(room1, room2, room3));
+
+    dept2.setEmployees(toSet(emp4, emp5));
+    dept2.setFundedEmps(toSet(emp1, emp4, emp5));
+    dept2.setMeetingRooms(toList());
+
+    // Insurance properties
+    medicalIns1.setEmployee(emp1);
+    medicalIns2.setEmployee(emp2);
+    medicalIns3.setEmployee(emp3);
+    medicalIns4.setEmployee(emp4);
+    medicalIns5.setEmployee(emp5);
+    dentalIns1.setEmployee(emp1);
+    dentalIns2.setEmployee(emp2);
+    dentalIns3.setEmployee(emp3);
+    dentalIns4.setEmployee(emp4);
+    dentalIns5.setEmployee(emp5);
+
+    // Project properties
+    proj1.setMembers(toSet(emp1, emp2, emp3));
+    proj2.setReviewers(toSet(emp4, emp5));
+    proj2.setMembers(toSet(emp2, emp3));
+    proj3.setReviewers(toSet(emp1));
+    proj3.setMembers(toSet(emp4, emp5));
+
+    // root objects
+    registry.register("company1", company1);
+    registry.register("dentalIns99", dentalIns99);
+
+    registry.register("dept1", dept1);
+    registry.register("dept2", dept2);
+    registry.register("emp1", emp1);
+    registry.register("emp2", emp2);
+    registry.register("emp3", emp3);
+    registry.register("emp4", emp4);
+    registry.register("emp5", emp5);
+    registry.register("proj1", proj1);
+    registry.register("proj2", proj2);
+    registry.register("proj3", proj3);
+    registry.register("dentalIns1", dentalIns1);
+    registry.register("dentalIns2", dentalIns2);
+    registry.register("dentalIns3", dentalIns3);
+    registry.register("dentalIns4", dentalIns4);
+    registry.register("dentalIns5", dentalIns5);
+    registry.register("medicalIns1", medicalIns1);
+    registry.register("medicalIns2", medicalIns2);
+    registry.register("medicalIns3", medicalIns3);
+    registry.register("medicalIns4", medicalIns4);
+    registry.register("medicalIns5", medicalIns5);
+    registry.register("room1", room1);
+    registry.register("room2", room2);
+  }
+}
diff --git a/tck/src/main/java/org/apache/jdo/tck/pc/company/data/Relationships1_1Data.java b/tck/src/main/java/org/apache/jdo/tck/pc/company/data/Relationships1_1Data.java
new file mode 100644
index 00000000..001b3054
--- /dev/null
+++ b/tck/src/main/java/org/apache/jdo/tck/pc/company/data/Relationships1_1Data.java
@@ -0,0 +1,162 @@
+/*
+ * Licensed to the Apache Software Foundation (ASF) under one or more
+ * contributor license agreements.  See the NOTICE file distributed with
+ * this work for additional information regarding copyright ownership.
+ * The ASF licenses this file to You under the Apache License, Version 2.0
+ * (the "License"); you may not use this file except in compliance with
+ * the License.  You may obtain a copy of the License at
+ *
+ *     https://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+
+package org.apache.jdo.tck.pc.company.data;
+
+import static org.apache.jdo.tck.util.DataSourceUtil.date;
+import static org.apache.jdo.tck.util.DataSourceUtil.toSet;
+
+import java.math.BigDecimal;
+import org.apache.jdo.tck.pc.company.CompanyFactory;
+import org.apache.jdo.tck.pc.company.IAddress;
+import org.apache.jdo.tck.pc.company.ICompany;
+import org.apache.jdo.tck.pc.company.IDentalInsurance;
+import org.apache.jdo.tck.pc.company.IDepartment;
+import org.apache.jdo.tck.pc.company.IFullTimeEmployee;
+import org.apache.jdo.tck.pc.company.IMedicalInsurance;
+import org.apache.jdo.tck.pc.company.IPartTimeEmployee;
+import org.apache.jdo.tck.pc.company.IProject;
+import org.apache.jdo.tck.util.DefaultListableInstanceFactory;
+
+public class Relationships1_1Data implements CompanyDataSource {
+
+  @Override
+  public void init(CompanyFactory factory, DefaultListableInstanceFactory registry) {
+    IAddress addr1 =
+        factory.newAddress(1, "Unter den Linden 1", "Berlin", "  ", "12345", "Germany");
+    IAddress addr2 = factory.newAddress(2, "Broadway 1", "New York", "NY", "10000", "USA");
+    IAddress addr3 = factory.newAddress(3, "Market St.", "San Francisco", "CA", "94102", "USA");
+
+    // Insurance constructors
+    IMedicalInsurance medicalIns1 = factory.newMedicalInsurance(1, "Carrier1", "PPO");
+    IMedicalInsurance medicalIns2 = factory.newMedicalInsurance(2, "Carrier2", "HMO");
+    IMedicalInsurance medicalIns3 = factory.newMedicalInsurance(3, "Carrier3", "HMO");
+    IMedicalInsurance medicalIns4 = factory.newMedicalInsurance(4, "Carrier4", "HMO");
+    IMedicalInsurance medicalIns5 = factory.newMedicalInsurance(5, "Carrier5", "HMO");
+    IDentalInsurance dentalIns1 =
+        factory.newDentalInsurance(11, "Carrier1", BigDecimal.valueOf(99.999));
+    IDentalInsurance dentalIns2 =
+        factory.newDentalInsurance(12, "Carrier2", BigDecimal.valueOf(99.999));
+    IDentalInsurance dentalIns3 =
+        factory.newDentalInsurance(13, "Carrier3", BigDecimal.valueOf(99.999));
+    IDentalInsurance dentalIns4 =
+        factory.newDentalInsurance(14, "Carrier4", BigDecimal.valueOf(99.999));
+    IDentalInsurance dentalIns5 =
+        factory.newDentalInsurance(15, "Carrier5", BigDecimal.valueOf(99.999));
+
+    // Project constructors
+    IProject proj1 = factory.newProject(1, "orange", BigDecimal.valueOf(2500000.99));
+    IProject proj2 = factory.newProject(2, "blue", BigDecimal.valueOf(50000.00));
+    IProject proj3 = factory.newProject(3, "green", BigDecimal.valueOf(2000.99));
+
+    // Company constructor
+    ICompany company1 = factory.newCompany(1L, "Sun Microsystems, Inc.", date(1952, 4, 11), addr1);
+
+    // Meeting room constructors
+
+    // Department Constructors
+    IDepartment dept1 = factory.newDepartment(1, "Development", company1);
+    IDepartment dept2 = factory.newDepartment(2, "Human Resources", company1);
+    company1.setDepartments(toSet(dept1, dept2));
+
+    // Employee Constructors
+    IFullTimeEmployee emp1 =
+        factory.newFullTimeEmployee(
+            1, "emp1First", "emp1Last", "emp1Middle", null, addr1, null, 20000);
+    emp1.setBirthdate(date(1970, 6, 10));
+    emp1.setHiredate(date(1999, 1, 1));
+    IFullTimeEmployee emp2 =
+        factory.newFullTimeEmployee(
+            2, "emp2First", "emp2Last", "emp2Middle", null, addr2, null, 10000);
+    emp2.setBirthdate(date(1975, 12, 22));
+    emp2.setHiredate(date(2003, 7, 1));
+    IPartTimeEmployee emp3 =
+        factory.newPartTimeEmployee(
+            3, "emp3First", "emp3Last", "emp3Middle", null, addr3, null, 15);
+    emp3.setBirthdate(date(1972, 7, 5));
+    emp3.setHiredate(date(2002, 8, 15));
+    IPartTimeEmployee emp4 =
+        factory.newPartTimeEmployee(
+            4, "emp4First", "emp4Last", "emp4Middle", null, addr3, null, 13);
+    emp4.setBirthdate(date(1973, 7, 6));
+    emp4.setHiredate(date(2001, 4, 15));
+    IFullTimeEmployee emp5 =
+        factory.newFullTimeEmployee(
+            5, "emp5First", "emp5Last", "emp5Middle", null, addr3, null, 45000);
+    emp5.setBirthdate(date(1962, 7, 5));
+    emp5.setHiredate(date(1998, 8, 15));
+
+    // Employee properties
+    emp1.setWeeklyhours(40);
+    emp1.setMedicalInsurance(medicalIns1);
+    emp1.setDentalInsurance(dentalIns1);
+    emp1.setMentor(emp2);
+    emp1.setProtege(emp5);
+
+    emp2.setWeeklyhours(40);
+    emp2.setMedicalInsurance(medicalIns2);
+    emp2.setDentalInsurance(dentalIns2);
+    emp2.setMentor(emp3);
+    emp2.setProtege(emp1);
+
+    emp3.setWeeklyhours(19);
+    emp3.setMedicalInsurance(medicalIns3);
+    emp3.setDentalInsurance(dentalIns3);
+    emp3.setMentor(emp4);
+    emp3.setProtege(emp2);
+
+    emp4.setMedicalInsurance(medicalIns4);
+    emp4.setDentalInsurance(dentalIns4);
+    emp4.setMentor(emp5);
+    emp4.setProtege(emp3);
+
+    emp5.setMedicalInsurance(medicalIns5);
+    emp5.setDentalInsurance(dentalIns5);
+    emp5.setMentor(emp1);
+    emp5.setProtege(emp4);
+
+    // Department properties
+
+    // Insurance properties
+    medicalIns1.setEmployee(emp1);
+    medicalIns2.setEmployee(emp2);
+    medicalIns3.setEmployee(emp3);
+    medicalIns4.setEmployee(emp4);
+    medicalIns5.setEmployee(emp5);
+
+    dentalIns1.setEmployee(emp1);
+    dentalIns2.setEmployee(emp2);
+    dentalIns3.setEmployee(emp3);
+    dentalIns4.setEmployee(emp4);
+    dentalIns5.setEmployee(emp5);
+
+    // Project properties
+
+    // root objects
+    registry.register("company1", company1);
+    registry.register("dept1", dept1);
+    registry.register("dept2", dept2);
+    registry.register("emp1", emp1);
+    registry.register("emp2", emp2);
+    registry.register("emp3", emp3);
+    registry.register("emp4", emp4);
+    registry.register("emp5", emp5);
+    registry.register("proj1", proj1);
+    registry.register("proj2", proj2);
+    registry.register("proj3", proj3);
+  }
+}
diff --git a/tck/src/main/java/org/apache/jdo/tck/pc/company/data/Relationships1_MData.java b/tck/src/main/java/org/apache/jdo/tck/pc/company/data/Relationships1_MData.java
new file mode 100644
index 00000000..741e1e7a
--- /dev/null
+++ b/tck/src/main/java/org/apache/jdo/tck/pc/company/data/Relationships1_MData.java
@@ -0,0 +1,152 @@
+/*
+ * Licensed to the Apache Software Foundation (ASF) under one or more
+ * contributor license agreements.  See the NOTICE file distributed with
+ * this work for additional information regarding copyright ownership.
+ * The ASF licenses this file to You under the Apache License, Version 2.0
+ * (the "License"); you may not use this file except in compliance with
+ * the License.  You may obtain a copy of the License at
+ *
+ *     https://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+
+package org.apache.jdo.tck.pc.company.data;
+
+import static org.apache.jdo.tck.util.DataSourceUtil.date;
+import static org.apache.jdo.tck.util.DataSourceUtil.toSet;
+
+import java.math.BigDecimal;
+import org.apache.jdo.tck.pc.company.CompanyFactory;
+import org.apache.jdo.tck.pc.company.IAddress;
+import org.apache.jdo.tck.pc.company.ICompany;
+import org.apache.jdo.tck.pc.company.IDentalInsurance;
+import org.apache.jdo.tck.pc.company.IDepartment;
+import org.apache.jdo.tck.pc.company.IFullTimeEmployee;
+import org.apache.jdo.tck.pc.company.IMedicalInsurance;
+import org.apache.jdo.tck.pc.company.IPartTimeEmployee;
+import org.apache.jdo.tck.pc.company.IProject;
+import org.apache.jdo.tck.util.DefaultListableInstanceFactory;
+
+public class Relationships1_MData implements CompanyDataSource {
+
+  @Override
+  public void init(CompanyFactory factory, DefaultListableInstanceFactory registry) {
+    IAddress addr1 =
+        factory.newAddress(1, "Unter den Linden 1", "Berlin", "  ", "12345", "Germany");
+    IAddress addr2 = factory.newAddress(2, "Broadway 1", "New York", "NY", "10000", "USA");
+    IAddress addr3 = factory.newAddress(3, "Market St.", "San Francisco", "CA", "94102", "USA");
+
+    // Insurance constructors
+    IMedicalInsurance medicalIns1 = factory.newMedicalInsurance(1, "Carrier1", "PPO");
+    IMedicalInsurance medicalIns2 = factory.newMedicalInsurance(2, "Carrier2", "HMO");
+    IMedicalInsurance medicalIns3 = factory.newMedicalInsurance(3, "Carrier3", "HMO");
+    IMedicalInsurance medicalIns4 = factory.newMedicalInsurance(4, "Carrier4", "HMO");
+    IMedicalInsurance medicalIns5 = factory.newMedicalInsurance(5, "Carrier5", "HMO");
+    IDentalInsurance dentalIns1 =
+        factory.newDentalInsurance(11, "Carrier1", BigDecimal.valueOf(99.999));
+    IDentalInsurance dentalIns2 =
+        factory.newDentalInsurance(12, "Carrier2", BigDecimal.valueOf(99.999));
+    IDentalInsurance dentalIns3 =
+        factory.newDentalInsurance(13, "Carrier3", BigDecimal.valueOf(99.999));
+    IDentalInsurance dentalIns4 =
+        factory.newDentalInsurance(14, "Carrier4", BigDecimal.valueOf(99.999));
+    IDentalInsurance dentalIns5 =
+        factory.newDentalInsurance(15, "Carrier5", BigDecimal.valueOf(99.999));
+
+    // Project constructors
+    IProject proj1 = factory.newProject(1, "orange", BigDecimal.valueOf(2500000.99));
+    IProject proj2 = factory.newProject(2, "blue", BigDecimal.valueOf(50000.00));
+    IProject proj3 = factory.newProject(3, "green", BigDecimal.valueOf(2000.99));
+
+    // Company constructor
+    ICompany company1 = factory.newCompany(1L, "Sun Microsystems, Inc.", date(1952, 4, 11), addr1);
+
+    // Meeting room constructors
+
+    // Department Constructors
+    IDepartment dept1 = factory.newDepartment(1, "Development", company1);
+    IDepartment dept2 = factory.newDepartment(2, "Human Resources", company1);
+    company1.setDepartments(toSet(dept1, dept2));
+
+    // Employee Constructors
+    IFullTimeEmployee emp1 =
+        factory.newFullTimeEmployee(
+            1, "emp1First", "emp1Last", "emp1Middle", null, addr1, null, 20000);
+    emp1.setBirthdate(date(1970, 6, 10));
+    emp1.setHiredate(date(1999, 1, 1));
+    IFullTimeEmployee emp2 =
+        factory.newFullTimeEmployee(
+            2, "emp2First", "emp2Last", "emp2Middle", null, addr2, null, 10000);
+    emp2.setBirthdate(date(1975, 12, 22));
+    emp2.setHiredate(date(2003, 7, 1));
+    IPartTimeEmployee emp3 =
+        factory.newPartTimeEmployee(
+            3, "emp3First", "emp3Last", "emp3Middle", null, addr3, null, 15);
+    emp3.setBirthdate(date(1972, 7, 5));
+    emp3.setHiredate(date(2002, 8, 15));
+    IPartTimeEmployee emp4 =
+        factory.newPartTimeEmployee(
+            4, "emp4First", "emp4Last", "emp4Middle", null, addr3, null, 13);
+    emp4.setBirthdate(date(1973, 7, 6));
+    emp4.setHiredate(date(2001, 4, 15));
+    IFullTimeEmployee emp5 =
+        factory.newFullTimeEmployee(
+            5, "emp5First", "emp5Last", "emp5Middle", null, addr3, null, 45000);
+    emp5.setBirthdate(date(1962, 7, 5));
+    emp5.setHiredate(date(1998, 8, 15));
+
+    // Employee properties
+    emp1.setWeeklyhours(40);
+    emp1.setDepartment(dept1);
+    emp1.setFundingDept(dept2);
+    emp1.setManager(emp2);
+    emp1.setHradvisor(emp5);
+
+    emp2.setWeeklyhours(40);
+    emp2.setDepartment(dept1);
+    emp2.setFundingDept(dept1);
+    emp2.setHradvisor(emp5);
+    emp2.setTeam(toSet(emp1, emp3, emp4, emp5));
+
+    emp3.setDepartment(dept1);
+    emp3.setFundingDept(dept1);
+    emp3.setManager(emp2);
+    emp3.setHradvisor(emp5);
+
+    emp4.setDepartment(dept2);
+    emp4.setFundingDept(dept2);
+    emp4.setManager(emp2);
+    emp4.setHradvisor(emp5);
+
+    emp5.setDepartment(dept2);
+    emp5.setFundingDept(dept2);
+    emp5.setManager(emp2);
+    emp5.setHradvisees(toSet(emp1, emp2, emp3, emp4));
+
+    // Department properties
+    dept1.setEmployees(toSet(emp1, emp2, emp3));
+    dept1.setFundedEmps(toSet(emp2, emp3));
+
+    dept2.setEmployees(toSet(emp4, emp5));
+    dept2.setFundedEmps(toSet(emp1, emp4, emp5));
+
+    // Insurance properties
+
+    // Project properties
+
+    // root objects
+    registry.register("company1", company1);
+    registry.register("medicalIns1", medicalIns1);
+    registry.register("medicalIns2", medicalIns2);
+    registry.register("medicalIns3", medicalIns3);
+    registry.register("dentalIns1", dentalIns1);
+    registry.register("proj1", proj1);
+    registry.register("proj2", proj2);
+    registry.register("proj3", proj3);
+  }
+}
diff --git a/tck/src/main/java/org/apache/jdo/tck/pc/company/data/RelationshipsAllData.java b/tck/src/main/java/org/apache/jdo/tck/pc/company/data/RelationshipsAllData.java
new file mode 100644
index 00000000..a979dfff
--- /dev/null
+++ b/tck/src/main/java/org/apache/jdo/tck/pc/company/data/RelationshipsAllData.java
@@ -0,0 +1,213 @@
+/*
+ * Licensed to the Apache Software Foundation (ASF) under one or more
+ * contributor license agreements.  See the NOTICE file distributed with
+ * this work for additional information regarding copyright ownership.
+ * The ASF licenses this file to You under the Apache License, Version 2.0
+ * (the "License"); you may not use this file except in compliance with
+ * the License.  You may obtain a copy of the License at
+ *
+ *     https://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+
+package org.apache.jdo.tck.pc.company.data;
+
+import static org.apache.jdo.tck.util.DataSourceUtil.date;
+import static org.apache.jdo.tck.util.DataSourceUtil.toMap;
+import static org.apache.jdo.tck.util.DataSourceUtil.toSet;
+
+import java.math.BigDecimal;
+import org.apache.jdo.tck.pc.company.CompanyFactory;
+import org.apache.jdo.tck.pc.company.IAddress;
+import org.apache.jdo.tck.pc.company.ICompany;
+import org.apache.jdo.tck.pc.company.IDentalInsurance;
+import org.apache.jdo.tck.pc.company.IDepartment;
+import org.apache.jdo.tck.pc.company.IFullTimeEmployee;
+import org.apache.jdo.tck.pc.company.IMedicalInsurance;
+import org.apache.jdo.tck.pc.company.IPartTimeEmployee;
+import org.apache.jdo.tck.pc.company.IProject;
+import org.apache.jdo.tck.util.DefaultListableInstanceFactory;
+
+public class RelationshipsAllData implements CompanyDataSource {
+
+  @Override
+  public void init(CompanyFactory factory, DefaultListableInstanceFactory registry) {
+    IAddress addr1 =
+        factory.newAddress(1, "Unter den Linden 1", "Berlin", "  ", "12345", "Germany");
+    IAddress addr2 = factory.newAddress(2, "Broadway 1", "New York", "NY", "10000", "USA");
+    IAddress addr3 = factory.newAddress(3, "Market St.", "San Francisco", "CA", "94102", "USA");
+
+    // Insurance constructors
+    IMedicalInsurance medicalIns1 = factory.newMedicalInsurance(1, "Carrier1", "PPO");
+    IMedicalInsurance medicalIns2 = factory.newMedicalInsurance(2, "Carrier2", "HMO");
+    IMedicalInsurance medicalIns3 = factory.newMedicalInsurance(3, "Carrier3", "HMO");
+    IMedicalInsurance medicalIns4 = factory.newMedicalInsurance(4, "Carrier4", "HMO");
+    IMedicalInsurance medicalIns5 = factory.newMedicalInsurance(5, "Carrier5", "HMO");
+    IDentalInsurance dentalIns1 =
+        factory.newDentalInsurance(11, "Carrier1", BigDecimal.valueOf(99.999));
+    IDentalInsurance dentalIns2 =
+        factory.newDentalInsurance(12, "Carrier2", BigDecimal.valueOf(99.999));
+    IDentalInsurance dentalIns3 =
+        factory.newDentalInsurance(13, "Carrier3", BigDecimal.valueOf(99.999));
+    IDentalInsurance dentalIns4 =
+        factory.newDentalInsurance(14, "Carrier4", BigDecimal.valueOf(99.999));
+    IDentalInsurance dentalIns5 =
+        factory.newDentalInsurance(15, "Carrier5", BigDecimal.valueOf(99.999));
+
+    // Project constructors
+    IProject proj1 = factory.newProject(1, "orange", BigDecimal.valueOf(2500000.99));
+    IProject proj2 = factory.newProject(2, "blue", BigDecimal.valueOf(50000.00));
+    IProject proj3 = factory.newProject(3, "green", BigDecimal.valueOf(2000.99));
+
+    // Company constructor
+    ICompany company1 = factory.newCompany(1L, "Sun Microsystems, Inc.", date(1952, 4, 11), addr1);
+
+    // Meeting room constructors
+
+    // Department Constructors
+    IDepartment dept1 = factory.newDepartment(1, "Development", company1);
+    IDepartment dept2 = factory.newDepartment(2, "Human Resources", company1);
+    company1.setDepartments(toSet(dept1, dept2));
+
+    // Employee Constructors
+    IFullTimeEmployee emp1 =
+        factory.newFullTimeEmployee(
+            1, "emp1First", "emp1Last", "emp1Middle", null, addr1, null, 20000);
+    emp1.setBirthdate(date(1970, 6, 10));
+    emp1.setHiredate(date(1999, 1, 1));
+    IFullTimeEmployee emp2 =
+        factory.newFullTimeEmployee(
+            2, "emp2First", "emp2Last", "emp2Middle", null, addr2, null, 10000);
+    emp2.setBirthdate(date(1975, 12, 22));
+    emp2.setHiredate(date(2003, 7, 1));
+    IPartTimeEmployee emp3 =
+        factory.newPartTimeEmployee(
+            3, "emp3First", "emp3Last", "emp3Middle", null, addr3, null, 15);
+    emp3.setBirthdate(date(1972, 7, 5));
+    emp3.setHiredate(date(2002, 8, 15));
+    IPartTimeEmployee emp4 =
+        factory.newPartTimeEmployee(
+            4, "emp4First", "emp4Last", "emp4Middle", null, addr3, null, 13);
+    emp4.setBirthdate(date(1973, 7, 6));
+    emp4.setHiredate(date(2001, 4, 15));
+    IFullTimeEmployee emp5 =
+        factory.newFullTimeEmployee(
+            5, "emp5First", "emp5Last", "emp5Middle", null, addr3, null, 45000);
+    emp5.setBirthdate(date(1962, 7, 5));
+    emp5.setHiredate(date(1998, 8, 15));
+
+    // Employee properties
+    emp1.setWeeklyhours(40);
+    emp1.setMedicalInsurance(medicalIns1);
+    emp1.setDentalInsurance(dentalIns1);
+    emp1.setPhoneNumbers(toMap("home", "1111", "work", "123456-1"));
+    emp1.setDepartment(dept1);
+    emp1.setFundingDept(dept2);
+    emp1.setManager(emp2);
+    emp1.setMentor(emp2);
+    emp1.setProtege(emp5);
+    emp1.setHradvisor(emp5);
+    emp1.setReviewedProjects(toSet(proj3));
+    emp1.setProjects(toSet(proj1));
+
+    emp2.setWeeklyhours(40);
+    emp2.setMedicalInsurance(medicalIns2);
+    emp2.setDentalInsurance(dentalIns2);
+    emp2.setPhoneNumbers(toMap("home", "2222", "work", "123456-2"));
+    emp2.setDepartment(dept1);
+    emp2.setFundingDept(dept1);
+    emp2.setMentor(emp3);
+    emp2.setProtege(emp1);
+    emp2.setHradvisor(emp5);
+    emp2.setProjects(toSet(proj1, proj2));
+    emp2.setTeam(toSet(emp1, emp3, emp4, emp5));
+
+    emp3.setWeeklyhours(19);
+    emp3.setMedicalInsurance(medicalIns3);
+    emp3.setDentalInsurance(dentalIns3);
+    emp3.setPhoneNumbers(toMap("home", "3333", "work", "123456-3"));
+    emp3.setDepartment(dept1);
+    emp3.setFundingDept(dept1);
+    emp3.setManager(emp2);
+    emp3.setMentor(emp4);
+    emp3.setProtege(emp2);
+    emp3.setHradvisor(emp5);
+    emp3.setProjects(toSet(proj1, proj2));
+
+    emp4.setMedicalInsurance(medicalIns4);
+    emp4.setDentalInsurance(dentalIns4);
+    emp4.setPhoneNumbers(toMap("home", "3343", "work", "124456-3"));
+    emp4.setDepartment(dept2);
+    emp4.setFundingDept(dept2);
+    emp4.setManager(emp2);
+    emp4.setMentor(emp5);
+    emp4.setProtege(emp3);
+    emp4.setHradvisor(emp5);
+    emp4.setReviewedProjects(toSet(proj2));
+    emp4.setProjects(toSet(proj3));
+
+    emp5.setMedicalInsurance(medicalIns5);
+    emp5.setDentalInsurance(dentalIns5);
+    emp5.setPhoneNumbers(toMap("home", "3363", "work", "126456-3"));
+    emp5.setDepartment(dept2);
+    emp5.setFundingDept(dept2);
+    emp5.setManager(emp2);
+    emp5.setMentor(emp1);
+    emp5.setProtege(emp4);
+    emp5.setReviewedProjects(toSet(proj2));
+    emp5.setProjects(toSet(proj3));
+    emp5.setHradvisees(toSet(emp1, emp2, emp3, emp4));
+
+    // Department properties
+    dept1.setEmployeeOfTheMonth(emp1);
+    dept1.setEmployees(toSet(emp1, emp2, emp3));
+    dept1.setFundedEmps(toSet(emp2, emp3));
+
+    dept2.setEmployees(toSet(emp4, emp5));
+    dept2.setFundedEmps(toSet(emp1, emp4, emp5));
+
+    // Insurance properties
+    medicalIns1.setEmployee(emp1);
+    medicalIns2.setEmployee(emp2);
+    medicalIns3.setEmployee(emp3);
+    medicalIns4.setEmployee(emp4);
+    medicalIns5.setEmployee(emp5);
+
+    dentalIns1.setEmployee(emp1);
+    dentalIns2.setEmployee(emp2);
+    dentalIns3.setEmployee(emp3);
+    dentalIns4.setEmployee(emp4);
+    dentalIns5.setEmployee(emp5);
+
+    // Project properties
+    proj1.setMembers(toSet(emp1, emp2, emp3));
+
+    proj2.setReviewers(toSet(emp4, emp5));
+    proj2.setMembers(toSet(emp2, emp3));
+
+    proj3.setReviewers(toSet(emp1));
+    proj3.setMembers(toSet(emp4, emp5));
+
+    // root objects
+    registry.register("company1", company1);
+    registry.register("dept1", dept1);
+    registry.register("dept2", dept2);
+    registry.register("emp1", emp1);
+    registry.register("emp2", emp2);
+    registry.register("emp3", emp3);
+    registry.register("emp4", emp4);
+    registry.register("emp5", emp5);
+    registry.register("medicalIns1", medicalIns1);
+    registry.register("medicalIns2", medicalIns2);
+    registry.register("medicalIns3", medicalIns3);
+    registry.register("dentalIns1", dentalIns1);
+    registry.register("proj1", proj1);
+    registry.register("proj2", proj2);
+    registry.register("proj3", proj3);
+  }
+}
diff --git a/tck/src/main/java/org/apache/jdo/tck/pc/company/data/RelationshipsM_MData.java b/tck/src/main/java/org/apache/jdo/tck/pc/company/data/RelationshipsM_MData.java
new file mode 100644
index 00000000..26b9ba9a
--- /dev/null
+++ b/tck/src/main/java/org/apache/jdo/tck/pc/company/data/RelationshipsM_MData.java
@@ -0,0 +1,147 @@
+/*
+ * Licensed to the Apache Software Foundation (ASF) under one or more
+ * contributor license agreements.  See the NOTICE file distributed with
+ * this work for additional information regarding copyright ownership.
+ * The ASF licenses this file to You under the Apache License, Version 2.0
+ * (the "License"); you may not use this file except in compliance with
+ * the License.  You may obtain a copy of the License at
+ *
+ *     https://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+
+package org.apache.jdo.tck.pc.company.data;
+
+import static org.apache.jdo.tck.util.DataSourceUtil.date;
+import static org.apache.jdo.tck.util.DataSourceUtil.toSet;
+
+import java.math.BigDecimal;
+import org.apache.jdo.tck.pc.company.CompanyFactory;
+import org.apache.jdo.tck.pc.company.IAddress;
+import org.apache.jdo.tck.pc.company.ICompany;
+import org.apache.jdo.tck.pc.company.IDentalInsurance;
+import org.apache.jdo.tck.pc.company.IDepartment;
+import org.apache.jdo.tck.pc.company.IFullTimeEmployee;
+import org.apache.jdo.tck.pc.company.IMedicalInsurance;
+import org.apache.jdo.tck.pc.company.IPartTimeEmployee;
+import org.apache.jdo.tck.pc.company.IProject;
+import org.apache.jdo.tck.util.DefaultListableInstanceFactory;
+
+public class RelationshipsM_MData implements CompanyDataSource {
+
+  @Override
+  public void init(CompanyFactory factory, DefaultListableInstanceFactory registry) {
+    IAddress addr1 =
+        factory.newAddress(1, "Unter den Linden 1", "Berlin", "  ", "12345", "Germany");
+    IAddress addr2 = factory.newAddress(2, "Broadway 1", "New York", "NY", "10000", "USA");
+    IAddress addr3 = factory.newAddress(3, "Market St.", "San Francisco", "CA", "94102", "USA");
+
+    // Insurance constructors
+    IMedicalInsurance medicalIns1 = factory.newMedicalInsurance(1, "Carrier1", "PPO");
+    IMedicalInsurance medicalIns2 = factory.newMedicalInsurance(2, "Carrier2", "HMO");
+    IMedicalInsurance medicalIns3 = factory.newMedicalInsurance(3, "Carrier3", "HMO");
+    IMedicalInsurance medicalIns4 = factory.newMedicalInsurance(4, "Carrier4", "HMO");
+    IMedicalInsurance medicalIns5 = factory.newMedicalInsurance(5, "Carrier5", "HMO");
+    IDentalInsurance dentalIns1 =
+        factory.newDentalInsurance(11, "Carrier1", BigDecimal.valueOf(99.999));
+    IDentalInsurance dentalIns2 =
+        factory.newDentalInsurance(12, "Carrier2", BigDecimal.valueOf(99.999));
+    IDentalInsurance dentalIns3 =
+        factory.newDentalInsurance(13, "Carrier3", BigDecimal.valueOf(99.999));
+    IDentalInsurance dentalIns4 =
+        factory.newDentalInsurance(14, "Carrier4", BigDecimal.valueOf(99.999));
+    IDentalInsurance dentalIns5 =
+        factory.newDentalInsurance(15, "Carrier5", BigDecimal.valueOf(99.999));
+
+    // Project constructors
+    IProject proj1 = factory.newProject(1, "orange", BigDecimal.valueOf(2500000.99));
+    IProject proj2 = factory.newProject(2, "blue", BigDecimal.valueOf(50000.00));
+    IProject proj3 = factory.newProject(3, "green", BigDecimal.valueOf(2000.99));
+
+    // Company constructor
+    ICompany company1 = factory.newCompany(1L, "Sun Microsystems, Inc.", date(1952, 4, 11), addr1);
+
+    // Meeting room constructors
+
+    // Department Constructors
+    IDepartment dept1 = factory.newDepartment(1, "Development", company1);
+    IDepartment dept2 = factory.newDepartment(2, "Human Resources", company1);
+    company1.setDepartments(toSet(dept1, dept2));
+
+    // Employee Constructors
+    IFullTimeEmployee emp1 =
+        factory.newFullTimeEmployee(
+            1, "emp1First", "emp1Last", "emp1Middle", null, addr1, null, 20000);
+    emp1.setBirthdate(date(1970, 6, 10));
+    emp1.setHiredate(date(1999, 1, 1));
+    IFullTimeEmployee emp2 =
+        factory.newFullTimeEmployee(
+            2, "emp2First", "emp2Last", "emp2Middle", null, addr2, null, 10000);
+    emp2.setBirthdate(date(1975, 12, 22));
+    emp2.setHiredate(date(2003, 7, 1));
+    IPartTimeEmployee emp3 =
+        factory.newPartTimeEmployee(
+            3, "emp3First", "emp3Last", "emp3Middle", null, addr3, null, 15);
+    emp3.setBirthdate(date(1972, 7, 5));
+    emp3.setHiredate(date(2002, 8, 15));
+    IPartTimeEmployee emp4 =
+        factory.newPartTimeEmployee(
+            4, "emp4First", "emp4Last", "emp4Middle", null, addr3, null, 13);
+    emp4.setBirthdate(date(1973, 7, 6));
+    emp4.setHiredate(date(2001, 4, 15));
+    IFullTimeEmployee emp5 =
+        factory.newFullTimeEmployee(
+            5, "emp5First", "emp5Last", "emp5Middle", null, addr3, null, 45000);
+    emp5.setBirthdate(date(1962, 7, 5));
+    emp5.setHiredate(date(1998, 8, 15));
+
+    // Employee properties
+    emp1.setWeeklyhours(40);
+    emp1.setReviewedProjects(toSet(proj3));
+    emp1.setProjects(toSet(proj1));
+
+    emp2.setWeeklyhours(40);
+    emp2.setProjects(toSet(proj1, proj2));
+
+    emp3.setWeeklyhours(19);
+    emp3.setProjects(toSet(proj1, proj2));
+
+    emp4.setReviewedProjects(toSet(proj2));
+    emp4.setProjects(toSet(proj3));
+
+    emp5.setReviewedProjects(toSet(proj2));
+    emp5.setProjects(toSet(proj3));
+
+    // Department properties
+
+    // Insurance properties
+
+    // Project properties
+    proj1.setMembers(toSet(emp1, emp2, emp3));
+
+    proj2.setReviewers(toSet(emp4, emp5));
+    proj2.setMembers(toSet(emp2, emp3));
+
+    proj3.setReviewers(toSet(emp1));
+    proj3.setMembers(toSet(emp4, emp5));
+
+    // root objects
+    registry.register("company1", company1);
+    registry.register("dept1", dept1);
+    registry.register("dept2", dept2);
+    registry.register("emp1", emp1);
+    registry.register("emp2", emp2);
+    registry.register("emp3", emp3);
+    registry.register("emp4", emp4);
+    registry.register("emp5", emp5);
+    registry.register("medicalIns1", medicalIns1);
+    registry.register("medicalIns2", medicalIns2);
+    registry.register("medicalIns3", medicalIns3);
+    registry.register("dentalIns1", dentalIns1);
+  }
+}
diff --git a/tck/src/main/java/org/apache/jdo/tck/pc/company/data/RelationshipsNoData.java b/tck/src/main/java/org/apache/jdo/tck/pc/company/data/RelationshipsNoData.java
new file mode 100644
index 00000000..e80d244c
--- /dev/null
+++ b/tck/src/main/java/org/apache/jdo/tck/pc/company/data/RelationshipsNoData.java
@@ -0,0 +1,133 @@
+/*
+ * Licensed to the Apache Software Foundation (ASF) under one or more
+ * contributor license agreements.  See the NOTICE file distributed with
+ * this work for additional information regarding copyright ownership.
+ * The ASF licenses this file to You under the Apache License, Version 2.0
+ * (the "License"); you may not use this file except in compliance with
+ * the License.  You may obtain a copy of the License at
+ *
+ *     https://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+
+package org.apache.jdo.tck.pc.company.data;
+
+import static org.apache.jdo.tck.util.DataSourceUtil.date;
+import static org.apache.jdo.tck.util.DataSourceUtil.toSet;
+
+import java.math.BigDecimal;
+import org.apache.jdo.tck.pc.company.CompanyFactory;
+import org.apache.jdo.tck.pc.company.IAddress;
+import org.apache.jdo.tck.pc.company.ICompany;
+import org.apache.jdo.tck.pc.company.IDentalInsurance;
+import org.apache.jdo.tck.pc.company.IDepartment;
+import org.apache.jdo.tck.pc.company.IFullTimeEmployee;
+import org.apache.jdo.tck.pc.company.IMedicalInsurance;
+import org.apache.jdo.tck.pc.company.IPartTimeEmployee;
+import org.apache.jdo.tck.pc.company.IProject;
+import org.apache.jdo.tck.util.DefaultListableInstanceFactory;
+
+public class RelationshipsNoData implements CompanyDataSource {
+
+  @Override
+  public void init(CompanyFactory factory, DefaultListableInstanceFactory registry) {
+    IAddress addr1 =
+        factory.newAddress(1, "Unter den Linden 1", "Berlin", "  ", "12345", "Germany");
+    IAddress addr2 = factory.newAddress(2, "Broadway 1", "New York", "NY", "10000", "USA");
+    IAddress addr3 = factory.newAddress(3, "Market St.", "San Francisco", "CA", "94102", "USA");
+
+    // Insurance constructors
+    IMedicalInsurance medicalIns1 = factory.newMedicalInsurance(1, "Carrier1", "PPO");
+    IMedicalInsurance medicalIns2 = factory.newMedicalInsurance(2, "Carrier2", "HMO");
+    IMedicalInsurance medicalIns3 = factory.newMedicalInsurance(3, "Carrier3", "HMO");
+    IMedicalInsurance medicalIns4 = factory.newMedicalInsurance(4, "Carrier4", "HMO");
+    IMedicalInsurance medicalIns5 = factory.newMedicalInsurance(5, "Carrier5", "HMO");
+    IDentalInsurance dentalIns1 =
+        factory.newDentalInsurance(11, "Carrier1", BigDecimal.valueOf(99.999));
+    IDentalInsurance dentalIns2 =
+        factory.newDentalInsurance(12, "Carrier2", BigDecimal.valueOf(99.999));
+    IDentalInsurance dentalIns3 =
+        factory.newDentalInsurance(13, "Carrier3", BigDecimal.valueOf(99.999));
+    IDentalInsurance dentalIns4 =
+        factory.newDentalInsurance(14, "Carrier4", BigDecimal.valueOf(99.999));
+    IDentalInsurance dentalIns5 =
+        factory.newDentalInsurance(15, "Carrier5", BigDecimal.valueOf(99.999));
+
+    // Project constructors
+    IProject proj1 = factory.newProject(1, "orange", BigDecimal.valueOf(2500000.99));
+    IProject proj2 = factory.newProject(2, "blue", BigDecimal.valueOf(50000.00));
+    IProject proj3 = factory.newProject(3, "green", BigDecimal.valueOf(2000.99));
+
+    // Company constructor
+    ICompany company1 = factory.newCompany(1L, "Sun Microsystems, Inc.", date(1952, 4, 11), addr1);
+
+    // Meeting room constructors
+
+    // Department Constructors
+    IDepartment dept1 = factory.newDepartment(1, "Development", company1);
+    IDepartment dept2 = factory.newDepartment(2, "Human Resources", company1);
+    company1.setDepartments(toSet(dept1, dept2));
+
+    // Employee Constructors
+    IFullTimeEmployee emp1 =
+        factory.newFullTimeEmployee(
+            1, "emp1First", "emp1Last", "emp1Middle", null, addr1, null, 20000);
+    emp1.setBirthdate(date(1970, 6, 10));
+    emp1.setHiredate(date(1999, 1, 1));
+    IFullTimeEmployee emp2 =
+        factory.newFullTimeEmployee(
+            2, "emp2First", "emp2Last", "emp2Middle", null, addr2, null, 10000);
+    emp2.setBirthdate(date(1975, 12, 22));
+    emp2.setHiredate(date(2003, 7, 1));
+    IPartTimeEmployee emp3 =
+        factory.newPartTimeEmployee(
+            3, "emp3First", "emp3Last", "emp3Middle", null, addr3, null, 15);
+    emp3.setBirthdate(date(1972, 7, 5));
+    emp3.setHiredate(date(2002, 8, 15));
+    IPartTimeEmployee emp4 =
+        factory.newPartTimeEmployee(
+            4, "emp4First", "emp4Last", "emp4Middle", null, addr3, null, 13);
+    emp4.setBirthdate(date(1973, 7, 6));
+    emp4.setHiredate(date(2001, 4, 15));
+    IFullTimeEmployee emp5 =
+        factory.newFullTimeEmployee(
+            5, "emp5First", "emp5Last", "emp5Middle", null, addr3, null, 45000);
+    emp5.setBirthdate(date(1962, 7, 5));
+    emp5.setHiredate(date(1998, 8, 15));
+
+    // Employee properties
+    emp1.setWeeklyhours(40);
+
+    emp2.setWeeklyhours(40);
+
+    emp3.setWeeklyhours(19);
+
+    // Department properties
+
+    // Insurance properties
+
+    // Project properties
+
+    // root objects
+    registry.register("company1", company1);
+    registry.register("dept1", dept1);
+    registry.register("dept2", dept2);
+    registry.register("emp1", emp1);
+    registry.register("emp2", emp2);
+    registry.register("emp3", emp3);
+    registry.register("emp4", emp4);
+    registry.register("emp5", emp5);
+    registry.register("medicalIns1", medicalIns1);
+    registry.register("medicalIns2", medicalIns2);
+    registry.register("medicalIns3", medicalIns3);
+    registry.register("dentalIns1", dentalIns1);
+    registry.register("proj1", proj1);
+    registry.register("proj2", proj2);
+    registry.register("proj3", proj3);
+  }
+}
diff --git a/tck/src/main/java/org/apache/jdo/tck/pc/company/data/SampleQueryTestData.java b/tck/src/main/java/org/apache/jdo/tck/pc/company/data/SampleQueryTestData.java
new file mode 100644
index 00000000..1552b9a9
--- /dev/null
+++ b/tck/src/main/java/org/apache/jdo/tck/pc/company/data/SampleQueryTestData.java
@@ -0,0 +1,234 @@
+/*
+ * Licensed to the Apache Software Foundation (ASF) under one or more
+ * contributor license agreements.  See the NOTICE file distributed with
+ * this work for additional information regarding copyright ownership.
+ * The ASF licenses this file to You under the Apache License, Version 2.0
+ * (the "License"); you may not use this file except in compliance with
+ * the License.  You may obtain a copy of the License at
+ *
+ *     https://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+
+package org.apache.jdo.tck.pc.company.data;
+
+import static org.apache.jdo.tck.util.DataSourceUtil.date;
+import static org.apache.jdo.tck.util.DataSourceUtil.toList;
+import static org.apache.jdo.tck.util.DataSourceUtil.toMap;
+import static org.apache.jdo.tck.util.DataSourceUtil.toSet;
+
+import java.math.BigDecimal;
+import org.apache.jdo.tck.pc.company.CompanyFactory;
+import org.apache.jdo.tck.pc.company.IAddress;
+import org.apache.jdo.tck.pc.company.ICompany;
+import org.apache.jdo.tck.pc.company.IDentalInsurance;
+import org.apache.jdo.tck.pc.company.IDepartment;
+import org.apache.jdo.tck.pc.company.IFullTimeEmployee;
+import org.apache.jdo.tck.pc.company.IMedicalInsurance;
+import org.apache.jdo.tck.pc.company.IMeetingRoom;
+import org.apache.jdo.tck.pc.company.IPartTimeEmployee;
+import org.apache.jdo.tck.pc.company.IProject;
+import org.apache.jdo.tck.util.DefaultListableInstanceFactory;
+
+public class SampleQueryTestData implements CompanyDataSource {
+
+  @Override
+  public void init(CompanyFactory factory, DefaultListableInstanceFactory registry) {
+    IAddress addr1 =
+        factory.newAddress(1, "Unter den Linden 1", "Berlin", "  ", "12345", "Germany");
+    IAddress addr2 = factory.newAddress(2, "Broadway 1", "New York", "NY", "10000", "USA");
+    IAddress addr3 = factory.newAddress(3, "Market St.", "San Francisco", "CA", "94102", "USA");
+
+    // Insurance constructors
+    IMedicalInsurance medicalIns1 = factory.newMedicalInsurance(1, "Carrier1", "PPO");
+    IMedicalInsurance medicalIns2 = factory.newMedicalInsurance(2, "Carrier2", "HMO");
+    IMedicalInsurance medicalIns3 = factory.newMedicalInsurance(3, "Carrier3", "HMO");
+    IMedicalInsurance medicalIns4 = factory.newMedicalInsurance(4, "Carrier4", "HMO");
+    IMedicalInsurance medicalIns5 = factory.newMedicalInsurance(5, "Carrier5", "HMO");
+    IDentalInsurance dentalIns1 =
+        factory.newDentalInsurance(11, "Carrier1", BigDecimal.valueOf(99.995));
+    IDentalInsurance dentalIns2 =
+        factory.newDentalInsurance(12, "Carrier2", BigDecimal.valueOf(99.996));
+    IDentalInsurance dentalIns3 =
+        factory.newDentalInsurance(13, "Carrier3", BigDecimal.valueOf(99.997));
+    IDentalInsurance dentalIns4 =
+        factory.newDentalInsurance(14, "Carrier4", BigDecimal.valueOf(99.998));
+    IDentalInsurance dentalIns5 =
+        factory.newDentalInsurance(15, "Carrier5", BigDecimal.valueOf(99.999));
+    IDentalInsurance dentalIns99 = factory.newDentalInsurance(99, "Carrier99", null);
+
+    // Project constructors
+    IProject proj1 = factory.newProject(1, "orange", BigDecimal.valueOf(2500000.99));
+    IProject proj2 = factory.newProject(2, "blue", BigDecimal.valueOf(50000.00));
+    IProject proj3 = factory.newProject(3, "green", BigDecimal.valueOf(2000.99));
+
+    // Company constructor
+    ICompany company1 = factory.newCompany(1L, "Sun Microsystems, Inc.", date(1952, 4, 11), addr1);
+
+    // Meeting room constructors
+    IMeetingRoom room1 = factory.newMeetingRoom(1, "Comfy Room");
+    IMeetingRoom room2 = factory.newMeetingRoom(2, "Large Discussion Room");
+    IMeetingRoom room3 = factory.newMeetingRoom(3, "Conference Room");
+
+    // Department Constructors
+    IDepartment dept1 = factory.newDepartment(1, "R&D", company1);
+    IDepartment dept2 = factory.newDepartment(2, "Sales", company1);
+    IDepartment dept3 = factory.newDepartment(3, "Marketing", company1);
+    company1.setDepartments(toSet(dept1, dept2));
+
+    // Employee Constructors
+    IFullTimeEmployee emp1 =
+        factory.newFullTimeEmployee(1, "Michael", "Bouschen", "", null, addr1, null, 40000);
+    emp1.setBirthdate(date(1970, 6, 10));
+    emp1.setHiredate(date(1999, 1, 1));
+    IFullTimeEmployee emp2 =
+        factory.newFullTimeEmployee(2, "Craig", "Russell", "L.", null, addr2, null, 50000);
+    emp2.setBirthdate(date(1975, 12, 22));
+    emp2.setHiredate(date(2003, 7, 1));
+    IPartTimeEmployee emp3 =
+        factory.newPartTimeEmployee(3, "Joe", "Doe", "", null, addr3, null, 15);
+    emp3.setBirthdate(date(1972, 7, 5));
+    emp3.setHiredate(date(2002, 8, 15));
+    IPartTimeEmployee emp4 =
+        factory.newPartTimeEmployee(4, "Jane", "Roe", "", null, addr3, null, 13);
+    emp4.setBirthdate(date(1973, 7, 6));
+    emp4.setHiredate(date(2001, 4, 15));
+    IFullTimeEmployee emp5 =
+        factory.newFullTimeEmployee(5, "Tilmann", "Zäschke", "", null, addr3, null, 45000);
+    emp5.setBirthdate(date(1979, 7, 5));
+    emp5.setHiredate(date(1999, 8, 15));
+
+    // Employee properties
+    emp1.setWeeklyhours(40);
+    emp1.setMedicalInsurance(medicalIns1);
+    emp1.setDentalInsurance(dentalIns1);
+    emp1.setPhoneNumbers(toMap("home", "1111", "work", "123456-1"));
+    emp1.setLanguages(toSet("German", "English"));
+    emp1.setDepartment(dept1);
+    emp1.setFundingDept(dept2);
+    emp1.setManager(emp2);
+    emp1.setMentor(emp2);
+    emp1.setProtege(emp5);
+    emp1.setHradvisor(emp5);
+    emp1.setReviewedProjects(toSet(proj3));
+    emp1.setProjects(toSet(proj1));
+
+    emp2.setWeeklyhours(40);
+    emp2.setMedicalInsurance(medicalIns2);
+    emp2.setDentalInsurance(dentalIns2);
+    emp2.setPhoneNumbers(toMap("home", "2222", "work", "123456-2"));
+    emp2.setLanguages(toSet("English", "Japanese"));
+    emp2.setDepartment(dept1);
+    emp2.setFundingDept(dept1);
+    emp2.setMentor(emp3);
+    emp2.setProtege(emp1);
+    emp2.setHradvisor(emp5);
+    emp2.setProjects(toSet(proj1, proj2));
+    emp2.setTeam(toSet(emp1, emp3, emp4, emp5));
+
+    emp3.setWeeklyhours(19);
+    emp3.setMedicalInsurance(medicalIns3);
+    emp3.setDentalInsurance(dentalIns3);
+    emp3.setPhoneNumbers(toMap("home", "3333", "work", "123456-3"));
+    emp3.setLanguages(toSet("English", "French"));
+    emp3.setDepartment(dept1);
+    emp3.setFundingDept(dept1);
+    emp3.setManager(emp2);
+    emp3.setMentor(emp4);
+    emp3.setProtege(emp2);
+    emp3.setHradvisor(emp5);
+    emp3.setProjects(toSet(proj1, proj2));
+
+    emp4.setMedicalInsurance(medicalIns4);
+    emp4.setDentalInsurance(dentalIns4);
+    emp4.setPhoneNumbers(toMap("home", "3343", "work", "124456-3"));
+    emp4.setLanguages(toSet("English"));
+    emp4.setDepartment(dept2);
+    emp4.setFundingDept(dept2);
+    emp4.setManager(emp2);
+    emp4.setMentor(emp5);
+    emp4.setProtege(emp3);
+    emp4.setHradvisor(emp5);
+    emp4.setProjects(toSet(proj3));
+    emp4.setReviewedProjects(toSet(proj2));
+
+    emp5.setMedicalInsurance(medicalIns5);
+    emp5.setDentalInsurance(dentalIns5);
+    emp5.setPhoneNumbers(toMap("home", "3363", "work", "126456-3"));
+    emp5.setLanguages(toSet("German", "English", "French", "Japanese"));
+    emp5.setDepartment(dept2);
+    emp5.setFundingDept(dept2);
+    emp5.setManager(emp2);
+    emp5.setMentor(emp1);
+    emp5.setProtege(emp4);
+    emp5.setProjects(toSet(proj3));
+    emp5.setReviewedProjects(toSet(proj2));
+    emp5.setHradvisees(toSet(emp1, emp2, emp3, emp4));
+
+    // Department properties
+    dept1.setEmployees(toSet(emp1, emp2, emp3));
+    dept1.setFundedEmps(toSet(emp2, emp3));
+    dept1.setMeetingRooms(toList(room1, room2, room3));
+
+    dept2.setEmployees(toSet(emp4, emp5));
+    dept2.setFundedEmps(toSet(emp1, emp4, emp5));
+    dept2.setMeetingRooms(toList());
+
+    dept3.setEmployees(toSet());
+    dept3.setFundedEmps(toSet());
+    dept3.setMeetingRooms(toList());
+
+    // Insurance properties
+    medicalIns1.setEmployee(emp1);
+    medicalIns2.setEmployee(emp2);
+    medicalIns3.setEmployee(emp3);
+    medicalIns4.setEmployee(emp4);
+    medicalIns5.setEmployee(emp5);
+    dentalIns1.setEmployee(emp1);
+    dentalIns2.setEmployee(emp2);
+    dentalIns3.setEmployee(emp3);
+    dentalIns4.setEmployee(emp4);
+    dentalIns5.setEmployee(emp5);
+
+    // Project properties
+    proj1.setMembers(toSet(emp1, emp2, emp3));
+    proj2.setReviewers(toSet(emp4, emp5));
+    proj2.setMembers(toSet(emp2, emp3));
+    proj3.setReviewers(toSet(emp1));
+    proj3.setMembers(toSet(emp4, emp5));
+
+    // root objects
+    registry.register("company1", company1);
+    registry.register("dentalIns99", dentalIns99);
+
+    registry.register("dept1", dept1);
+    registry.register("dept2", dept2);
+    registry.register("dept3", dept3);
+    registry.register("emp1", emp1);
+    registry.register("emp2", emp2);
+    registry.register("emp3", emp3);
+    registry.register("emp4", emp4);
+    registry.register("emp5", emp5);
+    registry.register("proj1", proj1);
+    registry.register("proj2", proj2);
+    registry.register("proj3", proj3);
+    registry.register("dentalIns1", dentalIns1);
+    registry.register("dentalIns2", dentalIns2);
+    registry.register("dentalIns3", dentalIns3);
+    registry.register("dentalIns4", dentalIns4);
+    registry.register("dentalIns5", dentalIns5);
+    registry.register("medicalIns1", medicalIns1);
+    registry.register("medicalIns2", medicalIns2);
+    registry.register("medicalIns3", medicalIns3);
+    registry.register("medicalIns4", medicalIns4);
+    registry.register("medicalIns5", medicalIns5);
+    registry.register("room1", room1);
+    registry.register("room2", room2);
+    registry.register("room3", room3);
+  }
+}
diff --git a/tck/src/main/java/org/apache/jdo/tck/pc/company/data/SubqueryTestData.java b/tck/src/main/java/org/apache/jdo/tck/pc/company/data/SubqueryTestData.java
new file mode 100644
index 00000000..1062cd12
--- /dev/null
+++ b/tck/src/main/java/org/apache/jdo/tck/pc/company/data/SubqueryTestData.java
@@ -0,0 +1,183 @@
+/*
+ * Licensed to the Apache Software Foundation (ASF) under one or more
+ * contributor license agreements.  See the NOTICE file distributed with
+ * this work for additional information regarding copyright ownership.
+ * The ASF licenses this file to You under the Apache License, Version 2.0
+ * (the "License"); you may not use this file except in compliance with
+ * the License.  You may obtain a copy of the License at
+ *
+ *     https://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+
+package org.apache.jdo.tck.pc.company.data;
+
+import static org.apache.jdo.tck.util.DataSourceUtil.date;
+import static org.apache.jdo.tck.util.DataSourceUtil.toList;
+import static org.apache.jdo.tck.util.DataSourceUtil.toSet;
+
+import org.apache.jdo.tck.pc.company.CompanyFactory;
+import org.apache.jdo.tck.pc.company.IAddress;
+import org.apache.jdo.tck.pc.company.ICompany;
+import org.apache.jdo.tck.pc.company.IDepartment;
+import org.apache.jdo.tck.pc.company.IFullTimeEmployee;
+import org.apache.jdo.tck.pc.company.IMeetingRoom;
+import org.apache.jdo.tck.pc.company.IPartTimeEmployee;
+import org.apache.jdo.tck.util.DefaultListableInstanceFactory;
+
+public class SubqueryTestData implements CompanyDataSource {
+
+  @Override
+  public void init(CompanyFactory factory, DefaultListableInstanceFactory registry) {
+    IAddress addr1 =
+        factory.newAddress(1, "Unter den Linden 1", "Berlin", "  ", "12345", "Germany");
+    IAddress addr2 = factory.newAddress(2, "Broadway 1", "New York", "NY", "10000", "USA");
+    IAddress addr3 = factory.newAddress(3, "Market St.", "San Francisco", "CA", "94102", "USA");
+
+    // Company constructor
+    ICompany company1 = factory.newCompany(1L, "Sun Microsystems, Inc.", date(1952, 4, 11), addr1);
+
+    // Meeting room constructors
+    IMeetingRoom room1 = factory.newMeetingRoom(1, "Comfy Room");
+    IMeetingRoom room2 = factory.newMeetingRoom(2, "Large Discussion Room");
+    IMeetingRoom room3 = factory.newMeetingRoom(3, "Conference Room");
+
+    // Department Constructors
+    IDepartment dept1 = factory.newDepartment(1, "Development", company1);
+    IDepartment dept2 = factory.newDepartment(2, "Human Resources", company1);
+    company1.setDepartments(toSet(dept1, dept2));
+
+    // Employee Constructors
+    IFullTimeEmployee emp1 =
+        factory.newFullTimeEmployee(
+            1, "emp1First", "emp1Last", "emp1Middle", null, addr1, null, 30000);
+    emp1.setBirthdate(date(1970, 6, 10));
+    emp1.setHiredate(date(1999, 1, 1));
+    IFullTimeEmployee emp2 =
+        factory.newFullTimeEmployee(
+            2, "emp2First", "emp2Last", "emp2Middle", null, addr2, null, 20000);
+    emp2.setBirthdate(date(1975, 12, 22));
+    emp2.setHiredate(date(2003, 7, 1));
+    IPartTimeEmployee emp3 =
+        factory.newPartTimeEmployee(
+            3, "emp3First", "emp3Last", "emp3Middle", null, addr3, null, 10000);
+    emp3.setBirthdate(date(1972, 7, 5));
+    emp3.setHiredate(date(2002, 8, 15));
+    IPartTimeEmployee emp4 =
+        factory.newPartTimeEmployee(
+            4, "emp4First", "emp4Last", "emp4Middle", null, addr2, null, 25000);
+    emp4.setBirthdate(date(1973, 7, 6));
+    emp4.setHiredate(date(2001, 4, 15));
+    IFullTimeEmployee emp5 =
+        factory.newFullTimeEmployee(
+            5, "emp5First", "emp5Last", "emp5Middle", null, addr2, null, 18000);
+    emp5.setBirthdate(date(1962, 7, 5));
+    emp5.setHiredate(date(2002, 11, 1));
+    IFullTimeEmployee emp6 =
+        factory.newFullTimeEmployee(
+            6, "emp6First", "emp6Last", "emp6Middle", null, addr3, null, 22000);
+    emp6.setBirthdate(date(1969, 6, 10));
+    emp6.setHiredate(date(2002, 6, 1));
+    IFullTimeEmployee emp7 =
+        factory.newFullTimeEmployee(
+            7, "emp7First", "emp7Last", "emp7Middle", null, addr1, null, 40000);
+    emp7.setBirthdate(date(1970, 6, 10));
+    emp7.setHiredate(date(2000, 1, 1));
+    IFullTimeEmployee emp8 =
+        factory.newFullTimeEmployee(
+            8, "emp8First", "emp8Last", "emp8Middle", null, addr2, null, 10000);
+    emp8.setBirthdate(date(1975, 12, 22));
+    emp8.setHiredate(date(2003, 8, 1));
+    IFullTimeEmployee emp9 =
+        factory.newFullTimeEmployee(
+            9, "emp9First", "emp9Last", "emp9Middle", null, addr3, null, 12000);
+    emp9.setBirthdate(date(1972, 7, 5));
+    emp9.setHiredate(date(2002, 5, 1));
+    IFullTimeEmployee emp10 =
+        factory.newFullTimeEmployee(
+            10, "emp10First", "emp10Last", "emp10Middle", null, addr3, null, 24000);
+    emp10.setBirthdate(date(1972, 7, 5));
+    emp10.setHiredate(date(2002, 10, 1));
+
+    // Employee properties
+    emp1.setWeeklyhours(40);
+    emp1.setDepartment(dept1);
+    emp1.setManager(null);
+    emp1.setTeam(toSet(emp2, emp3, emp10));
+
+    emp2.setWeeklyhours(40);
+    emp2.setDepartment(dept1);
+    emp2.setManager(emp1);
+    emp2.setTeam(toSet());
+
+    emp3.setWeeklyhours(25);
+    emp3.setDepartment(dept1);
+    emp3.setManager(emp1);
+    emp3.setTeam(toSet());
+
+    emp4.setWeeklyhours(40);
+    emp4.setDepartment(dept1);
+    emp4.setManager(null);
+    emp4.setTeam(toSet(emp5, emp6));
+
+    emp5.setWeeklyhours(35);
+    emp5.setDepartment(dept1);
+    emp5.setManager(emp4);
+    emp5.setTeam(toSet());
+
+    emp6.setWeeklyhours(40);
+    emp6.setDepartment(dept1);
+    emp6.setManager(emp4);
+    emp6.setTeam(toSet());
+
+    emp7.setWeeklyhours(40);
+    emp7.setDepartment(dept2);
+    emp7.setManager(null);
+    emp7.setTeam(toSet(emp8, emp9));
+
+    emp8.setWeeklyhours(15);
+    emp8.setDepartment(dept2);
+    emp8.setManager(emp7);
+    emp8.setTeam(toSet());
+
+    emp9.setWeeklyhours(20);
+    emp9.setDepartment(dept2);
+    emp9.setManager(emp7);
+    emp9.setTeam(toSet());
+
+    emp10.setWeeklyhours(40);
+    emp10.setDepartment(dept2);
+    emp10.setManager(emp1);
+    emp10.setTeam(toSet());
+
+    // Department properties
+    dept1.setEmployees(toSet(emp1, emp2, emp3, emp4, emp5, emp6));
+    dept1.setMeetingRooms(toList(room1, room2));
+
+    dept2.setEmployees(toSet(emp7, emp8, emp9, emp10));
+    dept2.setMeetingRooms(toList(room3));
+
+    // root objects
+    registry.register("company1", company1);
+
+    registry.register("dept1", dept1);
+    registry.register("dept2", dept2);
+    registry.register("emp1", emp1);
+    registry.register("emp2", emp2);
+    registry.register("emp3", emp3);
+    registry.register("emp4", emp4);
+    registry.register("emp5", emp5);
+    registry.register("emp6", emp6);
+    registry.register("emp7", emp7);
+    registry.register("emp8", emp8);
+    registry.register("emp9", emp9);
+    registry.register("emp10", emp10);
+    registry.register("room1", room1);
+    registry.register("room2", room2);
+  }
+}
diff --git a/tck/src/main/java/org/apache/jdo/tck/pc/companyListWithoutJoin/CompanyModelReader.java b/tck/src/main/java/org/apache/jdo/tck/pc/companyListWithoutJoin/CompanyModelReader.java
index 67cb2857..5c49d35f 100644
--- a/tck/src/main/java/org/apache/jdo/tck/pc/companyListWithoutJoin/CompanyModelReader.java
+++ b/tck/src/main/java/org/apache/jdo/tck/pc/companyListWithoutJoin/CompanyModelReader.java
@@ -18,35 +18,21 @@
 package org.apache.jdo.tck.pc.companyListWithoutJoin;
 
 import java.util.Date;
-import java.util.List;
 import java.util.Locale;
 import org.apache.jdo.tck.util.ConversionHelper;
+import org.apache.jdo.tck.util.DefaultListableInstanceFactory;
 import org.apache.jdo.tck.util.JDOCustomDateEditor;
-import org.springframework.beans.factory.support.DefaultListableBeanFactory;
-import org.springframework.beans.factory.xml.XmlBeanDefinitionReader;
-import org.springframework.core.io.ClassPathResource;
 
 /**
  * Utility class to create a graph of company model instances from an xml representation.
  *
  * @author Michael Bouschen
  */
-public class CompanyModelReader extends DefaultListableBeanFactory {
-
-  private static final long serialVersionUID = 1L;
-
-  /** The name of the root list bean. */
-  public static final String ROOT_LIST_NAME = "root";
-
-  /** The bean-factory name in the xml input files. */
-  public static final String BEAN_FACTORY_NAME = "companyFactory";
+public class CompanyModelReader extends DefaultListableInstanceFactory {
 
   /** The company factory instance. */
   private CompanyFactory companyFactory;
 
-  /** Bean definition reader */
-  private final XmlBeanDefinitionReader reader;
-
   /**
    * Create a CompanyModelReader for the specified resourceName.
    *
@@ -64,31 +50,8 @@ public class CompanyModelReader extends DefaultListableBeanFactory {
    * @param classLoader the ClassLoader for the lookup
    */
   public CompanyModelReader(String resourceName, ClassLoader classLoader) {
-    super();
-    configureFactory();
-    this.reader = new XmlBeanDefinitionReader(this);
-    this.reader.loadBeanDefinitions(new ClassPathResource(resourceName, classLoader));
-  }
-
-  /**
-   * Returns a list of root objects. The method expects to find a bean called "root" of type list in
-   * the xml and returns it.
-   *
-   * @return a list of root instances
-   */
-  @SuppressWarnings("unchecked")
-  public List<Object> getRootList() {
-    return (List<Object>) getBean(ROOT_LIST_NAME);
-  }
-
-  /**
-   * Configure the CompanyModelReader, e.g. register CustomEditor classes to convert the string
-   * representation of a property into an instance of the right type.
-   */
-  private void configureFactory() {
-    registerCustomEditor(Date.class, JDOCustomDateEditor.class);
     companyFactory = CompanyFactoryRegistry.getInstance();
-    addSingleton(BEAN_FACTORY_NAME, companyFactory);
+    getDataSource(resourceName).init(companyFactory, this);
   }
 
   // Convenience methods
diff --git a/tck/src/main/java/org/apache/jdo/tck/pc/companyListWithoutJoin/CompanyModelTestData.java b/tck/src/main/java/org/apache/jdo/tck/pc/companyListWithoutJoin/CompanyModelTestData.java
new file mode 100644
index 00000000..117a9316
--- /dev/null
+++ b/tck/src/main/java/org/apache/jdo/tck/pc/companyListWithoutJoin/CompanyModelTestData.java
@@ -0,0 +1,101 @@
+/*
+ * Licensed to the Apache Software Foundation (ASF) under one or more
+ * contributor license agreements.  See the NOTICE file distributed with
+ * this work for additional information regarding copyright ownership.
+ * The ASF licenses this file to You under the Apache License, Version 2.0
+ * (the "License"); you may not use this file except in compliance with
+ * the License.  You may obtain a copy of the License at
+ *
+ *     https://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+
+package org.apache.jdo.tck.pc.companyListWithoutJoin;
+
+import static org.apache.jdo.tck.util.DataSourceUtil.date;
+import static org.apache.jdo.tck.util.DataSourceUtil.toList;
+import static org.apache.jdo.tck.util.DataSourceUtil.toSet;
+
+import org.apache.jdo.tck.util.DataSource;
+import org.apache.jdo.tck.util.DefaultListableInstanceFactory;
+
+/**
+ * Utility class to create a graph of company model instances.
+ *
+ * @author Michael Bouschen
+ */
+public class CompanyModelTestData implements DataSource<CompanyFactory> {
+
+  /** Company instances for CompletenessTest with Map without join table. */
+  @Override
+  public void init(CompanyFactory factory, DefaultListableInstanceFactory registry) {
+
+    // Instances / Constructors
+
+    ICompany company1 = factory.newCompany(1L, "Sun Microsystems, Inc.", date(1952, 4, 11));
+
+    IDepartment dept1 = factory.newDepartment(1, "Development", company1);
+    IDepartment dept2 = factory.newDepartment(2, "Human Resources", company1);
+    company1.setDepartments(toSet(dept1, dept2));
+
+    IFullTimeEmployee emp1 =
+        factory.newFullTimeEmployee(
+            1, "emp1First", "emp1Last", "emp1Middle", date(1970, 6, 10), date(1999, 1, 1), 60000);
+
+    IFullTimeEmployee emp2 =
+        factory.newFullTimeEmployee(
+            2, "emp2First", "emp2Last", "emp2Middle", date(1975, 12, 22), date(2003, 7, 1), 47000);
+
+    IFullTimeEmployee emp3 =
+        factory.newFullTimeEmployee(
+            3, "emp3First", "emp3Last", "emp3Middle", date(1972, 7, 5), date(2002, 8, 15), 67.00);
+
+    IFullTimeEmployee emp4 =
+        factory.newFullTimeEmployee(
+            4, "emp4First", "emp4Last", "emp4Middle", date(1973, 7, 6), date(2001, 4, 15), 37.00);
+
+    IFullTimeEmployee emp5 =
+        factory.newFullTimeEmployee(
+            5, "emp5First", "emp5Last", "emp5Middle", date(1962, 7, 5), date(1998, 8, 15), 73000);
+
+    emp1.setWeeklyhours(40);
+    emp1.setDepartment(dept1);
+    emp1.setFundingDept(dept2);
+    emp1.setManager(emp2);
+    emp1.setHradvisor(emp5);
+
+    emp2.setWeeklyhours(40);
+    emp2.setDepartment(dept1);
+    emp2.setFundingDept(dept1);
+    emp2.setHradvisor(emp5);
+    emp2.setTeam(toSet(emp1, emp3, emp4, emp5));
+
+    emp3.setWeeklyhours(19);
+    emp3.setDepartment(dept1);
+    emp3.setFundingDept(dept1);
+    emp3.setManager(emp2);
+    emp3.setHradvisor(emp5);
+
+    emp4.setDepartment(dept2);
+    emp4.setFundingDept(dept2);
+    emp4.setManager(emp2);
+    emp4.setHradvisor(emp5);
+
+    emp5.setDepartment(dept2);
+    emp5.setFundingDept(dept2);
+    emp5.setManager(emp2);
+    emp5.setHradvisees(toSet(emp1, emp2, emp3, emp4));
+
+    dept1.setEmployees(toList(emp1, emp2, emp3));
+    dept2.setEmployees(toList(emp4, emp5));
+
+    // Register named objects
+
+    registry.register("company1", company1);
+  }
+}
diff --git a/tck/src/main/java/org/apache/jdo/tck/pc/companyMapWithoutJoin/CompanyModelReader.java b/tck/src/main/java/org/apache/jdo/tck/pc/companyMapWithoutJoin/CompanyModelReader.java
index 80ac84b4..3bff8a4e 100644
--- a/tck/src/main/java/org/apache/jdo/tck/pc/companyMapWithoutJoin/CompanyModelReader.java
+++ b/tck/src/main/java/org/apache/jdo/tck/pc/companyMapWithoutJoin/CompanyModelReader.java
@@ -18,77 +18,29 @@
 package org.apache.jdo.tck.pc.companyMapWithoutJoin;
 
 import java.util.Date;
-import java.util.List;
 import java.util.Locale;
 import org.apache.jdo.tck.util.ConversionHelper;
+import org.apache.jdo.tck.util.DefaultListableInstanceFactory;
 import org.apache.jdo.tck.util.JDOCustomDateEditor;
-import org.springframework.beans.factory.support.DefaultListableBeanFactory;
-import org.springframework.beans.factory.xml.XmlBeanDefinitionReader;
-import org.springframework.core.io.ClassPathResource;
 
 /**
- * Utility class to create a graph of company model instances from an xml representation.
+ * Utility class to create a graph of company model instances.
  *
  * @author Michael Bouschen
  */
-public class CompanyModelReader extends DefaultListableBeanFactory {
-
-  private static final long serialVersionUID = 1L;
-
-  /** The name of the root list bean. */
-  public static final String ROOT_LIST_NAME = "root";
-
-  /** The bean-factory name in the xml input files. */
-  public static final String BEAN_FACTORY_NAME = "companyFactory";
+public class CompanyModelReader extends DefaultListableInstanceFactory {
 
   /** The company factory instance. */
   private CompanyFactory companyFactory;
 
-  /** Bean definition reader */
-  private final XmlBeanDefinitionReader reader;
-
   /**
    * Create a CompanyModelReader for the specified resourceName.
    *
    * @param resourceName the name of the resource
    */
   public CompanyModelReader(String resourceName) {
-    // Use the class loader of the Company class to find the resource
-    this(resourceName, Company.class.getClassLoader());
-  }
-
-  /**
-   * Create a CompanyModelReader for the specified resourceName.
-   *
-   * @param resourceName the name of the resource
-   * @param classLoader the ClassLoader for the lookup
-   */
-  public CompanyModelReader(String resourceName, ClassLoader classLoader) {
-    super();
-    configureFactory();
-    this.reader = new XmlBeanDefinitionReader(this);
-    this.reader.loadBeanDefinitions(new ClassPathResource(resourceName, classLoader));
-  }
-
-  /**
-   * Returns a list of root objects. The method expects to find a bean called "root" of type list in
-   * the xml and returns it.
-   *
-   * @return a list of root instances
-   */
-  @SuppressWarnings("unchecked")
-  public List<Object> getRootList() {
-    return (List<Object>) getBean(ROOT_LIST_NAME);
-  }
-
-  /**
-   * Configure the CompanyModelReader, e.g. register CustomEditor classes to convert the string
-   * representation of a property into an instance of the right type.
-   */
-  private void configureFactory() {
-    registerCustomEditor(Date.class, JDOCustomDateEditor.class);
     companyFactory = CompanyFactoryRegistry.getInstance();
-    addSingleton(BEAN_FACTORY_NAME, companyFactory);
+    getDataSource(resourceName).init(companyFactory, this);
   }
 
   // Convenience methods
diff --git a/tck/src/main/java/org/apache/jdo/tck/pc/companyMapWithoutJoin/CompanyModelTestData.java b/tck/src/main/java/org/apache/jdo/tck/pc/companyMapWithoutJoin/CompanyModelTestData.java
new file mode 100644
index 00000000..8984e8fd
--- /dev/null
+++ b/tck/src/main/java/org/apache/jdo/tck/pc/companyMapWithoutJoin/CompanyModelTestData.java
@@ -0,0 +1,138 @@
+/*
+ * Licensed to the Apache Software Foundation (ASF) under one or more
+ * contributor license agreements.  See the NOTICE file distributed with
+ * this work for additional information regarding copyright ownership.
+ * The ASF licenses this file to You under the Apache License, Version 2.0
+ * (the "License"); you may not use this file except in compliance with
+ * the License.  You may obtain a copy of the License at
+ *
+ *     https://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+
+package org.apache.jdo.tck.pc.companyMapWithoutJoin;
+
+import static org.apache.jdo.tck.util.DataSourceUtil.date;
+import static org.apache.jdo.tck.util.DataSourceUtil.toMap;
+import static org.apache.jdo.tck.util.DataSourceUtil.toSet;
+
+import org.apache.jdo.tck.util.DataSource;
+import org.apache.jdo.tck.util.DefaultListableInstanceFactory;
+
+/**
+ * Utility class to create a graph of company model instances.
+ *
+ * @author Tilmann Zäschke
+ */
+public class CompanyModelTestData implements DataSource<CompanyFactory> {
+
+  /** Company instances for CompletenessTest with Map without join table. */
+  @Override
+  public void init(CompanyFactory factory, DefaultListableInstanceFactory registry) {
+
+    // Instances / Constructors
+
+    ICompany company1 = factory.newCompany(1L, "Sun Microsystems, Inc.", date(1952, 4, 11));
+
+    IDepartment dept1 = factory.newDepartment(1, "Development", company1);
+    IDepartment dept2 = factory.newDepartment(2, "Human Resources", company1);
+    company1.setDepartments(toSet(dept1, dept2));
+
+    IFullTimeEmployee emp1 =
+        factory.newFullTimeEmployee(
+            1,
+            "emp1First",
+            "emp1Last",
+            "emp1Middle",
+            date(1970, 6, 10),
+            date(1999, 1, 1),
+            "role1",
+            60000);
+
+    IFullTimeEmployee emp2 =
+        factory.newFullTimeEmployee(
+            2,
+            "emp2First",
+            "emp2Last",
+            "emp2Middle",
+            date(1975, 12, 22),
+            date(2003, 7, 1),
+            "role2",
+            47000);
+
+    IFullTimeEmployee emp3 =
+        factory.newFullTimeEmployee(
+            3,
+            "emp3First",
+            "emp3Last",
+            "emp3Middle",
+            date(1972, 7, 5),
+            date(2002, 8, 15),
+            "role3",
+            67.00);
+
+    IFullTimeEmployee emp4 =
+        factory.newFullTimeEmployee(
+            4,
+            "emp4First",
+            "emp4Last",
+            "emp4Middle",
+            date(1973, 7, 6),
+            date(2001, 4, 15),
+            "role4",
+            37.00);
+
+    IFullTimeEmployee emp5 =
+        factory.newFullTimeEmployee(
+            5,
+            "emp5First",
+            "emp5Last",
+            "emp5Middle",
+            date(1962, 7, 5),
+            date(1998, 8, 15),
+            "role5",
+            73000);
+
+    // Properties
+
+    emp1.setWeeklyhours(40);
+    emp1.setDepartment(dept1);
+    emp1.setFundingDept(dept2);
+    emp1.setManager(emp2);
+    emp1.setHradvisor(emp5);
+
+    emp2.setWeeklyhours(40);
+    emp2.setDepartment(dept1);
+    emp2.setFundingDept(dept1);
+    emp2.setHradvisor(emp5);
+    emp2.setTeam(toSet(emp1, emp3, emp4, emp5));
+
+    emp3.setWeeklyhours(19);
+    emp3.setDepartment(dept1);
+    emp3.setFundingDept(dept1);
+    emp3.setManager(emp2);
+    emp3.setHradvisor(emp5);
+
+    emp4.setDepartment(dept2);
+    emp4.setFundingDept(dept2);
+    emp4.setManager(emp2);
+    emp4.setHradvisor(emp5);
+
+    emp5.setDepartment(dept2);
+    emp5.setFundingDept(dept2);
+    emp5.setManager(emp2);
+    emp5.setHradvisees(toSet(emp1, emp2, emp3, emp4));
+
+    dept1.setRoles(toMap(IEmployee::getRole, emp1, emp2, emp3));
+    dept2.setRoles(toMap(IEmployee::getRole, emp4, emp5));
+
+    // Register named objects
+
+    registry.register("company1", company1);
+  }
+}
diff --git a/tck/src/main/java/org/apache/jdo/tck/pc/mylib/MylibReader.java b/tck/src/main/java/org/apache/jdo/tck/pc/mylib/MylibReader.java
index 3751f078..587095c6 100644
--- a/tck/src/main/java/org/apache/jdo/tck/pc/mylib/MylibReader.java
+++ b/tck/src/main/java/org/apache/jdo/tck/pc/mylib/MylibReader.java
@@ -17,69 +17,23 @@
 
 package org.apache.jdo.tck.pc.mylib;
 
-import java.util.Date;
-import java.util.List;
-import org.apache.jdo.tck.util.JDOCustomDateEditor;
-import org.springframework.beans.factory.support.DefaultListableBeanFactory;
-import org.springframework.beans.factory.xml.XmlBeanDefinitionReader;
-import org.springframework.core.io.ClassPathResource;
+import org.apache.jdo.tck.util.DefaultListableInstanceFactory;
 
-/** Utility class to create a mylib instances from an xml representation. */
-public class MylibReader extends DefaultListableBeanFactory {
-
-  private static final long serialVersionUID = 1L;
-
-  /** The name of the root list bean. */
-  public static final String ROOT_LIST_NAME = "root";
+/** Utility class to create mylib test data instances. */
+public class MylibReader extends DefaultListableInstanceFactory {
 
   /** Teardown classes */
-  @SuppressWarnings("rawtypes")
   private static final Class<?>[] tearDownClasses =
       new Class[] {PrimitiveTypes.class, PCClass.class};
 
-  /** Bean definition reader */
-  private final XmlBeanDefinitionReader reader;
-
   /**
    * Create a MylibReader for the specified resourceName.
    *
    * @param resourceName the name of the resource
    */
   public MylibReader(String resourceName) {
-    // Use the class loader of the PrimitiveTypes class to find the resource
-    this(resourceName, PrimitiveTypes.class.getClassLoader());
-  }
-
-  /**
-   * Create a MylibReader for the specified resourceName.
-   *
-   * @param resourceName the name of the resource
-   * @param classLoader the ClassLoader for the lookup
-   */
-  public MylibReader(String resourceName, ClassLoader classLoader) {
     super();
-    configureFactory();
-    this.reader = new XmlBeanDefinitionReader(this);
-    this.reader.loadBeanDefinitions(new ClassPathResource(resourceName, classLoader));
-  }
-
-  /**
-   * Returns a list of root objects. The method expects to find a bean called "root" of type list in
-   * the xml and returns it.
-   *
-   * @return a list of root instances
-   */
-  @SuppressWarnings("unchecked")
-  public List<Object> getRootList() {
-    return (List<Object>) getBean(ROOT_LIST_NAME);
-  }
-
-  /**
-   * Configure the MylibReader, e.g. register CustomEditor classes to convert the string
-   * representation of a property into an instance of the right type.
-   */
-  private void configureFactory() {
-    registerCustomEditor(Date.class, JDOCustomDateEditor.class);
+    new MylibTestData().init(this, this);
   }
 
   // Convenience methods
@@ -89,7 +43,7 @@ public class MylibReader extends DefaultListableBeanFactory {
    * <code>null</code> if there is no Address bean with the specified name.
    *
    * @param name the name of the bean to return.
-   * @return the instance of the bean or <code>null</code> if there no Address bean.
+   * @return the instance of the bean or <code>null</code> if there is no Address bean.
    */
   public PrimitiveTypes getPrimitiveTypes(String name) {
     return getBean(name, PrimitiveTypes.class);
diff --git a/tck/src/main/java/org/apache/jdo/tck/pc/mylib/MylibTestData.java b/tck/src/main/java/org/apache/jdo/tck/pc/mylib/MylibTestData.java
new file mode 100644
index 00000000..599b981f
--- /dev/null
+++ b/tck/src/main/java/org/apache/jdo/tck/pc/mylib/MylibTestData.java
@@ -0,0 +1,71 @@
+/*
+ * Licensed to the Apache Software Foundation (ASF) under one or more
+ * contributor license agreements.  See the NOTICE file distributed with
+ * this work for additional information regarding copyright ownership.
+ * The ASF licenses this file to You under the Apache License, Version 2.0
+ * (the "License"); you may not use this file except in compliance with
+ * the License.  You may obtain a copy of the License at
+ *
+ *     https://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+
+package org.apache.jdo.tck.pc.mylib;
+
+import org.apache.jdo.tck.util.DataSource;
+import org.apache.jdo.tck.util.DefaultListableInstanceFactory;
+
+/** Utility class to create a mylib instances for unit tests. */
+public class MylibTestData implements DataSource<DefaultListableInstanceFactory> {
+
+  @Override
+  public void init(
+      DefaultListableInstanceFactory factory, DefaultListableInstanceFactory registry) {
+    PrimitiveTypes primitiveTypesPositive =
+        new PrimitiveTypes(
+            1L,
+            false,
+            null,
+            (byte) 0,
+            null,
+            (short) 0,
+            null,
+            4,
+            4,
+            4,
+            Long.valueOf(4),
+            4.0f,
+            4.0f,
+            4.0,
+            4.0,
+            (char) 0,
+            null,
+            null,
+            null,
+            null,
+            null,
+            null);
+    PrimitiveTypes primitiveTypesNegative =
+        new PrimitiveTypes(
+            2L, false, null, (byte) 0, null, (short) 0, null, -4, -4, -4, -4L, -4.0f, -4.0f, -4.0,
+            -4.0, (char) 0, null, null, null, null, null, null);
+    PCClass pcClass1 = new PCClass(1, 10, 10, 0, 0);
+    PCClass pcClass2 = new PCClass(2, 20, 20, 0, 0);
+    PrimitiveTypes primitiveTypesCharacterStringLiterals =
+        new PrimitiveTypes(
+            3, false, null, (byte) 0, null, (short) 0, null, 0, null, 0, null, 0, null, 0, null,
+            (char) 0, (char) 0, null, "Even", null, null, null);
+
+    registry.register("primitiveTypesPositive", primitiveTypesPositive);
+    registry.register("primitiveTypesNegative", primitiveTypesNegative);
+    registry.register("pcClass1", pcClass1);
+    registry.register("pcClass2", pcClass2);
+    registry.register(
+        "primitiveTypesCharacterStringLiterals", primitiveTypesCharacterStringLiterals);
+  }
+}
diff --git a/tck/src/main/java/org/apache/jdo/tck/pc/mylib/PCClass.java b/tck/src/main/java/org/apache/jdo/tck/pc/mylib/PCClass.java
index 207d9e66..4a33bd00 100644
--- a/tck/src/main/java/org/apache/jdo/tck/pc/mylib/PCClass.java
+++ b/tck/src/main/java/org/apache/jdo/tck/pc/mylib/PCClass.java
@@ -31,6 +31,14 @@ public class PCClass implements LoadCallback {
 
   public PCClass() {}
 
+  public PCClass(long id, int number1, int number2, int transientNumber1, int transientNumber2) {
+    this.id = id;
+    this.number1 = number1;
+    this.number2 = number2;
+    this.transientNumber1 = transientNumber1;
+    this.transientNumber2 = transientNumber2;
+  }
+
   /**
    * @see LoadCallback#jdoPostLoad()
    */
diff --git a/tck/src/main/java/org/apache/jdo/tck/pc/order/OrderModelReader.java b/tck/src/main/java/org/apache/jdo/tck/pc/order/OrderModelReader.java
index e0be14b6..b3a064bf 100644
--- a/tck/src/main/java/org/apache/jdo/tck/pc/order/OrderModelReader.java
+++ b/tck/src/main/java/org/apache/jdo/tck/pc/order/OrderModelReader.java
@@ -18,73 +18,25 @@
 package org.apache.jdo.tck.pc.order;
 
 import java.util.Date;
-import java.util.List;
 import java.util.Locale;
 import org.apache.jdo.tck.util.ConversionHelper;
+import org.apache.jdo.tck.util.DefaultListableInstanceFactory;
 import org.apache.jdo.tck.util.JDOCustomDateEditor;
-import org.springframework.beans.factory.support.DefaultListableBeanFactory;
-import org.springframework.beans.factory.xml.XmlBeanDefinitionReader;
-import org.springframework.core.io.ClassPathResource;
 
 /** Utility class to create a graph of order model instances from an xml representation. */
-public class OrderModelReader extends DefaultListableBeanFactory {
-
-  private static final long serialVersionUID = 1L;
-
-  /** The name of the root list bean. */
-  public static final String ROOT_LIST_NAME = "root";
-
-  /** The bean-factory name in the xml input files. */
-  public static final String BEAN_FACTORY_NAME = "orderFactory";
+public class OrderModelReader extends DefaultListableInstanceFactory {
 
   /** The order factory instance. */
   private OrderFactory orderFactory;
 
-  /** Bean definition reader */
-  private final XmlBeanDefinitionReader reader;
-
   /**
    * Create a OrderModelReader for the specified resourceName.
    *
    * @param resourceName the name of the resource
    */
   public OrderModelReader(String resourceName) {
-    // Use the class loader of the Order class to find the resource
-    this(resourceName, Order.class.getClassLoader());
-  }
-
-  /**
-   * Create a OrderModelReader for the specified resourceName.
-   *
-   * @param resourceName the name of the resource
-   * @param classLoader the ClassLOader for the lookup
-   */
-  public OrderModelReader(String resourceName, ClassLoader classLoader) {
-    super();
-    configureFactory();
-    this.reader = new XmlBeanDefinitionReader(this);
-    this.reader.loadBeanDefinitions(new ClassPathResource(resourceName, classLoader));
-  }
-
-  /**
-   * Returns a list of root objects. The method expects to find a bean called "root" of type list in
-   * the xml and returns it.
-   *
-   * @return a list of root instances
-   */
-  @SuppressWarnings("unchecked")
-  public List<Object> getRootList() {
-    return (List<Object>) getBean(ROOT_LIST_NAME);
-  }
-
-  /**
-   * Configure the OrderModelReader, e.g. register CustomEditor classes to convert the string
-   * representation of a property into an instance of the right type.
-   */
-  private void configureFactory() {
-    registerCustomEditor(Date.class, JDOCustomDateEditor.class);
     orderFactory = OrderFactoryRegistry.getInstance();
-    addSingleton(BEAN_FACTORY_NAME, orderFactory);
+    getDataSource(resourceName).init(orderFactory, this);
   }
 
   // Convenience methods
diff --git a/tck/src/main/java/org/apache/jdo/tck/util/JDOCustomDateEditor.java b/tck/src/main/java/org/apache/jdo/tck/pc/order/OrderModelTestData.java
similarity index 50%
copy from tck/src/main/java/org/apache/jdo/tck/util/JDOCustomDateEditor.java
copy to tck/src/main/java/org/apache/jdo/tck/pc/order/OrderModelTestData.java
index 124d1469..6a204c07 100644
--- a/tck/src/main/java/org/apache/jdo/tck/util/JDOCustomDateEditor.java
+++ b/tck/src/main/java/org/apache/jdo/tck/pc/order/OrderModelTestData.java
@@ -15,30 +15,22 @@
  * limitations under the License.
  */
 
-package org.apache.jdo.tck.util;
+package org.apache.jdo.tck.pc.order;
 
-import java.text.SimpleDateFormat;
-import java.util.Date;
-import java.util.Locale;
-import org.springframework.beans.propertyeditors.CustomDateEditor;
+import static org.apache.jdo.tck.util.DataSourceUtil.toSet;
 
-public class JDOCustomDateEditor extends CustomDateEditor {
+import org.apache.jdo.tck.util.DataSource;
+import org.apache.jdo.tck.util.DefaultListableInstanceFactory;
 
-  /** The format of date values in the xml representation */
-  public static final String DATE_PATTERN = "d/MMM/yyyy";
+/** Utility class to create a graph of order model instances. */
+public class OrderModelTestData implements DataSource<OrderFactory> {
 
-  public JDOCustomDateEditor() {
-    super(new SimpleDateFormat(DATE_PATTERN, Locale.US), true);
-  }
-
-  /**
-   * Redturs a string representation of the specified date using DATE_PATTERN as date formatter
-   * pattern.
-   *
-   * @param date the date
-   * @return string representation of the specified date
-   */
-  public static String getDateRepr(Date date) {
-    return date == null ? "null" : new SimpleDateFormat(DATE_PATTERN).format(date);
+  @Override
+  public void init(OrderFactory factory, DefaultListableInstanceFactory registry) {
+    Order order1 = factory.newOrder(1, 3);
+    OrderItem item1 = factory.newOrderItem(order1, 1, "SunRay", 15);
+    OrderItem item2 = factory.newOrderItem(order1, 1, "Sun Ultra 40", 3);
+    order1.setItems(toSet(item1, item2));
+    registry.register("order1", order1);
   }
 }
diff --git a/tck/src/main/java/org/apache/jdo/tck/query/QueryTest.java b/tck/src/main/java/org/apache/jdo/tck/query/QueryTest.java
index a4ab73f5..c9983843 100644
--- a/tck/src/main/java/org/apache/jdo/tck/query/QueryTest.java
+++ b/tck/src/main/java/org/apache/jdo/tck/query/QueryTest.java
@@ -50,11 +50,10 @@ public abstract class QueryTest extends AbstractReaderTest {
   public static final String SERIALZED_QUERY = "query.ser";
 
   /** */
-  public static final String COMPANY_TESTDATA =
-      "org/apache/jdo/tck/pc/company/companyForQueryTests.xml";
+  public static final String COMPANY_TESTDATA = "org.apache.jdo.tck.pc.company.data.QueryTestData";
 
   /** */
-  public static final String MYLIB_TESTDATA = "org/apache/jdo/tck/pc/mylib/mylibForQueryTests.xml";
+  public static final String MYLIB_TESTDATA = "org.apache.jdo.tck.pc.mylib.MylibTestData";
 
   /** List of inserted instances (see methods insertPCPoints and getFromInserted). */
   protected final List<PCPoint> persistentPCPoints = new ArrayList<>();
diff --git a/tck/src/main/java/org/apache/jdo/tck/query/api/SampleModifyQueries.java b/tck/src/main/java/org/apache/jdo/tck/query/api/SampleModifyQueries.java
index 851018c5..c6b2da3a 100644
--- a/tck/src/main/java/org/apache/jdo/tck/query/api/SampleModifyQueries.java
+++ b/tck/src/main/java/org/apache/jdo/tck/query/api/SampleModifyQueries.java
@@ -54,7 +54,7 @@ public class SampleModifyQueries extends QueryTest {
 
   /** */
   private static final String SAMPLE_QUERIES_TEST_COMPANY_TESTDATA =
-      "org/apache/jdo/tck/pc/company/companyForSampleQueriesTest.xml";
+      "org.apache.jdo.tck.pc.company.data.SampleQueryTestData";
 
   /**
    * Deleting Multiple Instances.
diff --git a/tck/src/main/java/org/apache/jdo/tck/query/api/SampleReadQueries.java b/tck/src/main/java/org/apache/jdo/tck/query/api/SampleReadQueries.java
index a533a415..5199961b 100644
--- a/tck/src/main/java/org/apache/jdo/tck/query/api/SampleReadQueries.java
+++ b/tck/src/main/java/org/apache/jdo/tck/query/api/SampleReadQueries.java
@@ -74,7 +74,7 @@ public class SampleReadQueries extends QueryTest {
 
   /** */
   private static final String SAMPLE_QUERIES_TEST_COMPANY_TESTDATA =
-      "org/apache/jdo/tck/pc/company/companyForSampleQueriesTest.xml";
+      "org.apache.jdo.tck.pc.company.data.SampleQueryTestData";
 
   private static final String SINGLE_STRING_QUERY_01 =
       "select from org.apache.jdo.tck.pc.company.FullTimeEmployee where salary > 30000";
diff --git a/tck/src/main/java/org/apache/jdo/tck/query/jdoql/NavigationComparisonWithNull.java b/tck/src/main/java/org/apache/jdo/tck/query/jdoql/NavigationComparisonWithNull.java
index 403ca5f6..b992447c 100644
--- a/tck/src/main/java/org/apache/jdo/tck/query/jdoql/NavigationComparisonWithNull.java
+++ b/tck/src/main/java/org/apache/jdo/tck/query/jdoql/NavigationComparisonWithNull.java
@@ -50,7 +50,7 @@ public class NavigationComparisonWithNull extends QueryTest {
 
   /** */
   public static final String NAVIGATION_TEST_COMPANY_TESTDATA =
-      "org/apache/jdo/tck/pc/company/companyForNavigationTests.xml";
+      "org.apache.jdo.tck.pc.company.data.NavigationTestData";
 
   /**
    * Returns the name of the company test data resource.
diff --git a/tck/src/main/java/org/apache/jdo/tck/query/jdoql/NavigationThroughACollectionField.java b/tck/src/main/java/org/apache/jdo/tck/query/jdoql/NavigationThroughACollectionField.java
index aadee812..0e67fc8d 100644
--- a/tck/src/main/java/org/apache/jdo/tck/query/jdoql/NavigationThroughACollectionField.java
+++ b/tck/src/main/java/org/apache/jdo/tck/query/jdoql/NavigationThroughACollectionField.java
@@ -43,7 +43,7 @@ public class NavigationThroughACollectionField extends QueryTest {
 
   /** */
   public static final String NAVIGATION_TEST_COMPANY_TESTDATA =
-      "org/apache/jdo/tck/pc/company/companyForNavigationTests.xml";
+      "org.apache.jdo.tck.pc.company.data.NavigationTestData";
 
   /**
    * Returns the name of the company test data resource.
diff --git a/tck/src/main/java/org/apache/jdo/tck/query/jdoql/NavigationThroughANullValuedField.java b/tck/src/main/java/org/apache/jdo/tck/query/jdoql/NavigationThroughANullValuedField.java
index e595a046..8f0bd891 100644
--- a/tck/src/main/java/org/apache/jdo/tck/query/jdoql/NavigationThroughANullValuedField.java
+++ b/tck/src/main/java/org/apache/jdo/tck/query/jdoql/NavigationThroughANullValuedField.java
@@ -52,7 +52,7 @@ public class NavigationThroughANullValuedField extends QueryTest {
 
   /** */
   public static final String NAVIGATION_TEST_COMPANY_TESTDATA =
-      "org/apache/jdo/tck/pc/company/companyForNavigationTests.xml";
+      "org.apache.jdo.tck.pc.company.data.NavigationTestData";
 
   /**
    * Returns the name of the company test data resource.
diff --git a/tck/src/main/java/org/apache/jdo/tck/query/jdoql/NavigationThroughReferencesUsesDotOperator.java b/tck/src/main/java/org/apache/jdo/tck/query/jdoql/NavigationThroughReferencesUsesDotOperator.java
index 98755d04..85b8d837 100644
--- a/tck/src/main/java/org/apache/jdo/tck/query/jdoql/NavigationThroughReferencesUsesDotOperator.java
+++ b/tck/src/main/java/org/apache/jdo/tck/query/jdoql/NavigationThroughReferencesUsesDotOperator.java
@@ -50,7 +50,7 @@ public class NavigationThroughReferencesUsesDotOperator extends QueryTest {
 
   /** */
   public static final String NAVIGATION_TEST_COMPANY_TESTDATA =
-      "org/apache/jdo/tck/pc/company/companyForNavigationTests.xml";
+      "org.apache.jdo.tck.pc.company.data.NavigationTestData";
 
   /**
    * Returns the name of the company test data resource.
diff --git a/tck/src/main/java/org/apache/jdo/tck/query/jdoql/subqueries/SubqueriesTest.java b/tck/src/main/java/org/apache/jdo/tck/query/jdoql/subqueries/SubqueriesTest.java
index fd4cf55a..0a219a34 100644
--- a/tck/src/main/java/org/apache/jdo/tck/query/jdoql/subqueries/SubqueriesTest.java
+++ b/tck/src/main/java/org/apache/jdo/tck/query/jdoql/subqueries/SubqueriesTest.java
@@ -28,7 +28,7 @@ public abstract class SubqueriesTest extends QueryTest {
 
   /** */
   public static final String SUBQUERIES_TEST_COMPANY_TESTDATA =
-      "org/apache/jdo/tck/pc/company/companyForSubqueriesTests.xml";
+      "org.apache.jdo.tck.pc.company.data.SubqueryTestData";
 
   /**
    * Returns the name of the company test data resource.
diff --git a/tck/src/main/java/org/apache/jdo/tck/query/jdoql/variables/StringVariables.java b/tck/src/main/java/org/apache/jdo/tck/query/jdoql/variables/StringVariables.java
index be48e185..0f67a28e 100644
--- a/tck/src/main/java/org/apache/jdo/tck/query/jdoql/variables/StringVariables.java
+++ b/tck/src/main/java/org/apache/jdo/tck/query/jdoql/variables/StringVariables.java
@@ -49,7 +49,7 @@ public class StringVariables extends QueryTest {
 
   /** */
   private static final String SAMPLE_QUERIES_TEST_COMPANY_TESTDATA =
-      "org/apache/jdo/tck/pc/company/companyForSampleQueriesTest.xml";
+      "org.apache.jdo.tck.pc.company.data.SampleQueryTestData";
 
   private static final String COLLECTION_STRING_VARIABLE_SSQ =
       "select from org.apache.jdo.tck.pc.company.FullTimeEmployee "
diff --git a/tck/src/main/java/org/apache/jdo/tck/util/DataSource.java b/tck/src/main/java/org/apache/jdo/tck/util/DataSource.java
new file mode 100644
index 00000000..97016dc0
--- /dev/null
+++ b/tck/src/main/java/org/apache/jdo/tck/util/DataSource.java
@@ -0,0 +1,42 @@
+/*
+ * Licensed to the Apache Software Foundation (ASF) under one or more
+ * contributor license agreements.  See the NOTICE file distributed with
+ * this work for additional information regarding copyright ownership.
+ * The ASF licenses this file to You under the Apache License, Version 2.0
+ * (the "License"); you may not use this file except in compliance with
+ * the License.  You may obtain a copy of the License at
+ *
+ *     https://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+
+package org.apache.jdo.tck.util;
+
+/**
+ * Common interface for classes that generate data for tests.
+ *
+ * @param <F> Factory class.
+ */
+public interface DataSource<F> {
+  /**
+   * Implementations should generate test data objects and register them with the registry.
+   *
+   * <p>The "init()" Methods are usually structured as follows:<br>
+   * - Creation of all instances, using the factory if one is available.<br>
+   * - Setting of all properties of all instances.<br>
+   * - Registration of instance with names (root names and bean names) insofar as it is required by
+   * the tests.<br>
+   *
+   * <p>The test class name is usually given as argument to the constructor of the factory class.
+   * Often the name is read from the "org.tck.testdata" property in the config files.
+   *
+   * @param factory Factory instance. May be "null" if no factory is used.
+   * @param registry Registry for named objects (formerly "roots" and "beans").
+   */
+  void init(F factory, DefaultListableInstanceFactory registry);
+}
diff --git a/tck/src/main/java/org/apache/jdo/tck/util/DataSourceUtil.java b/tck/src/main/java/org/apache/jdo/tck/util/DataSourceUtil.java
new file mode 100644
index 00000000..4e325a44
--- /dev/null
+++ b/tck/src/main/java/org/apache/jdo/tck/util/DataSourceUtil.java
@@ -0,0 +1,61 @@
+/*
+ * Licensed to the Apache Software Foundation (ASF) under one or more
+ * contributor license agreements.  See the NOTICE file distributed with
+ * this work for additional information regarding copyright ownership.
+ * The ASF licenses this file to You under the Apache License, Version 2.0
+ * (the "License"); you may not use this file except in compliance with
+ * the License.  You may obtain a copy of the License at
+ *
+ *     https://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+
+package org.apache.jdo.tck.util;
+
+import java.util.Arrays;
+import java.util.Date;
+import java.util.GregorianCalendar;
+import java.util.HashMap;
+import java.util.List;
+import java.util.Map;
+import java.util.Set;
+import java.util.function.Function;
+import java.util.stream.Collectors;
+
+public interface DataSourceUtil {
+
+  static Date date(int y, int m, int d) {
+    return new GregorianCalendar(y, m - 1, d, 0, 0, 0).getTime();
+  }
+
+  @SafeVarargs
+  static <T> List<T> toList(T... objs) {
+    return Arrays.stream(objs).collect(Collectors.toList());
+  }
+
+  static Map<String, String> toMap(String... objs) {
+    Map<String, String> map = new HashMap<>();
+    for (int i = 0; i < objs.length; i += 2) {
+      map.put(objs[i], objs[i + 1]);
+    }
+    return map;
+  }
+
+  static <K, V> Map<K, V> toMap(Function<V, K> keyFn, V... objs) {
+    Map<K, V> map = new HashMap<>();
+    for (int i = 0; i < objs.length; i++) {
+      map.put(keyFn.apply(objs[i]), objs[i]);
+    }
+    return map;
+  }
+
+  @SafeVarargs
+  static <T> Set<T> toSet(T... objs) {
+    return Arrays.stream(objs).collect(Collectors.toSet());
+  }
+}
diff --git a/tck/src/main/java/org/apache/jdo/tck/util/DefaultListableInstanceFactory.java b/tck/src/main/java/org/apache/jdo/tck/util/DefaultListableInstanceFactory.java
new file mode 100644
index 00000000..bee9e272
--- /dev/null
+++ b/tck/src/main/java/org/apache/jdo/tck/util/DefaultListableInstanceFactory.java
@@ -0,0 +1,56 @@
+package org.apache.jdo.tck.util;
+
+import java.lang.reflect.Constructor;
+import java.lang.reflect.InvocationTargetException;
+import java.util.ArrayList;
+import java.util.Collections;
+import java.util.HashMap;
+import java.util.List;
+
+public class DefaultListableInstanceFactory {
+
+  private final HashMap<String, Object> rootMap = new HashMap<>();
+  private final List<Object> rootList = new ArrayList<>();
+
+  public final synchronized Object getBean(String name) {
+    if ("root".equals(name)) {
+      return getRootList();
+    }
+    return rootMap.get(name);
+  }
+
+  public final synchronized <T> T getBean(String name, Class<T> clazz) {
+    return clazz.cast(getBean(name));
+  }
+
+  public synchronized void register(String name, Object obj) {
+    rootMap.put(name, obj);
+    rootList.add(obj);
+  }
+
+  /**
+   * Returns a list of root objects. The method expects to find a bean called "root" of type list in
+   * the xml and returns it.
+   *
+   * @return a list of root instances
+   */
+  public final synchronized List<Object> getRootList() {
+    return Collections.unmodifiableList(rootList);
+  }
+
+  @SuppressWarnings("unchecked")
+  public static <F> DataSource<F> getDataSource(String resourceName) {
+    try {
+      Class<DataSource<F>> cls = (Class<DataSource<F>>) Class.forName(resourceName);
+      Constructor<DataSource<F>> cstr = cls.getConstructor();
+      return cstr.newInstance();
+    } catch (ClassNotFoundException
+        | InvocationTargetException
+        | NoSuchMethodException
+        | InstantiationException
+        | IllegalAccessException
+        | NullPointerException e) {
+      throw new IllegalArgumentException("Error executing test data class: " + resourceName, e);
+    }
+  }
+}
diff --git a/tck/src/main/java/org/apache/jdo/tck/util/JDOCustomDateEditor.java b/tck/src/main/java/org/apache/jdo/tck/util/JDOCustomDateEditor.java
index 124d1469..c58ef43b 100644
--- a/tck/src/main/java/org/apache/jdo/tck/util/JDOCustomDateEditor.java
+++ b/tck/src/main/java/org/apache/jdo/tck/util/JDOCustomDateEditor.java
@@ -19,20 +19,16 @@ package org.apache.jdo.tck.util;
 
 import java.text.SimpleDateFormat;
 import java.util.Date;
-import java.util.Locale;
-import org.springframework.beans.propertyeditors.CustomDateEditor;
 
-public class JDOCustomDateEditor extends CustomDateEditor {
+public class JDOCustomDateEditor {
 
   /** The format of date values in the xml representation */
   public static final String DATE_PATTERN = "d/MMM/yyyy";
 
-  public JDOCustomDateEditor() {
-    super(new SimpleDateFormat(DATE_PATTERN, Locale.US), true);
-  }
+  private JDOCustomDateEditor() {}
 
   /**
-   * Redturs a string representation of the specified date using DATE_PATTERN as date formatter
+   * Returns a string representation of the specified date using DATE_PATTERN as date formatter
    * pattern.
    *
    * @param date the date
diff --git a/tck/src/main/java/org/apache/jdo/tck/util/jndi/MockContext.java b/tck/src/main/java/org/apache/jdo/tck/util/jndi/MockContext.java
index 3a469a98..61a106a1 100644
--- a/tck/src/main/java/org/apache/jdo/tck/util/jndi/MockContext.java
+++ b/tck/src/main/java/org/apache/jdo/tck/util/jndi/MockContext.java
@@ -19,7 +19,13 @@ package org.apache.jdo.tck.util.jndi;
 
 import java.util.Hashtable;
 import java.util.Map;
-import javax.naming.*;
+import javax.naming.Binding;
+import javax.naming.Context;
+import javax.naming.Name;
+import javax.naming.NameClassPair;
+import javax.naming.NameParser;
+import javax.naming.NamingEnumeration;
+import javax.naming.NamingException;
 
 public class MockContext implements Context {
   private final Map<String, Object> map;
diff --git a/tck/src/main/resources/conf/company1-1Relationships.conf b/tck/src/main/resources/conf/company1-1Relationships.conf
index 2bd5652f..ce797d14 100644
--- a/tck/src/main/resources/conf/company1-1Relationships.conf
+++ b/tck/src/main/resources/conf/company1-1Relationships.conf
@@ -16,6 +16,6 @@
 jdo.tck.description = Completeness test with standard mapping, basic testdata with 1-1 relationships. 
 jdo.tck.mapping.companyfactory =
 jdo.tck.classes = org.apache.jdo.tck.mapping.CompletenessTest
-jdo.tck.testdata = org/apache/jdo/tck/pc/company/company1-1Relationships.xml
+jdo.tck.testdata = org.apache.jdo.tck.pc.company.data.Relationships1_1Data
 jdo.tck.mapping = 0
 jdo.tck.requiredOptions =
diff --git a/tck/src/main/resources/conf/company1-MRelationships.conf b/tck/src/main/resources/conf/company1-MRelationships.conf
index 825f3aa6..189fb9fe 100644
--- a/tck/src/main/resources/conf/company1-MRelationships.conf
+++ b/tck/src/main/resources/conf/company1-MRelationships.conf
@@ -16,6 +16,6 @@
 jdo.tck.description = Completeness test with standard mapping, basic testdata with 1-M relationships. 
 jdo.tck.mapping.companyfactory =
 jdo.tck.classes = org.apache.jdo.tck.mapping.CompletenessTest
-jdo.tck.testdata = org/apache/jdo/tck/pc/company/company1-MRelationships.xml
+jdo.tck.testdata = org.apache.jdo.tck.pc.company.data.Relationships1_MData
 jdo.tck.mapping = 0
 jdo.tck.requiredOptions =
diff --git a/tck/src/main/resources/conf/companyAllRelationships.conf b/tck/src/main/resources/conf/companyAllRelationships.conf
index 606ccce9..b9d94407 100644
--- a/tck/src/main/resources/conf/companyAllRelationships.conf
+++ b/tck/src/main/resources/conf/companyAllRelationships.conf
@@ -17,6 +17,6 @@ jdo.tck.description = Completeness test with standard mapping, basic testdata wi
 and embedded objects. 
 jdo.tck.mapping.companyfactory =
 jdo.tck.classes = org.apache.jdo.tck.mapping.CompletenessTest
-jdo.tck.testdata = org/apache/jdo/tck/pc/company/companyAllRelationships.xml
+jdo.tck.testdata = org.apache.jdo.tck.pc.company.data.RelationshipsAllData
 jdo.tck.mapping = 0
 jdo.tck.requiredOptions =
diff --git a/tck/src/main/resources/conf/companyAnnotated1-1RelationshipsFCPM.conf b/tck/src/main/resources/conf/companyAnnotated1-1RelationshipsFCPM.conf
index f4d91eef..f71ff09a 100644
--- a/tck/src/main/resources/conf/companyAnnotated1-1RelationshipsFCPM.conf
+++ b/tck/src/main/resources/conf/companyAnnotated1-1RelationshipsFCPM.conf
@@ -16,6 +16,6 @@
 jdo.tck.description = Completeness test with standard mapping, basic testdata with 1-1 relationships, annotations. 
 jdo.tck.mapping.companyfactory = org.apache.jdo.tck.pc.companyAnnotatedFC.CompanyFactoryAnnotatedFCPMDelegator
 jdo.tck.classes = org.apache.jdo.tck.mapping.CompletenessTest
-jdo.tck.testdata = org/apache/jdo/tck/pc/company/company1-1Relationships.xml
+jdo.tck.testdata = org.apache.jdo.tck.pc.company.data.Relationships1_1Data
 jdo.tck.mapping = 0
 jdo.tck.requiredOptions =
diff --git a/tck/src/main/resources/conf/companyAnnotated1-MRelationshipsFCPM.conf b/tck/src/main/resources/conf/companyAnnotated1-MRelationshipsFCPM.conf
index 19bdea0a..550d7aa5 100644
--- a/tck/src/main/resources/conf/companyAnnotated1-MRelationshipsFCPM.conf
+++ b/tck/src/main/resources/conf/companyAnnotated1-MRelationshipsFCPM.conf
@@ -16,6 +16,6 @@
 jdo.tck.description = Completeness test with standard mapping, basic testdata with 1-M relationships, annotations. 
 jdo.tck.mapping.companyfactory = org.apache.jdo.tck.pc.companyAnnotatedFC.CompanyFactoryAnnotatedFCPMDelegator
 jdo.tck.classes = org.apache.jdo.tck.mapping.CompletenessTest
-jdo.tck.testdata = org/apache/jdo/tck/pc/company/company1-MRelationships.xml
+jdo.tck.testdata = org.apache.jdo.tck.pc.company.data.Relationships1_MData
 jdo.tck.mapping = 0
 jdo.tck.requiredOptions =
diff --git a/tck/src/main/resources/conf/companyAnnotatedAllRelationshipsFCConcrete.conf b/tck/src/main/resources/conf/companyAnnotatedAllRelationshipsFCConcrete.conf
index 436322a8..5c32eea5 100644
--- a/tck/src/main/resources/conf/companyAnnotatedAllRelationshipsFCConcrete.conf
+++ b/tck/src/main/resources/conf/companyAnnotatedAllRelationshipsFCConcrete.conf
@@ -17,6 +17,6 @@ jdo.tck.description = Completeness test with standard mapping, basic testdata wi
 and embedded objects, annotations. 
 jdo.tck.mapping.companyfactory = org.apache.jdo.tck.pc.companyAnnotatedFC.CompanyFactoryAnnotatedFCConcreteDelegator
 jdo.tck.classes = org.apache.jdo.tck.mapping.CompletenessTest
-jdo.tck.testdata = org/apache/jdo/tck/pc/company/companyAllRelationships.xml
+jdo.tck.testdata = org.apache.jdo.tck.pc.company.data.RelationshipsAllData
 jdo.tck.mapping = 0
 jdo.tck.requiredOptions =
diff --git a/tck/src/main/resources/conf/companyAnnotatedAllRelationshipsFCPM.conf b/tck/src/main/resources/conf/companyAnnotatedAllRelationshipsFCPM.conf
index 181a879c..46f51d7d 100644
--- a/tck/src/main/resources/conf/companyAnnotatedAllRelationshipsFCPM.conf
+++ b/tck/src/main/resources/conf/companyAnnotatedAllRelationshipsFCPM.conf
@@ -17,6 +17,6 @@ jdo.tck.description = Completeness test with standard mapping, basic testdata wi
 and embedded objects, annotations. 
 jdo.tck.mapping.companyfactory = org.apache.jdo.tck.pc.companyAnnotatedFC.CompanyFactoryAnnotatedFCPMDelegator
 jdo.tck.classes = org.apache.jdo.tck.mapping.CompletenessTest
-jdo.tck.testdata = org/apache/jdo/tck/pc/company/companyAllRelationships.xml
+jdo.tck.testdata = org.apache.jdo.tck.pc.company.data.RelationshipsAllData
 jdo.tck.mapping = 0
 jdo.tck.requiredOptions =
diff --git a/tck/src/main/resources/conf/companyAnnotatedAllRelationshipsJPAConcrete.conf b/tck/src/main/resources/conf/companyAnnotatedAllRelationshipsJPAConcrete.conf
index 4013a776..d7232287 100644
--- a/tck/src/main/resources/conf/companyAnnotatedAllRelationshipsJPAConcrete.conf
+++ b/tck/src/main/resources/conf/companyAnnotatedAllRelationshipsJPAConcrete.conf
@@ -16,6 +16,6 @@
 jdo.tck.description = Completeness test with standard mapping, basic testdata with M-M relationships, annotations. 
 jdo.tck.mapping.companyfactory = org.apache.jdo.tck.pc.companyAnnotatedJPA.CompanyFactoryAnnotatedJPAAppConcrete
 jdo.tck.classes = org.apache.jdo.tck.mapping.CompletenessTestJPA
-jdo.tck.testdata = org/apache/jdo/tck/pc/company/companyAllRelationships.xml
+jdo.tck.testdata = org.apache.jdo.tck.pc.company.data.RelationshipsAllData
 jdo.tck.mapping = 0
 jdo.tck.requiredOptions =
diff --git a/tck/src/main/resources/conf/companyAnnotatedAllRelationshipsJPAPM.conf b/tck/src/main/resources/conf/companyAnnotatedAllRelationshipsJPAPM.conf
index 9ea828b0..97b6a0b2 100644
--- a/tck/src/main/resources/conf/companyAnnotatedAllRelationshipsJPAPM.conf
+++ b/tck/src/main/resources/conf/companyAnnotatedAllRelationshipsJPAPM.conf
@@ -17,6 +17,6 @@ jdo.tck.description = Completeness test with standard mapping, basic testdata wi
 and embedded objects, annotations. 
 jdo.tck.mapping.companyfactory = org.apache.jdo.tck.pc.companyAnnotatedJPA.CompanyFactoryAnnotatedJPAAppPM
 jdo.tck.classes = org.apache.jdo.tck.mapping.CompletenessTestJPA
-jdo.tck.testdata = org/apache/jdo/tck/pc/company/companyAllRelationships.xml
+jdo.tck.testdata = org.apache.jdo.tck.pc.company.data.RelationshipsAllData
 jdo.tck.mapping = 0
 jdo.tck.requiredOptions =
diff --git a/tck/src/main/resources/conf/companyAnnotatedAllRelationshipsPCConcrete.conf b/tck/src/main/resources/conf/companyAnnotatedAllRelationshipsPCConcrete.conf
index 80d6057f..39566876 100644
--- a/tck/src/main/resources/conf/companyAnnotatedAllRelationshipsPCConcrete.conf
+++ b/tck/src/main/resources/conf/companyAnnotatedAllRelationshipsPCConcrete.conf
@@ -17,6 +17,6 @@ jdo.tck.description = Completeness test with standard mapping, basic testdata wi
 and embedded objects, annotations. 
 jdo.tck.mapping.companyfactory = org.apache.jdo.tck.pc.companyAnnotatedPC.CompanyFactoryAnnotatedPCConcreteDelegator
 jdo.tck.classes = org.apache.jdo.tck.mapping.CompletenessTest
-jdo.tck.testdata = org/apache/jdo/tck/pc/company/companyAllRelationships.xml
+jdo.tck.testdata = org.apache.jdo.tck.pc.company.data.RelationshipsAllData
 jdo.tck.mapping = 0
 jdo.tck.requiredOptions =
diff --git a/tck/src/main/resources/conf/companyAnnotatedAllRelationshipsPCPM.conf b/tck/src/main/resources/conf/companyAnnotatedAllRelationshipsPCPM.conf
index 7fd69991..8f891e6a 100644
--- a/tck/src/main/resources/conf/companyAnnotatedAllRelationshipsPCPM.conf
+++ b/tck/src/main/resources/conf/companyAnnotatedAllRelationshipsPCPM.conf
@@ -17,6 +17,6 @@ jdo.tck.description = Completeness test with standard mapping, basic testdata wi
 and embedded objects, annotations. 
 jdo.tck.mapping.companyfactory = org.apache.jdo.tck.pc.companyAnnotatedPC.CompanyFactoryAnnotatedPCPMDelegator
 jdo.tck.classes = org.apache.jdo.tck.mapping.CompletenessTest
-jdo.tck.testdata = org/apache/jdo/tck/pc/company/companyAllRelationships.xml
+jdo.tck.testdata = org.apache.jdo.tck.pc.company.data.RelationshipsAllData
 jdo.tck.mapping = 0
 jdo.tck.requiredOptions =
diff --git a/tck/src/main/resources/conf/companyAnnotatedAllRelationshipsPIPM.conf b/tck/src/main/resources/conf/companyAnnotatedAllRelationshipsPIPM.conf
index 8f36c466..01070bb0 100644
--- a/tck/src/main/resources/conf/companyAnnotatedAllRelationshipsPIPM.conf
+++ b/tck/src/main/resources/conf/companyAnnotatedAllRelationshipsPIPM.conf
@@ -16,6 +16,6 @@
 jdo.tck.description = Completeness test with standard mapping, basic testdata with no relationships. 
 jdo.tck.mapping.companyfactory = org.apache.jdo.tck.pc.companyAnnotatedPI.CompanyFactoryAnnotatedPIPMDelegator
 jdo.tck.classes = org.apache.jdo.tck.mapping.CompletenessTest
-jdo.tck.testdata = org/apache/jdo/tck/pc/company/companyAllRelationships.xml
+jdo.tck.testdata = org.apache.jdo.tck.pc.company.data.RelationshipsAllData
 jdo.tck.mapping = 0
 jdo.tck.requiredOptions =
diff --git a/tck/src/main/resources/conf/companyAnnotatedEmbeddedFCPM.conf b/tck/src/main/resources/conf/companyAnnotatedEmbeddedFCPM.conf
index ac4402d7..b1a60a19 100644
--- a/tck/src/main/resources/conf/companyAnnotatedEmbeddedFCPM.conf
+++ b/tck/src/main/resources/conf/companyAnnotatedEmbeddedFCPM.conf
@@ -17,6 +17,6 @@ jdo.tck.description = Completeness test with standard mapping, basic testdata wi
 and embedded objects, annotations. 
 jdo.tck.mapping.companyfactory = org.apache.jdo.tck.pc.companyAnnotatedFC.CompanyFactoryAnnotatedFCPMDelegator
 jdo.tck.classes = org.apache.jdo.tck.mapping.CompletenessTest
-jdo.tck.testdata = org/apache/jdo/tck/pc/company/companyEmbedded.xml
+jdo.tck.testdata = org.apache.jdo.tck.pc.company.data.EmbeddedTestData
 jdo.tck.mapping = 0
 jdo.tck.requiredOptions =
diff --git a/tck/src/main/resources/conf/companyAnnotatedEmbeddedJPAConcrete.conf b/tck/src/main/resources/conf/companyAnnotatedEmbeddedJPAConcrete.conf
index 8bb34979..99d56c55 100644
--- a/tck/src/main/resources/conf/companyAnnotatedEmbeddedJPAConcrete.conf
+++ b/tck/src/main/resources/conf/companyAnnotatedEmbeddedJPAConcrete.conf
@@ -16,6 +16,6 @@
 jdo.tck.description = Completeness test with standard mapping, basic testdata with no relationships. 
 jdo.tck.mapping.companyfactory = org.apache.jdo.tck.pc.companyAnnotatedJPA.CompanyFactoryAnnotatedJPAAppConcrete
 jdo.tck.classes = org.apache.jdo.tck.mapping.CompletenessTestJPA
-jdo.tck.testdata = org/apache/jdo/tck/pc/company/companyEmbedded.xml
+jdo.tck.testdata = org.apache.jdo.tck.pc.company.data.EmbeddedTestData
 jdo.tck.mapping = 0
 jdo.tck.requiredOptions =
diff --git a/tck/src/main/resources/conf/companyAnnotatedEmbeddedJPAPM.conf b/tck/src/main/resources/conf/companyAnnotatedEmbeddedJPAPM.conf
index bd77aaca..66147235 100644
--- a/tck/src/main/resources/conf/companyAnnotatedEmbeddedJPAPM.conf
+++ b/tck/src/main/resources/conf/companyAnnotatedEmbeddedJPAPM.conf
@@ -17,6 +17,6 @@ jdo.tck.description = Completeness test with standard mapping, basic testdata wi
 and embedded objects, annotations. 
 jdo.tck.mapping.companyfactory = org.apache.jdo.tck.pc.companyAnnotatedJPA.CompanyFactoryAnnotatedJPAAppPM
 jdo.tck.classes = org.apache.jdo.tck.mapping.CompletenessTestJPA
-jdo.tck.testdata = org/apache/jdo/tck/pc/company/companyEmbedded.xml
+jdo.tck.testdata = org.apache.jdo.tck.pc.company.data.EmbeddedTestData
 jdo.tck.mapping = 0
 jdo.tck.requiredOptions =
diff --git a/tck/src/main/resources/conf/companyAnnotatedM-MRelationshipsFCConcrete.conf b/tck/src/main/resources/conf/companyAnnotatedM-MRelationshipsFCConcrete.conf
index 86bed6e4..9b8dbd8b 100644
--- a/tck/src/main/resources/conf/companyAnnotatedM-MRelationshipsFCConcrete.conf
+++ b/tck/src/main/resources/conf/companyAnnotatedM-MRelationshipsFCConcrete.conf
@@ -16,6 +16,6 @@
 jdo.tck.description = Completeness test with standard mapping, basic testdata with M-M relationships, annotations. 
 jdo.tck.mapping.companyfactory = org.apache.jdo.tck.pc.companyAnnotatedFC.CompanyFactoryAnnotatedFCConcreteDelegator
 jdo.tck.classes = org.apache.jdo.tck.mapping.CompletenessTest
-jdo.tck.testdata = org/apache/jdo/tck/pc/company/companyM-MRelationships.xml
+jdo.tck.testdata = org.apache.jdo.tck.pc.company.data.RelationshipsM_MData
 jdo.tck.mapping = 0
 jdo.tck.requiredOptions =
diff --git a/tck/src/main/resources/conf/companyAnnotatedM-MRelationshipsFCPM.conf b/tck/src/main/resources/conf/companyAnnotatedM-MRelationshipsFCPM.conf
index 36624880..3b1f7501 100644
--- a/tck/src/main/resources/conf/companyAnnotatedM-MRelationshipsFCPM.conf
+++ b/tck/src/main/resources/conf/companyAnnotatedM-MRelationshipsFCPM.conf
@@ -16,6 +16,6 @@
 jdo.tck.description = Completeness test with standard mapping, basic testdata with M-M relationships, annotations. 
 jdo.tck.mapping.companyfactory = org.apache.jdo.tck.pc.companyAnnotatedFC.CompanyFactoryAnnotatedFCPMDelegator
 jdo.tck.classes = org.apache.jdo.tck.mapping.CompletenessTest
-jdo.tck.testdata = org/apache/jdo/tck/pc/company/companyM-MRelationships.xml
+jdo.tck.testdata = org.apache.jdo.tck.pc.company.data.RelationshipsM_MData
 jdo.tck.mapping = 0
 jdo.tck.requiredOptions =
diff --git a/tck/src/main/resources/conf/companyAnnotatedNoRelationshipsFCConcrete.conf b/tck/src/main/resources/conf/companyAnnotatedNoRelationshipsFCConcrete.conf
index d4522468..02d7b2fe 100644
--- a/tck/src/main/resources/conf/companyAnnotatedNoRelationshipsFCConcrete.conf
+++ b/tck/src/main/resources/conf/companyAnnotatedNoRelationshipsFCConcrete.conf
@@ -16,6 +16,6 @@
 jdo.tck.description = Completeness test with standard mapping, basic testdata with no relationships. 
 jdo.tck.mapping.companyfactory = org.apache.jdo.tck.pc.companyAnnotatedFC.CompanyFactoryAnnotatedFCConcreteDelegator
 jdo.tck.classes = org.apache.jdo.tck.mapping.CompletenessTest
-jdo.tck.testdata = org/apache/jdo/tck/pc/company/companyNoRelationships.xml
+jdo.tck.testdata = org.apache.jdo.tck.pc.company.data.RelationshipsNoData
 jdo.tck.mapping = 0
 jdo.tck.requiredOptions =
diff --git a/tck/src/main/resources/conf/companyAnnotatedNoRelationshipsFCPM.conf b/tck/src/main/resources/conf/companyAnnotatedNoRelationshipsFCPM.conf
index 51420f1c..9661fd42 100644
--- a/tck/src/main/resources/conf/companyAnnotatedNoRelationshipsFCPM.conf
+++ b/tck/src/main/resources/conf/companyAnnotatedNoRelationshipsFCPM.conf
@@ -16,6 +16,6 @@
 jdo.tck.description = Completeness test with standard mapping, basic testdata with no relationships. 
 jdo.tck.mapping.companyfactory = org.apache.jdo.tck.pc.companyAnnotatedFC.CompanyFactoryAnnotatedFCPMDelegator
 jdo.tck.classes = org.apache.jdo.tck.mapping.CompletenessTest
-jdo.tck.testdata = org/apache/jdo/tck/pc/company/companyNoRelationships.xml
+jdo.tck.testdata = org.apache.jdo.tck.pc.company.data.RelationshipsNoData
 jdo.tck.mapping = 0
 jdo.tck.requiredOptions =
diff --git a/tck/src/main/resources/conf/companyAnnotatedNoRelationshipsPCConcrete.conf b/tck/src/main/resources/conf/companyAnnotatedNoRelationshipsPCConcrete.conf
index 3660eae0..128375ae 100644
--- a/tck/src/main/resources/conf/companyAnnotatedNoRelationshipsPCConcrete.conf
+++ b/tck/src/main/resources/conf/companyAnnotatedNoRelationshipsPCConcrete.conf
@@ -16,6 +16,6 @@
 jdo.tck.description = Completeness test with standard mapping, basic testdata with no relationships. 
 jdo.tck.mapping.companyfactory = org.apache.jdo.tck.pc.companyAnnotatedPC.CompanyFactoryAnnotatedPCConcreteDelegator
 jdo.tck.classes = org.apache.jdo.tck.mapping.CompletenessTest
-jdo.tck.testdata = org/apache/jdo/tck/pc/company/companyNoRelationships.xml
+jdo.tck.testdata = org.apache.jdo.tck.pc.company.data.RelationshipsNoData
 jdo.tck.mapping = 0
 jdo.tck.requiredOptions =
diff --git a/tck/src/main/resources/conf/companyAnnotatedNoRelationshipsPCPM.conf b/tck/src/main/resources/conf/companyAnnotatedNoRelationshipsPCPM.conf
index 07486898..79beac8b 100644
--- a/tck/src/main/resources/conf/companyAnnotatedNoRelationshipsPCPM.conf
+++ b/tck/src/main/resources/conf/companyAnnotatedNoRelationshipsPCPM.conf
@@ -16,6 +16,6 @@
 jdo.tck.description = Completeness test with standard mapping, basic testdata with no relationships. 
 jdo.tck.mapping.companyfactory = org.apache.jdo.tck.pc.companyAnnotatedPC.CompanyFactoryAnnotatedPCPMDelegator
 jdo.tck.classes = org.apache.jdo.tck.mapping.CompletenessTest
-jdo.tck.testdata = org/apache/jdo/tck/pc/company/companyNoRelationships.xml
+jdo.tck.testdata = org.apache.jdo.tck.pc.company.data.RelationshipsNoData
 jdo.tck.mapping = 0
 jdo.tck.requiredOptions =
diff --git a/tck/src/main/resources/conf/companyAnnotatedNoRelationshipsPIPM.conf b/tck/src/main/resources/conf/companyAnnotatedNoRelationshipsPIPM.conf
index 80e2edbc..6fcfac28 100644
--- a/tck/src/main/resources/conf/companyAnnotatedNoRelationshipsPIPM.conf
+++ b/tck/src/main/resources/conf/companyAnnotatedNoRelationshipsPIPM.conf
@@ -16,6 +16,6 @@
 jdo.tck.description = Completeness test with standard mapping, basic testdata with no relationships. 
 jdo.tck.mapping.companyfactory = org.apache.jdo.tck.pc.companyAnnotatedPI.CompanyFactoryAnnotatedPIPMDelegator
 jdo.tck.classes = org.apache.jdo.tck.mapping.CompletenessTest
-jdo.tck.testdata = org/apache/jdo/tck/pc/company/companyNoRelationships.xml
+jdo.tck.testdata = org.apache.jdo.tck.pc.company.data.RelationshipsNoData
 jdo.tck.mapping = 0
 jdo.tck.requiredOptions =
diff --git a/tck/src/main/resources/conf/companyEmbedded.conf b/tck/src/main/resources/conf/companyEmbedded.conf
index e3ae8ac6..387061d1 100644
--- a/tck/src/main/resources/conf/companyEmbedded.conf
+++ b/tck/src/main/resources/conf/companyEmbedded.conf
@@ -17,6 +17,6 @@ jdo.tck.description = Completeness test with standard mapping, basic testdata wi
 and embedded objects. 
 jdo.tck.mapping.companyfactory =
 jdo.tck.classes = org.apache.jdo.tck.mapping.CompletenessTest
-jdo.tck.testdata = org/apache/jdo/tck/pc/company/companyEmbedded.xml
+jdo.tck.testdata = org.apache.jdo.tck.pc.company.data.EmbeddedTestData
 jdo.tck.mapping = 0
 jdo.tck.requiredOptions =
diff --git a/tck/src/main/resources/conf/companyListWithoutJoin.conf b/tck/src/main/resources/conf/companyListWithoutJoin.conf
index 270ebc35..f3d8139b 100644
--- a/tck/src/main/resources/conf/companyListWithoutJoin.conf
+++ b/tck/src/main/resources/conf/companyListWithoutJoin.conf
@@ -15,7 +15,7 @@
 
 jdo.tck.description = Completeness test with companyListWithoutJoin model. 
 jdo.tck.mapping.companyfactory = org.apache.jdo.tck.pc.companyListWithoutJoin.CompanyFactoryPMClass
-jdo.tck.testdata =  org/apache/jdo/tck/pc/companyListWithoutJoin/companyListWithoutJoin.xml
+jdo.tck.testdata =  org.apache.jdo.tck.pc.companyListWithoutJoin.CompanyModelTestData
 jdo.tck.mapping = 10
 jdo.tck.classes = org.apache.jdo.tck.mapping.CompletenessTestList
 jdo.tck.requiredOptions =
diff --git a/tck/src/main/resources/conf/companyM-MRelationships.conf b/tck/src/main/resources/conf/companyM-MRelationships.conf
index 8f3faf16..07dd6f72 100644
--- a/tck/src/main/resources/conf/companyM-MRelationships.conf
+++ b/tck/src/main/resources/conf/companyM-MRelationships.conf
@@ -16,6 +16,6 @@
 jdo.tck.description = Completeness test with standard mapping, basic testdata with M-M relationships. 
 jdo.tck.mapping.companyfactory =
 jdo.tck.classes = org.apache.jdo.tck.mapping.CompletenessTest
-jdo.tck.testdata = org/apache/jdo/tck/pc/company/companyM-MRelationships.xml
+jdo.tck.testdata = org.apache.jdo.tck.pc.company.data.RelationshipsM_MData
 jdo.tck.mapping = 0
 jdo.tck.requiredOptions =
diff --git a/tck/src/main/resources/conf/companyMapWithoutJoin.conf b/tck/src/main/resources/conf/companyMapWithoutJoin.conf
index 0bb2275f..49788822 100644
--- a/tck/src/main/resources/conf/companyMapWithoutJoin.conf
+++ b/tck/src/main/resources/conf/companyMapWithoutJoin.conf
@@ -15,7 +15,7 @@
 
 jdo.tck.description = Completeness test with companyMapWithoutJoin model. 
 jdo.tck.mapping.companyfactory = org.apache.jdo.tck.pc.companyMapWithoutJoin.CompanyFactoryPMClass
-jdo.tck.testdata =  org/apache/jdo/tck/pc/companyMapWithoutJoin/companyMapWithoutJoin.xml
+jdo.tck.testdata =  org.apache.jdo.tck.pc.companyMapWithoutJoin.CompanyModelTestData
 jdo.tck.mapping = 9
 jdo.tck.classes = org.apache.jdo.tck.mapping.CompletenessTestMap
 jdo.tck.requiredOptions =
diff --git a/tck/src/main/resources/conf/companyNoRelationships.conf b/tck/src/main/resources/conf/companyNoRelationships.conf
index d15599fe..dad6d636 100644
--- a/tck/src/main/resources/conf/companyNoRelationships.conf
+++ b/tck/src/main/resources/conf/companyNoRelationships.conf
@@ -16,6 +16,6 @@
 jdo.tck.description = Completeness test with standard mapping, basic testdata with no relationships. 
 jdo.tck.mapping.companyfactory =
 jdo.tck.classes = org.apache.jdo.tck.mapping.CompletenessTest
-jdo.tck.testdata = org/apache/jdo/tck/pc/company/companyNoRelationships.xml
+jdo.tck.testdata = org.apache.jdo.tck.pc.company.data.RelationshipsNoData
 jdo.tck.mapping = 0
 jdo.tck.requiredOptions =
diff --git a/tck/src/main/resources/conf/companyOverrideAnnotatedAllRelationshipsFCPM.conf b/tck/src/main/resources/conf/companyOverrideAnnotatedAllRelationshipsFCPM.conf
index 22c99031..c60cc691 100644
--- a/tck/src/main/resources/conf/companyOverrideAnnotatedAllRelationshipsFCPM.conf
+++ b/tck/src/main/resources/conf/companyOverrideAnnotatedAllRelationshipsFCPM.conf
@@ -17,6 +17,6 @@ jdo.tck.description = Completeness test with mapping 11 overriding annotations,
 and embedded objects, annotations. 
 jdo.tck.mapping.companyfactory = org.apache.jdo.tck.pc.companyAnnotatedFC.CompanyFactoryAnnotatedFCPMDelegator
 jdo.tck.classes = org.apache.jdo.tck.mapping.CompletenessTest
-jdo.tck.testdata = org/apache/jdo/tck/pc/company/companyAllRelationships.xml
+jdo.tck.testdata = org.apache.jdo.tck.pc.company.data.RelationshipsAllData
 jdo.tck.mapping = 11
 jdo.tck.requiredOptions =
diff --git a/tck/src/main/resources/conf/companyPMClass.conf b/tck/src/main/resources/conf/companyPMClass.conf
index 79480643..f6866223 100644
--- a/tck/src/main/resources/conf/companyPMClass.conf
+++ b/tck/src/main/resources/conf/companyPMClass.conf
@@ -17,6 +17,6 @@ jdo.tck.description = Completeness test with standard mapping, basic testdata wi
 and embedded objects. 
 jdo.tck.mapping.companyfactory = org.apache.jdo.tck.pc.company.CompanyFactoryPMClass
 jdo.tck.classes = org.apache.jdo.tck.mapping.CompletenessTest
-jdo.tck.testdata = org/apache/jdo/tck/pc/company/companyAllRelationships.xml
+jdo.tck.testdata = org.apache.jdo.tck.pc.company.data.RelationshipsAllData
 jdo.tck.mapping = 0
 jdo.tck.requiredOptions =
diff --git a/tck/src/main/resources/conf/companyPMInterface.conf b/tck/src/main/resources/conf/companyPMInterface.conf
index 54dead41..949c2285 100644
--- a/tck/src/main/resources/conf/companyPMInterface.conf
+++ b/tck/src/main/resources/conf/companyPMInterface.conf
@@ -17,6 +17,6 @@ jdo.tck.description = Completeness test with standard mapping, basic testdata wi
 and embedded objects. 
 jdo.tck.mapping.companyfactory = org.apache.jdo.tck.pc.company.CompanyFactoryPMInterface
 jdo.tck.classes = org.apache.jdo.tck.mapping.CompletenessTest
-jdo.tck.testdata = org/apache/jdo/tck/pc/company/companyAllRelationships.xml
+jdo.tck.testdata = org.apache.jdo.tck.pc.company.data.RelationshipsAllData
 jdo.tck.mapping = 0
 jdo.tck.requiredOptions =
diff --git a/tck/src/main/resources/conf/compoundIdentity.conf b/tck/src/main/resources/conf/compoundIdentity.conf
index 8ac42ca8..c3e9550a 100644
--- a/tck/src/main/resources/conf/compoundIdentity.conf
+++ b/tck/src/main/resources/conf/compoundIdentity.conf
@@ -16,6 +16,6 @@
 jdo.tck.description = Completeness test with standard mapping using order model for compound identity testing
 jdo.tck.mapping.companyfactory = org.apache.jdo.tck.pc.order.OrderFactoryPMClass
 jdo.tck.classes = org.apache.jdo.tck.mapping.CompletenessTestOrder
-jdo.tck.testdata = org/apache/jdo/tck/pc/order/order.xml
+jdo.tck.testdata = org.apache.jdo.tck.pc.order.OrderModelTestData
 jdo.tck.mapping = 0
 jdo.tck.requiredOptions =
diff --git a/tck/src/main/resources/conf/inheritance1.conf b/tck/src/main/resources/conf/inheritance1.conf
index 8e89157b..b228554a 100644
--- a/tck/src/main/resources/conf/inheritance1.conf
+++ b/tck/src/main/resources/conf/inheritance1.conf
@@ -19,6 +19,6 @@ Each table contains columns for the declared fields. \
 Inheritance strategy: new-table for all classes.
 jdo.tck.mapping.companyfactory =
 jdo.tck.classes = org.apache.jdo.tck.mapping.CompletenessTest
-jdo.tck.testdata = org/apache/jdo/tck/pc/company/companyAllRelationships.xml
+jdo.tck.testdata = org.apache.jdo.tck.pc.company.data.RelationshipsAllData
 jdo.tck.mapping = 1
 jdo.tck.requiredOptions = javax.jdo.option.mapping.JoinedTablePerClass
diff --git a/tck/src/main/resources/conf/inheritance2.conf b/tck/src/main/resources/conf/inheritance2.conf
index 9adef2a5..f83a94f9 100644
--- a/tck/src/main/resources/conf/inheritance2.conf
+++ b/tck/src/main/resources/conf/inheritance2.conf
@@ -26,7 +26,7 @@ and parttime employees. \
 Inheritance strategy: new-table for all classes.
 jdo.tck.mapping.companyfactory =
 jdo.tck.classes = org.apache.jdo.tck.mapping.CompletenessTest
-jdo.tck.testdata = org/apache/jdo/tck/pc/company/companyAllRelationships.xml
+jdo.tck.testdata = org.apache.jdo.tck.pc.company.data.RelationshipsAllData
 jdo.tck.mapping = 2
 jdo.tck.requiredOptions = javax.jdo.option.mapping.NonJoinedTablePerConcreteClass \
                           javax.jdo.option.mapping.RelationSubclassTable
diff --git a/tck/src/main/resources/conf/inheritance3.conf b/tck/src/main/resources/conf/inheritance3.conf
index 3a0e8a08..514daa89 100644
--- a/tck/src/main/resources/conf/inheritance3.conf
+++ b/tck/src/main/resources/conf/inheritance3.conf
@@ -21,7 +21,7 @@ Insurance has inheritance strategy "subclass-table". \
 MedicalInsurance and DentalInsurance have inheritance strategy "new-table".
 jdo.tck.mapping.companyfactory =
 jdo.tck.classes = org.apache.jdo.tck.mapping.CompletenessTest
-jdo.tck.testdata = org/apache/jdo/tck/pc/company/companyAllRelationships.xml
+jdo.tck.testdata = org.apache.jdo.tck.pc.company.data.RelationshipsAllData
 jdo.tck.mapping = 3
 jdo.tck.requiredOptions = javax.jdo.option.mapping.JoinedTablePerConcreteClass \
                           javax.jdo.option.mapping.RelationSubclassTable
diff --git a/tck/src/main/resources/conf/inheritance4.conf b/tck/src/main/resources/conf/inheritance4.conf
index 5a69ffd8..72cf837d 100644
--- a/tck/src/main/resources/conf/inheritance4.conf
+++ b/tck/src/main/resources/conf/inheritance4.conf
@@ -19,6 +19,6 @@ PartTimeEmployee, FullTimeEmployee, MedicalInsurance, and DentalInsurance \
 have inheritance strategy "superclass-table".
 jdo.tck.mapping.companyfactory =
 jdo.tck.classes = org.apache.jdo.tck.mapping.CompletenessTest
-jdo.tck.testdata = org/apache/jdo/tck/pc/company/companyAllRelationships.xml
+jdo.tck.testdata = org.apache.jdo.tck.pc.company.data.RelationshipsAllData
 jdo.tck.mapping = 4
 jdo.tck.requiredOptions = 
diff --git a/tck/src/main/resources/conf/iut-log4j.properties b/tck/src/main/resources/conf/iut-log4j.properties
index c0a4505f..83dc64aa 100644
--- a/tck/src/main/resources/conf/iut-log4j.properties
+++ b/tck/src/main/resources/conf/iut-log4j.properties
@@ -25,12 +25,6 @@ log4j.rootLogger = ERROR, TCK
 log4j.logger.org.apache.jdo.tck = INFO, TCK
 log4j.additivity.org.apache.jdo.tck = false 
 
-# SpringFramework loggers 
-log4j.logger.org.springframework = ERROR, TCK
-log4j.additivity.org.springframework = false 
-log4j.logger.org.apache.jdo.tck.pc.company.CompanyModelReader = ERROR, TCK
-log4j.logger.org.apache.jdo.tck.pc.mylib.MylibReader = ERROR, TCK
-
 # TCK appenders
 log4j.appender.TCK = org.apache.jdo.tck.util.TCKFileAppender
 log4j.appender.TCK.File = tck.txt
diff --git a/tck/src/main/resources/conf/iut-log4j2.xml b/tck/src/main/resources/conf/iut-log4j2.xml
index ddb94cef..faf7e9b0 100644
--- a/tck/src/main/resources/conf/iut-log4j2.xml
+++ b/tck/src/main/resources/conf/iut-log4j2.xml
@@ -41,16 +41,7 @@
     <Logger name="org.apache.jdo.tck" level="info" additivity="false">
       <AppenderRef ref="TCK"/>
     </Logger>
-    <Logger name="org.springframework" level="error" additivity="false">
-      <AppenderRef ref="TCK"/>
-    </Logger>
-    <Logger name="org.apache.jdo.tck.pc.company.CompanyModelReader" level="error" additivity="false">
-      <AppenderRef ref="TCK"/>
-    </Logger>
-    <Logger name="org.apache.jdo.tck.pc.mylib.MylibReader" level="error" additivity="false">
-      <AppenderRef ref="TCK"/>
-    </Logger>
-     
+
      <!-- DataNucleus Loggers -->
 
     <Logger name="DataNucleus" level="warn" additivity="false">
diff --git a/tck/src/main/resources/conf/jdori-log4j2.xml b/tck/src/main/resources/conf/jdori-log4j2.xml
index 853dcfd0..2aa6cd8a 100644
--- a/tck/src/main/resources/conf/jdori-log4j2.xml
+++ b/tck/src/main/resources/conf/jdori-log4j2.xml
@@ -41,16 +41,7 @@
     <Logger name="org.apache.jdo.tck" level="info" additivity="false">
       <AppenderRef ref="TCK"/>
     </Logger>
-    <Logger name="org.springframework" level="error" additivity="false">
-      <AppenderRef ref="TCK"/>
-    </Logger>
-    <Logger name="org.apache.jdo.tck.pc.company.CompanyModelReader" level="error" additivity="false">
-      <AppenderRef ref="TCK"/>
-    </Logger>
-    <Logger name="org.apache.jdo.tck.pc.mylib.MylibReader" level="error" additivity="false">
-      <AppenderRef ref="TCK"/>
-    </Logger>
-     
+
      <!-- DataNucleus Loggers -->
 
     <Logger name="DataNucleus" level="warn" additivity="false">
diff --git a/tck/src/main/resources/conf/logging.properties b/tck/src/main/resources/conf/logging.properties
index 8dc631fa..06ea4f6d 100644
--- a/tck/src/main/resources/conf/logging.properties
+++ b/tck/src/main/resources/conf/logging.properties
@@ -40,11 +40,6 @@
 # TCK logger
 org.apache.jdo.tck.level = INFO
 
-# SpringFramework loggers 
-org.springframework.level = SEVERE
-org.apache.jdo.tck.pc.company.CompanyModelReader.level = SEVERE
-org.apache.jdo.tck.pc.mylib.MylibReader = SEVERE
-
 org.apache.jdo.tck.util.TCKFileHandler.fileName = tck.txt
 org.apache.jdo.tck.util.TCKFileHandler.level = FINEST
 
diff --git a/tck/src/main/resources/conf/relationshipAllRelationships.conf b/tck/src/main/resources/conf/relationshipAllRelationships.conf
index 9704cdb6..1761e23b 100644
--- a/tck/src/main/resources/conf/relationshipAllRelationships.conf
+++ b/tck/src/main/resources/conf/relationshipAllRelationships.conf
@@ -16,7 +16,7 @@
 jdo.tck.description = Managed relationship tests with standard mapping, \
  basic testdata with all relationships. 
 jdo.tck.mapping.companyfactory = 
-jdo.tck.testdata = org/apache/jdo/tck/pc/company/companyAllRelationships.xml
+jdo.tck.testdata = org.apache.jdo.tck.pc.company.data.RelationshipsAllData
 jdo.tck.mapping = 0
 jdo.tck.requiredOptions =
 jdo.tck.classes = org.apache.jdo.tck.mapping.Relationship1To1AllRelationships \
diff --git a/tck/src/main/resources/conf/relationshipNoRelationships.conf b/tck/src/main/resources/conf/relationshipNoRelationships.conf
index 09e74436..0c12b05a 100644
--- a/tck/src/main/resources/conf/relationshipNoRelationships.conf
+++ b/tck/src/main/resources/conf/relationshipNoRelationships.conf
@@ -16,7 +16,7 @@
 jdo.tck.description = Managed relationship tests with standard mapping, \
  basic testdata with no relationships. 
 jdo.tck.mapping.companyfactory =
-jdo.tck.testdata = org/apache/jdo/tck/pc/company/companyNoRelationships.xml
+jdo.tck.testdata = org.apache.jdo.tck.pc.company.data.RelationshipsNoData
 jdo.tck.mapping = 0
 jdo.tck.requiredOptions =
 jdo.tck.classes = org.apache.jdo.tck.mapping.Relationship1To1NoRelationships \
diff --git a/tck/src/main/resources/conf/security.policy b/tck/src/main/resources/conf/security.policy
index 7ba11d36..a151e5ee 100644
--- a/tck/src/main/resources/conf/security.policy
+++ b/tck/src/main/resources/conf/security.policy
@@ -18,26 +18,10 @@ grant codeBase "file:/D:/users\\michael\\.maven/repository/junit/jars/junit-3.8.
     permission java.io.FilePermission "${user.home}${/}junit.properties", "read";
 };
 
-// Springbeans code base
-grant codeBase "file:/D:/users\\michael\\.maven/repository/org.springframework/jars/spring-beans-2.0.jar" {
-    permission java.lang.RuntimePermission "accessDeclaredMembers";
-    permission java.lang.reflect.ReflectPermission "suppressAccessChecks";
-    permission java.lang.RuntimePermission "getClassLoader";
-};
-
-// Springcore code base
-grant codeBase "file:/D:/users\\michael\\.maven/repository/org.springframework/jars/spring-core-2.0.jar" {
-    permission java.lang.RuntimePermission "accessDeclaredMembers";
-};
-
 // TCK test classes
 grant codeBase "file:/D:/projects/jdo/workspace/jdo/trunk/tck2/target/classes/-" {
     permission javax.jdo.spi.JDOPermission "closePersistenceManagerFactory";
     permission javax.jdo.spi.JDOPermission "setStateManager";
-// needed for Springbeans
-    permission java.lang.RuntimePermission "accessDeclaredMembers";
-    permission java.lang.reflect.ReflectPermission "suppressAccessChecks";
-    permission java.lang.RuntimePermission "getClassLoader";
 };
 
 // TCK PC enhanced classes
diff --git a/tck/src/main/resources/conf/simplelog.properties b/tck/src/main/resources/conf/simplelog.properties
index fa0bd8c8..af1f1d5d 100644
--- a/tck/src/main/resources/conf/simplelog.properties
+++ b/tck/src/main/resources/conf/simplelog.properties
@@ -31,10 +31,5 @@ org.apache.commons.logging.simplelog.defaultlog = error
 # TCK logger
 org.apache.commons.logging.simplelog.log.org.apache.jdo.tck = info
 
-# SpringFramework loggers 
-org.apache.commons.logging.simplelog.log.org.springframework = error
-org.apache.commons.logging.simplelog.log.org.apache.jdo.tck.pc.company.CompanyModelReader = error
-org.apache.commons.logging.simplelog.log.org.apache.jdo.tck.pc.mylib.MylibReader = error
-
 # JDO vendor specific loggers 
 #org.apache.commons.logging.simplelog.log.<vendor> = info
diff --git a/tck/src/main/resources/testdata/org/apache/jdo/tck/pc/company/company1-1Relationships.xml b/tck/src/main/resources/testdata/org/apache/jdo/tck/pc/company/company1-1Relationships.xml
deleted file mode 100644
index 9cb7ac02..00000000
--- a/tck/src/main/resources/testdata/org/apache/jdo/tck/pc/company/company1-1Relationships.xml
+++ /dev/null
@@ -1,239 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<!--
-  Licensed to the Apache Software Foundation (ASF) under one or more
-  contributor license agreements.  See the NOTICE file distributed with
-  this work for additional information regarding copyright ownership.
-  The ASF licenses this file to You under the Apache License, Version 2.0
-  (the "License"); you may not use this file except in compliance with
-  the License.  You may obtain a copy of the License at
-
-      https://www.apache.org/licenses/LICENSE-2.0
-
-  Unless required by applicable law or agreed to in writing, software
-  distributed under the License is distributed on an "AS IS" BASIS,
-  WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-  See the License for the specific language governing permissions and
-  limitations under the License.
--->
-<beans xmlns="http://www.springframework.org/schema/beans"
-    xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
-    xsi:schemaLocation="
-        http://www.springframework.org/schema/beans http://www.springframework.org/schema/beans/spring-beans.xsd">
-
-    <description>Company instances for CompletenessTest with 1-1 relationships</description>
-
-    <bean id="root" class="java.util.ArrayList">
-        <constructor-arg index="0">
-            <list>
-                <ref bean="company1"/>
-                <ref bean="dept1"/>
-                <ref bean="dept2"/>
-                <ref bean="emp1"/>
-                <ref bean="emp2"/>
-                <ref bean="emp3"/>
-                <ref bean="emp4"/>
-                <ref bean="emp5"/>
-                <ref bean="proj1"/>
-                <ref bean="proj2"/>
-                <ref bean="proj3"/>
-            </list>
-        </constructor-arg>
-    </bean>
-
-    <bean id="company1" factory-bean="companyFactory" factory-method="newCompany">
-        <constructor-arg index="0" type="long"><value>1</value></constructor-arg>
-        <constructor-arg index="1" type="java.lang.String"><value>Sun Microsystems, Inc.</value></constructor-arg>
-        <constructor-arg index="2" type="java.util.Date"><value>11/Apr/1952</value></constructor-arg>
-    </bean>
-
-    <bean id="dept1" factory-bean="companyFactory" factory-method="newDepartment">
-        <constructor-arg index="0" type="long"><value>1</value></constructor-arg>
-        <constructor-arg index="1" type="java.lang.String" ><value>Development</value></constructor-arg>
-    </bean>
-
-    <bean id="dept2" factory-bean="companyFactory" factory-method="newDepartment">
-        <constructor-arg index="0" type="long"><value>2</value></constructor-arg>
-        <constructor-arg index="1" type="java.lang.String" ><value>Human Resources</value></constructor-arg>
-    </bean>
-
-    <bean id="emp1" factory-bean="companyFactory" factory-method="newFullTimeEmployee">
-        <constructor-arg index="0" type="long"><value>1</value></constructor-arg>
-        <constructor-arg index="1" type="java.lang.String"><value>emp1First</value></constructor-arg>
-        <constructor-arg index="2" type="java.lang.String"><value>emp1Last</value></constructor-arg>
-        <constructor-arg index="3" type="java.lang.String"><value>emp1Middle</value></constructor-arg>
-        <constructor-arg index="4" type="java.util.Date"><value>10/Jun/1970</value></constructor-arg>
-        <constructor-arg index="5" type="java.util.Date"><value>1/Jan/1999</value></constructor-arg>
-        <constructor-arg index="6" type="double"><value>20000</value></constructor-arg>
-        <property name="weeklyhours"><value>40</value></property>
-        <property name="medicalInsurance"><ref bean="medicalIns1"/></property>
-        <property name="dentalInsurance"><ref bean="dentalIns1"/></property>
-        <property name="mentor"><ref bean="emp2"/></property>
-        <property name="protege"><ref bean="emp5"/></property>
-    </bean>
-    <bean id="emp2" factory-bean="companyFactory" factory-method="newFullTimeEmployee">
-        <constructor-arg index="0" type="long"><value>2</value></constructor-arg>
-        <constructor-arg index="1" type="java.lang.String"><value>emp2First</value></constructor-arg>
-        <constructor-arg index="2" type="java.lang.String"><value>emp2Last</value></constructor-arg>
-        <constructor-arg index="3" type="java.lang.String"><value>emp2Middle</value></constructor-arg>
-        <constructor-arg index="4" type="java.util.Date"><value>22/Dec/1975</value></constructor-arg>
-        <constructor-arg index="5" type="java.util.Date"><value>1/Jul/2003</value></constructor-arg>
-        <constructor-arg index="6" type="double"><value>10000</value></constructor-arg>
-        <property name="weeklyhours"><value>40</value></property>
-        <property name="medicalInsurance"><ref bean="medicalIns2"/></property>
-        <property name="dentalInsurance"><ref bean="dentalIns2"/></property>
-        <property name="mentor"><ref bean="emp3"/></property>
-        <property name="protege"><ref bean="emp1"/></property>
-    </bean>
-    <bean id="emp3" factory-bean="companyFactory" factory-method="newPartTimeEmployee">
-        <constructor-arg index="0" type="long"><value>3</value></constructor-arg>
-        <constructor-arg index="1" type="java.lang.String"><value>emp3First</value></constructor-arg>
-        <constructor-arg index="2" type="java.lang.String"><value>emp3Last</value></constructor-arg>
-        <constructor-arg index="3" type="java.lang.String"><value>emp3Middle</value></constructor-arg>
-        <constructor-arg index="4" type="java.util.Date"><value>5/Sep/1972</value></constructor-arg>
-        <constructor-arg index="5" type="java.util.Date"><value>15/Aug/2002</value></constructor-arg>
-        <constructor-arg index="6" type="double"><value>15</value></constructor-arg>
-        <property name="weeklyhours"><value>19</value></property>
-        <property name="medicalInsurance"><ref bean="medicalIns3"/></property>
-        <property name="dentalInsurance"><ref bean="dentalIns3"/></property>
-        <property name="mentor"><ref bean="emp4"/></property>
-        <property name="protege"><ref bean="emp2"/></property>
-    </bean>
-    <bean id="emp4" factory-bean="companyFactory" factory-method="newPartTimeEmployee">
-        <constructor-arg index="0" type="long"><value>4</value></constructor-arg>
-        <constructor-arg index="1" type="java.lang.String"><value>emp4First</value></constructor-arg>
-        <constructor-arg index="2" type="java.lang.String"><value>emp4Last</value></constructor-arg>
-        <constructor-arg index="3" type="java.lang.String"><value>emp4Middle</value></constructor-arg>
-        <constructor-arg index="4" type="java.util.Date"><value>6/Sep/1973</value></constructor-arg>
-        <constructor-arg index="5" type="java.util.Date"><value>15/Apr/2001</value></constructor-arg>
-        <constructor-arg index="6" type="double"><value>13</value></constructor-arg>
-        <property name="medicalInsurance"><ref bean="medicalIns4"/></property>
-        <property name="dentalInsurance"><ref bean="dentalIns4"/></property>
-        <property name="mentor"><ref bean="emp5"/></property>
-        <property name="protege"><ref bean="emp3"/></property>
-    </bean>
-    <bean id="emp5" factory-bean="companyFactory" factory-method="newFullTimeEmployee">
-        <constructor-arg index="0" type="long"><value>5</value></constructor-arg>
-        <constructor-arg index="1" type="java.lang.String"><value>emp5First</value></constructor-arg>
-        <constructor-arg index="2" type="java.lang.String"><value>emp5Last</value></constructor-arg>
-        <constructor-arg index="3" type="java.lang.String"><value>emp5Middle</value></constructor-arg>
-        <constructor-arg index="4" type="java.util.Date"><value>5/Jul/1962</value></constructor-arg>
-        <constructor-arg index="5" type="java.util.Date"><value>15/Aug/1998</value></constructor-arg>
-        <constructor-arg index="6" type="double"><value>45000</value></constructor-arg>
-        <property name="medicalInsurance"><ref bean="medicalIns5"/></property>
-        <property name="dentalInsurance"><ref bean="dentalIns5"/></property>
-        <property name="mentor"><ref bean="emp1"/></property>
-        <property name="protege"><ref bean="emp4"/></property>
-    </bean>
-
-    <bean id="addr1" factory-bean="companyFactory" factory-method="newAddress">
-        <constructor-arg index="0" type="long"><value>1</value></constructor-arg>
-        <constructor-arg index="1" type="java.lang.String"><value>Unter den Linden 1</value></constructor-arg>
-        <constructor-arg index="2" type="java.lang.String"><value>Berlin</value></constructor-arg>
-        <constructor-arg index="3" type="java.lang.String"><value>  </value></constructor-arg>
-        <constructor-arg index="4" type="java.lang.String"><value>12345</value></constructor-arg>
-        <constructor-arg index="5" type="java.lang.String"><value>Germany</value></constructor-arg>
-    </bean>
-    <bean id="addr2" factory-bean="companyFactory" factory-method="newAddress">
-        <constructor-arg index="0" type="long"><value>2</value></constructor-arg>
-        <constructor-arg index="1" type="java.lang.String"><value>Broadway 1</value></constructor-arg>
-        <constructor-arg index="2" type="java.lang.String"><value>New York</value></constructor-arg>
-        <constructor-arg index="3" type="java.lang.String"><value>NY</value></constructor-arg>
-        <constructor-arg index="4" type="java.lang.String"><value>10000</value></constructor-arg>
-        <constructor-arg index="5" type="java.lang.String"><value>USA</value></constructor-arg>
-    </bean>
-    <bean id="addr3" factory-bean="companyFactory" factory-method="newAddress">
-        <constructor-arg index="0" type="long"><value>3</value></constructor-arg>
-        <constructor-arg index="1" type="java.lang.String"><value>Market St.</value></constructor-arg>
-        <constructor-arg index="2" type="java.lang.String"><value>San Francisco</value></constructor-arg>
-        <constructor-arg index="3" type="java.lang.String"><value>CA</value></constructor-arg>
-        <constructor-arg index="4" type="java.lang.String"><value>94102</value></constructor-arg>
-        <constructor-arg index="5" type="java.lang.String"><value>USA</value></constructor-arg>
-    </bean>
-
-    <bean id="medicalIns1" factory-bean="companyFactory" factory-method="newMedicalInsurance">
-        <constructor-arg index="0" type="long"><value>1</value></constructor-arg>
-        <constructor-arg index="1" type="java.lang.String"><value>Carrier1</value></constructor-arg>
-        <constructor-arg index="2" type="java.lang.String"><value>PPO</value></constructor-arg>
-        <property name="employee"><ref bean="emp1"/></property>
-    </bean>
-
-    <bean id="medicalIns2" factory-bean="companyFactory" factory-method="newMedicalInsurance">
-        <constructor-arg index="0" type="long"><value>2</value></constructor-arg>
-        <constructor-arg index="1" type="java.lang.String"><value>Carrier2</value></constructor-arg>
-        <constructor-arg index="2" type="java.lang.String"><value>HMO</value></constructor-arg>
-        <property name="employee"><ref bean="emp2"/></property>
-    </bean>
-
-    <bean id="medicalIns3" factory-bean="companyFactory" factory-method="newMedicalInsurance">
-        <constructor-arg index="0" type="long"><value>3</value></constructor-arg>
-        <constructor-arg index="1" type="java.lang.String"><value>Carrier3</value></constructor-arg>
-        <constructor-arg index="2" type="java.lang.String"><value>HMO</value></constructor-arg>
-        <property name="employee"><ref bean="emp3"/></property>
-    </bean>
-
-    <bean id="medicalIns4" factory-bean="companyFactory" factory-method="newMedicalInsurance">
-        <constructor-arg index="0" type="long"><value>4</value></constructor-arg>
-        <constructor-arg index="1" type="java.lang.String"><value>Carrier4</value></constructor-arg>
-        <constructor-arg index="2" type="java.lang.String"><value>HMO</value></constructor-arg>
-        <property name="employee"><ref bean="emp4"/></property>
-    </bean>
-
-    <bean id="medicalIns5" factory-bean="companyFactory" factory-method="newMedicalInsurance">
-        <constructor-arg index="0" type="long"><value>5</value></constructor-arg>
-        <constructor-arg index="1" type="java.lang.String"><value>Carrier5</value></constructor-arg>
-        <constructor-arg index="2" type="java.lang.String"><value>HMO</value></constructor-arg>
-        <property name="employee"><ref bean="emp5"/></property>
-    </bean>
-
-    <bean id="dentalIns1" factory-bean="companyFactory" factory-method="newDentalInsurance">
-        <constructor-arg index="0" type="long"><value>11</value></constructor-arg>
-        <constructor-arg index="1" type="java.lang.String"><value>Carrier1</value></constructor-arg>
-        <constructor-arg index="2" type="java.math.BigDecimal"><value>99.999</value></constructor-arg>
-        <property name="employee"><ref bean="emp1"/></property>
-    </bean>
-
-    <bean id="dentalIns2" factory-bean="companyFactory" factory-method="newDentalInsurance">
-        <constructor-arg index="0" type="long"><value>12</value></constructor-arg>
-        <constructor-arg index="1" type="java.lang.String"><value>Carrier2</value></constructor-arg>
-        <constructor-arg index="2" type="java.math.BigDecimal"><value>99.999</value></constructor-arg>
-        <property name="employee"><ref bean="emp2"/></property>
-    </bean>
-
-    <bean id="dentalIns3" factory-bean="companyFactory" factory-method="newDentalInsurance">
-        <constructor-arg index="0" type="long"><value>13</value></constructor-arg>
-        <constructor-arg index="1" type="java.lang.String"><value>Carrier3</value></constructor-arg>
-        <constructor-arg index="2" type="java.math.BigDecimal"><value>99.999</value></constructor-arg>
-        <property name="employee"><ref bean="emp3"/></property>
-    </bean>
-
-    <bean id="dentalIns4" factory-bean="companyFactory" factory-method="newDentalInsurance">
-        <constructor-arg index="0" type="long"><value>14</value></constructor-arg>
-        <constructor-arg index="1" type="java.lang.String"><value>Carrier4</value></constructor-arg>
-        <constructor-arg index="2" type="java.math.BigDecimal"><value>99.999</value></constructor-arg>
-        <property name="employee"><ref bean="emp4"/></property>
-    </bean>
-
-    <bean id="dentalIns5" factory-bean="companyFactory" factory-method="newDentalInsurance">
-        <constructor-arg index="0" type="long"><value>15</value></constructor-arg>
-        <constructor-arg index="1" type="java.lang.String"><value>Carrier5</value></constructor-arg>
-        <constructor-arg index="2" type="java.math.BigDecimal"><value>99.999</value></constructor-arg>
-        <property name="employee"><ref bean="emp5"/></property>
-    </bean>
-
-    <bean id="proj1" factory-bean="companyFactory" factory-method="newProject">
-        <constructor-arg index="0" type="long"><value>1</value></constructor-arg>
-        <constructor-arg index="1" type="java.lang.String"><value>orange</value></constructor-arg>
-        <constructor-arg index="2" type="java.math.BigDecimal"><value>2500000.99</value></constructor-arg>
-    </bean>
-    <bean id="proj2" factory-bean="companyFactory" factory-method="newProject">
-        <constructor-arg index="0" type="long"><value>2</value></constructor-arg>
-        <constructor-arg index="1" type="java.lang.String"><value>blue</value></constructor-arg>
-        <constructor-arg index="2" type="java.math.BigDecimal"><value>50000.00</value></constructor-arg>
-    </bean>
-    <bean id="proj3" factory-bean="companyFactory" factory-method="newProject">
-        <constructor-arg index="0" type="long"><value>3</value></constructor-arg>
-        <constructor-arg index="1" type="java.lang.String"><value>green</value></constructor-arg>
-        <constructor-arg index="2" type="java.math.BigDecimal"><value>2000.99</value></constructor-arg>
-    </bean>
-</beans>
-
diff --git a/tck/src/main/resources/testdata/org/apache/jdo/tck/pc/company/company1-MRelationships.xml b/tck/src/main/resources/testdata/org/apache/jdo/tck/pc/company/company1-MRelationships.xml
deleted file mode 100644
index c4fb6aee..00000000
--- a/tck/src/main/resources/testdata/org/apache/jdo/tck/pc/company/company1-MRelationships.xml
+++ /dev/null
@@ -1,238 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<!--
-  Licensed to the Apache Software Foundation (ASF) under one or more
-  contributor license agreements.  See the NOTICE file distributed with
-  this work for additional information regarding copyright ownership.
-  The ASF licenses this file to You under the Apache License, Version 2.0
-  (the "License"); you may not use this file except in compliance with
-  the License.  You may obtain a copy of the License at
-
-      https://www.apache.org/licenses/LICENSE-2.0
-
-  Unless required by applicable law or agreed to in writing, software
-  distributed under the License is distributed on an "AS IS" BASIS,
-  WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-  See the License for the specific language governing permissions and
-  limitations under the License.
--->
-<beans xmlns="http://www.springframework.org/schema/beans"
-    xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
-    xsi:schemaLocation="
-        http://www.springframework.org/schema/beans http://www.springframework.org/schema/beans/spring-beans.xsd">
-
-    <description>Company instances for CompletenessTest with 1-m relationships</description>
-
-    <bean id="root" class="java.util.ArrayList">
-        <constructor-arg index="0">
-            <list>
-                <ref bean="company1"/>
-                <ref bean="medicalIns1"/>
-                <ref bean="medicalIns2"/>
-                <ref bean="medicalIns3"/>
-                <ref bean="dentalIns1"/>
-                <ref bean="proj1"/>
-                <ref bean="proj2"/>
-                <ref bean="proj3"/>
-            </list>
-        </constructor-arg>
-    </bean>
-
-    <bean id="company1" factory-bean="companyFactory" factory-method="newCompany">
-        <constructor-arg index="0" type="long"><value>1</value></constructor-arg>
-        <constructor-arg index="1" type="java.lang.String"><value>Sun Microsystems, Inc.</value></constructor-arg>
-        <constructor-arg index="2" type="java.util.Date"><value>11/Apr/1952</value></constructor-arg>
-        <property name="departments">
-            <set>
-                <ref bean="dept1"/>
-                <ref bean="dept2"/>
-            </set>
-        </property>
-    </bean>
-
-    <bean id="dept1" factory-bean="companyFactory" factory-method="newDepartment">
-        <constructor-arg index="0" type="long"><value>1</value></constructor-arg>
-        <constructor-arg index="1" type="java.lang.String" ><value>Development</value></constructor-arg>
-        <property name="company"><ref bean="company1"/></property>
-        <property name="employees">
-            <set>
-                <ref bean="emp1"/>
-                <ref bean="emp2"/>
-                <ref bean="emp3"/>
-            </set>
-        </property>
-        <property name="fundedEmps">
-            <set>
-                <ref bean="emp2"/>
-                <ref bean="emp3"/>
-            </set>
-        </property>
-    </bean>
-
-    <bean id="dept2" factory-bean="companyFactory" factory-method="newDepartment">
-        <constructor-arg index="0" type="long"><value>2</value></constructor-arg>
-        <constructor-arg index="1" type="java.lang.String" ><value>Human Resources</value></constructor-arg>
-        <property name="company"><ref bean="company1"/></property>
-        <property name="employees">
-            <set>
-                <ref bean="emp4"/>
-                <ref bean="emp5"/>
-            </set>
-        </property>
-        <property name="fundedEmps">
-            <set>
-                <ref bean="emp1"/>
-                <ref bean="emp4"/>
-                <ref bean="emp5"/>
-            </set>
-        </property>
-    </bean>
-
-    <bean id="emp1" factory-bean="companyFactory" factory-method="newFullTimeEmployee">
-        <constructor-arg index="0" type="long"><value>1</value></constructor-arg>
-        <constructor-arg index="1" type="java.lang.String"><value>emp1First</value></constructor-arg>
-        <constructor-arg index="2" type="java.lang.String"><value>emp1Last</value></constructor-arg>
-        <constructor-arg index="3" type="java.lang.String"><value>emp1Middle</value></constructor-arg>
-        <constructor-arg index="4" type="java.util.Date"><value>10/Jun/1970</value></constructor-arg>
-        <constructor-arg index="5" type="java.util.Date"><value>1/Jan/1999</value></constructor-arg>
-        <constructor-arg index="6" type="double"><value>20000</value></constructor-arg>
-        <property name="weeklyhours"><value>40</value></property>
-        <property name="department"><ref bean="dept1"/></property>
-        <property name="fundingDept"><ref bean="dept2"/></property>
-        <property name="manager"><ref bean="emp2"/></property>
-        <property name="hradvisor"><ref bean="emp5"/></property>
-    </bean>
-    <bean id="emp2" factory-bean="companyFactory" factory-method="newFullTimeEmployee">
-        <constructor-arg index="0" type="long"><value>2</value></constructor-arg>
-        <constructor-arg index="1" type="java.lang.String"><value>emp2First</value></constructor-arg>
-        <constructor-arg index="2" type="java.lang.String"><value>emp2Last</value></constructor-arg>
-        <constructor-arg index="3" type="java.lang.String"><value>emp2Middle</value></constructor-arg>
-        <constructor-arg index="4" type="java.util.Date"><value>22/Dec/1975</value></constructor-arg>
-        <constructor-arg index="5" type="java.util.Date"><value>1/Jul/2003</value></constructor-arg>
-        <constructor-arg index="6" type="double"><value>10000</value></constructor-arg>
-        <property name="weeklyhours"><value>40</value></property>
-        <property name="department"><ref bean="dept1"/></property>
-        <property name="fundingDept"><ref bean="dept1"/></property>
-        <property name="hradvisor"><ref bean="emp5"/></property>
-        <property name="team">
-            <set>
-                <ref bean="emp1"/>
-                <ref bean="emp3"/>
-                <ref bean="emp4"/>
-                <ref bean="emp5"/>
-            </set>
-        </property>
-    </bean>
-    <bean id="emp3" factory-bean="companyFactory" factory-method="newPartTimeEmployee">
-        <constructor-arg index="0" type="long"><value>3</value></constructor-arg>
-        <constructor-arg index="1" type="java.lang.String"><value>emp3First</value></constructor-arg>
-        <constructor-arg index="2" type="java.lang.String"><value>emp3Last</value></constructor-arg>
-        <constructor-arg index="3" type="java.lang.String"><value>emp3Middle</value></constructor-arg>
-        <constructor-arg index="4" type="java.util.Date"><value>5/Sep/1972</value></constructor-arg>
-        <constructor-arg index="5" type="java.util.Date"><value>15/Aug/2002</value></constructor-arg>
-        <constructor-arg index="6" type="double"><value>15</value></constructor-arg>
-        <property name="weeklyhours"><value>19</value></property>
-        <property name="department"><ref bean="dept1"/></property>
-        <property name="fundingDept"><ref bean="dept1"/></property>
-        <property name="manager"><ref bean="emp2"/></property>
-        <property name="hradvisor"><ref bean="emp5"/></property>
-    </bean>
-    <bean id="emp4" factory-bean="companyFactory" factory-method="newPartTimeEmployee">
-        <constructor-arg index="0" type="long"><value>4</value></constructor-arg>
-        <constructor-arg index="1" type="java.lang.String"><value>emp4First</value></constructor-arg>
-        <constructor-arg index="2" type="java.lang.String"><value>emp4Last</value></constructor-arg>
-        <constructor-arg index="3" type="java.lang.String"><value>emp4Middle</value></constructor-arg>
-        <constructor-arg index="4" type="java.util.Date"><value>6/Sep/1973</value></constructor-arg>
-        <constructor-arg index="5" type="java.util.Date"><value>15/Apr/2001</value></constructor-arg>
-        <constructor-arg index="6" type="double"><value>13</value></constructor-arg>
-        <property name="department"><ref bean="dept2"/></property>
-        <property name="fundingDept"><ref bean="dept2"/></property>
-        <property name="manager"><ref bean="emp2"/></property>
-        <property name="hradvisor"><ref bean="emp5"/></property>
-    </bean>
-    <bean id="emp5" factory-bean="companyFactory" factory-method="newFullTimeEmployee">
-        <constructor-arg index="0" type="long"><value>5</value></constructor-arg>
-        <constructor-arg index="1" type="java.lang.String"><value>emp5First</value></constructor-arg>
-        <constructor-arg index="2" type="java.lang.String"><value>emp5Last</value></constructor-arg>
-        <constructor-arg index="3" type="java.lang.String"><value>emp5Middle</value></constructor-arg>
-        <constructor-arg index="4" type="java.util.Date"><value>5/Jul/1962</value></constructor-arg>
-        <constructor-arg index="5" type="java.util.Date"><value>15/Aug/1998</value></constructor-arg>
-        <constructor-arg index="6" type="double"><value>45000</value></constructor-arg>
-        <property name="department"><ref bean="dept2"/></property>
-        <property name="fundingDept"><ref bean="dept2"/></property>
-        <property name="manager"><ref bean="emp2"/></property>
-        <property name="hradvisees">
-            <set>
-                <ref bean="emp1"/>
-                <ref bean="emp2"/>
-                <ref bean="emp3"/>
-                <ref bean="emp4"/>
-            </set>
-        </property>
-    </bean>
-
-    <bean id="addr1" factory-bean="companyFactory" factory-method="newAddress">
-        <constructor-arg index="0" type="long"><value>1</value></constructor-arg>
-        <constructor-arg index="1" type="java.lang.String"><value>Unter den Linden 1</value></constructor-arg>
-        <constructor-arg index="2" type="java.lang.String"><value>Berlin</value></constructor-arg>
-        <constructor-arg index="3" type="java.lang.String"><value>  </value></constructor-arg>
-        <constructor-arg index="4" type="java.lang.String"><value>12345</value></constructor-arg>
-        <constructor-arg index="5" type="java.lang.String"><value>Germany</value></constructor-arg>
-    </bean>
-    <bean id="addr2" factory-bean="companyFactory" factory-method="newAddress">
-        <constructor-arg index="0" type="long"><value>2</value></constructor-arg>
-        <constructor-arg index="1" type="java.lang.String"><value>Broadway 1</value></constructor-arg>
-        <constructor-arg index="2" type="java.lang.String"><value>New York</value></constructor-arg>
-        <constructor-arg index="3" type="java.lang.String"><value>NY</value></constructor-arg>
-        <constructor-arg index="4" type="java.lang.String"><value>10000</value></constructor-arg>
-        <constructor-arg index="5" type="java.lang.String"><value>USA</value></constructor-arg>
-    </bean>
-    <bean id="addr3" factory-bean="companyFactory" factory-method="newAddress">
-        <constructor-arg index="0" type="long"><value>3</value></constructor-arg>
-        <constructor-arg index="1" type="java.lang.String"><value>Market St.</value></constructor-arg>
-        <constructor-arg index="2" type="java.lang.String"><value>San Francisco</value></constructor-arg>
-        <constructor-arg index="3" type="java.lang.String"><value>CA</value></constructor-arg>
-        <constructor-arg index="4" type="java.lang.String"><value>94102</value></constructor-arg>
-        <constructor-arg index="5" type="java.lang.String"><value>USA</value></constructor-arg>
-    </bean>
-
-    <bean id="medicalIns1" factory-bean="companyFactory" factory-method="newMedicalInsurance">
-        <constructor-arg index="0" type="long"><value>1</value></constructor-arg>
-        <constructor-arg index="1" type="java.lang.String"><value>Carrier1</value></constructor-arg>
-        <constructor-arg index="2" type="java.lang.String"><value>PPO</value></constructor-arg>
-    </bean>
-
-    <bean id="medicalIns2" factory-bean="companyFactory" factory-method="newMedicalInsurance">
-        <constructor-arg index="0" type="long"><value>2</value></constructor-arg>
-        <constructor-arg index="1" type="java.lang.String"><value>Carrier2</value></constructor-arg>
-        <constructor-arg index="2" type="java.lang.String"><value>HMO</value></constructor-arg>
-    </bean>
-
-    <bean id="medicalIns3" factory-bean="companyFactory" factory-method="newMedicalInsurance">
-        <constructor-arg index="0" type="long"><value>3</value></constructor-arg>
-        <constructor-arg index="1" type="java.lang.String"><value>Carrier2</value></constructor-arg>
-        <constructor-arg index="2" type="java.lang.String"><value>HMO</value></constructor-arg>
-    </bean>
-
-    <bean id="dentalIns1" factory-bean="companyFactory" factory-method="newDentalInsurance">
-        <constructor-arg index="0" type="long"><value>4</value></constructor-arg>
-        <constructor-arg index="1" type="java.lang.String"><value>Carrier2</value></constructor-arg>
-        <constructor-arg index="2" type="java.math.BigDecimal"><value>99.999</value></constructor-arg>
-    </bean>
-
-    <bean id="proj1" factory-bean="companyFactory" factory-method="newProject">
-        <constructor-arg index="0" type="long"><value>1</value></constructor-arg>
-        <constructor-arg index="1" type="java.lang.String"><value>orange</value></constructor-arg>
-        <constructor-arg index="2" type="java.math.BigDecimal"><value>2500000.99</value></constructor-arg>
-    </bean>
-    <bean id="proj2" factory-bean="companyFactory" factory-method="newProject">
-        <constructor-arg index="0" type="long"><value>2</value></constructor-arg>
-        <constructor-arg index="1" type="java.lang.String"><value>blue</value></constructor-arg>
-        <constructor-arg index="2" type="java.math.BigDecimal"><value>50000.00</value></constructor-arg>
-    </bean>
-    <bean id="proj3" factory-bean="companyFactory" factory-method="newProject">
-        <constructor-arg index="0" type="long"><value>3</value></constructor-arg>
-        <constructor-arg index="1" type="java.lang.String"><value>green</value></constructor-arg>
-        <constructor-arg index="2" type="java.math.BigDecimal"><value>2000.99</value></constructor-arg>
-    </bean>
-</beans>
-
diff --git a/tck/src/main/resources/testdata/org/apache/jdo/tck/pc/company/companyAllRelationships.xml b/tck/src/main/resources/testdata/org/apache/jdo/tck/pc/company/companyAllRelationships.xml
deleted file mode 100644
index afc49371..00000000
--- a/tck/src/main/resources/testdata/org/apache/jdo/tck/pc/company/companyAllRelationships.xml
+++ /dev/null
@@ -1,406 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<!--
-  Licensed to the Apache Software Foundation (ASF) under one or more
-  contributor license agreements.  See the NOTICE file distributed with
-  this work for additional information regarding copyright ownership.
-  The ASF licenses this file to You under the Apache License, Version 2.0
-  (the "License"); you may not use this file except in compliance with
-  the License.  You may obtain a copy of the License at
-
-      https://www.apache.org/licenses/LICENSE-2.0
-
-  Unless required by applicable law or agreed to in writing, software
-  distributed under the License is distributed on an "AS IS" BASIS,
-  WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-  See the License for the specific language governing permissions and
-  limitations under the License.
--->
-<beans xmlns="http://www.springframework.org/schema/beans"
-    xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
-    xsi:schemaLocation="
-        http://www.springframework.org/schema/beans http://www.springframework.org/schema/beans/spring-beans.xsd">
-    
-    <description>Company instances for CompletenessTest with all relationships</description>
-
-    <bean id="root" class="java.util.ArrayList">
-        <constructor-arg index="0">
-            <list>
-                <ref bean="company1"/>
-            </list>
-        </constructor-arg>
-    </bean>
-
-    <bean id="company1" factory-bean="companyFactory" factory-method="newCompany">
-        <constructor-arg index="0" type="long"><value>1</value></constructor-arg>
-        <constructor-arg index="1" type="java.lang.String"><value>Sun Microsystems, Inc.</value></constructor-arg>
-        <constructor-arg index="2" type="java.util.Date"><value>11/Apr/1952</value></constructor-arg>
-        <constructor-arg index="3" type="org.apache.jdo.tck.pc.company.IAddress"><ref bean="addr1"/></constructor-arg>
-        <property name="departments">
-            <set>
-                <ref bean="dept1"/>
-                <ref bean="dept2"/>
-            </set>
-        </property>
-    </bean>
-
-    <bean id="dept1" factory-bean="companyFactory" factory-method="newDepartment">
-        <constructor-arg index="0" type="long"><value>1</value></constructor-arg>
-        <constructor-arg index="1" type="java.lang.String" ><value>Development</value></constructor-arg>
-        <property name="company"><ref bean="company1"/></property>
-        <property name="employeeOfTheMonth"><ref bean="emp1"/></property>
-        <property name="employees">
-            <set>
-                <ref bean="emp1"/>
-                <ref bean="emp2"/>
-                <ref bean="emp3"/>
-            </set>
-        </property>
-        <property name="fundedEmps">
-            <set>
-                <ref bean="emp2"/>
-                <ref bean="emp3"/>
-            </set>
-        </property>
-    </bean>
-
-    <bean id="dept2" factory-bean="companyFactory" factory-method="newDepartment">
-        <constructor-arg index="0" type="long"><value>2</value></constructor-arg>
-        <constructor-arg index="1" type="java.lang.String" ><value>Human Resources</value></constructor-arg>
-        <property name="company"><ref bean="company1"/></property>
-        <property name="employees">
-            <set>
-                <ref bean="emp4"/>
-                <ref bean="emp5"/>
-            </set>
-        </property>
-        <property name="fundedEmps">
-            <set>
-                <ref bean="emp1"/>
-                <ref bean="emp4"/>
-                <ref bean="emp5"/>
-            </set>
-        </property>
-    </bean>
-
-    <bean id="emp1" factory-bean="companyFactory" factory-method="newFullTimeEmployee">
-        <constructor-arg index="0" type="long"><value>1</value></constructor-arg>
-        <constructor-arg index="1" type="java.lang.String"><value>emp1First</value></constructor-arg>
-        <constructor-arg index="2" type="java.lang.String"><value>emp1Last</value></constructor-arg>
-        <constructor-arg index="3" type="java.lang.String"><value>emp1Middle</value></constructor-arg>
-        <constructor-arg index="4" type="java.util.Date"><value>10/Jun/1970</value></constructor-arg>
-        <constructor-arg index="5" type="org.apache.jdo.tck.pc.company.IAddress"><ref bean="addr1"/></constructor-arg>
-        <constructor-arg index="6" type="java.util.Date"><value>1/Jan/1999</value></constructor-arg>
-        <constructor-arg index="7" type="double"><value>20000</value></constructor-arg>
-        <property name="weeklyhours"><value>40</value></property>
-        <property name="medicalInsurance"><ref bean="medicalIns1"/></property>
-        <property name="dentalInsurance"><ref bean="dentalIns1"/></property>
-        <property name="phoneNumbers">
-	        <map>
-                <entry key="home"><value>1111</value></entry>
-                <entry key="work"><value>123456-1</value></entry>
-            </map>
-	    </property>
-        <property name="department"><ref bean="dept1"/></property>
-        <property name="fundingDept"><ref bean="dept2"/></property>
-        <property name="manager"><ref bean="emp2"/></property>
-        <property name="mentor"><ref bean="emp2"/></property>
-        <property name="protege"><ref bean="emp5"/></property>
-        <property name="hradvisor"><ref bean="emp5"/></property>
-        <property name="reviewedProjects">
-            <set>
-                <ref bean="proj3"/>
-            </set>
-        </property>
-        <property name="projects">
-            <set>
-                <ref bean="proj1"/>
-            </set>
-        </property>
-    </bean>
-    <bean id="emp2" factory-bean="companyFactory" factory-method="newFullTimeEmployee">
-        <constructor-arg index="0" type="long"><value>2</value></constructor-arg>
-        <constructor-arg index="1" type="java.lang.String"><value>emp2First</value></constructor-arg>
-        <constructor-arg index="2" type="java.lang.String"><value>emp2Last</value></constructor-arg>
-        <constructor-arg index="3" type="java.lang.String"><value>emp2Middle</value></constructor-arg>
-        <constructor-arg index="4" type="java.util.Date"><value>22/Dec/1975</value></constructor-arg>
-        <constructor-arg index="5" type="org.apache.jdo.tck.pc.company.IAddress"><ref bean="addr2"/></constructor-arg>
-        <constructor-arg index="6" type="java.util.Date"><value>1/Jul/2003</value></constructor-arg>
-        <constructor-arg index="7" type="double"><value>10000</value></constructor-arg>
-        <property name="weeklyhours"><value>40</value></property>
-        <property name="medicalInsurance"><ref bean="medicalIns2"/></property>
-        <property name="dentalInsurance"><ref bean="dentalIns2"/></property>
-        <property name="phoneNumbers">
-	        <map>
-                <entry key="home"><value>2222</value></entry>
-                <entry key="work"><value>123456-2</value></entry>
-            </map>
-	    </property>
-        <property name="department"><ref bean="dept1"/></property>
-        <property name="fundingDept"><ref bean="dept1"/></property>
-        <property name="mentor"><ref bean="emp3"/></property>
-        <property name="protege"><ref bean="emp1"/></property>
-        <property name="hradvisor"><ref bean="emp5"/></property>
-        <property name="projects">
-            <set>
-                <ref bean="proj1"/>
-                <ref bean="proj2"/>
-            </set>
-        </property>
-        <property name="team">
-            <set>
-                <ref bean="emp1"/>
-                <ref bean="emp3"/>
-                <ref bean="emp4"/>
-                <ref bean="emp5"/>
-            </set>
-        </property>
-    </bean>
-    <bean id="emp3" factory-bean="companyFactory" factory-method="newPartTimeEmployee">
-        <constructor-arg index="0" type="long"><value>3</value></constructor-arg>
-        <constructor-arg index="1" type="java.lang.String"><value>emp3First</value></constructor-arg>
-        <constructor-arg index="2" type="java.lang.String"><value>emp3Last</value></constructor-arg>
-        <constructor-arg index="3" type="java.lang.String"><value>emp3Middle</value></constructor-arg>
-        <constructor-arg index="4" type="java.util.Date"><value>5/Sep/1972</value></constructor-arg>
-        <constructor-arg index="5" type="org.apache.jdo.tck.pc.company.IAddress"><ref bean="addr3"/></constructor-arg>
-        <constructor-arg index="6" type="java.util.Date"><value>15/Aug/2002</value></constructor-arg>
-        <constructor-arg index="7" type="double"><value>15</value></constructor-arg>
-        <property name="weeklyhours"><value>19</value></property>
-        <property name="medicalInsurance"><ref bean="medicalIns3"/></property>
-        <property name="dentalInsurance"><ref bean="dentalIns3"/></property>
-        <property name="phoneNumbers">
-	        <map>
-                <entry key="home"><value>3333</value></entry>
-                <entry key="work"><value>123456-3</value></entry>
-            </map>
-	    </property>
-        <property name="department"><ref bean="dept1"/></property>
-        <property name="fundingDept"><ref bean="dept1"/></property>
-        <property name="manager"><ref bean="emp2"/></property>
-        <property name="mentor"><ref bean="emp4"/></property>
-        <property name="protege"><ref bean="emp2"/></property>
-        <property name="hradvisor"><ref bean="emp5"/></property>
-        <property name="projects">
-            <set>
-                <ref bean="proj1"/>
-                <ref bean="proj2"/>
-            </set>
-        </property>
-    </bean>
-    <bean id="emp4" factory-bean="companyFactory" factory-method="newPartTimeEmployee">
-        <constructor-arg index="0" type="long"><value>4</value></constructor-arg>
-        <constructor-arg index="1" type="java.lang.String"><value>emp4First</value></constructor-arg>
-        <constructor-arg index="2" type="java.lang.String"><value>emp4Last</value></constructor-arg>
-        <constructor-arg index="3" type="java.lang.String"><value>emp4Middle</value></constructor-arg>
-        <constructor-arg index="4" type="java.util.Date"><value>6/Sep/1973</value></constructor-arg>
-        <constructor-arg index="5" type="org.apache.jdo.tck.pc.company.IAddress"><ref bean="addr3"/></constructor-arg>
-        <constructor-arg index="6" type="java.util.Date"><value>15/Apr/2001</value></constructor-arg>
-        <constructor-arg index="7" type="double"><value>13</value></constructor-arg>
-        <property name="medicalInsurance"><ref bean="medicalIns4"/></property>
-        <property name="dentalInsurance"><ref bean="dentalIns4"/></property>
-        <property name="phoneNumbers">
-	        <map>
-                <entry key="home"><value>3343</value></entry>
-                <entry key="work"><value>124456-3</value></entry>
-            </map>
-	    </property>
-        <property name="department"><ref bean="dept2"/></property>
-        <property name="fundingDept"><ref bean="dept2"/></property>
-        <property name="manager"><ref bean="emp2"/></property>
-        <property name="mentor"><ref bean="emp5"/></property>
-        <property name="protege"><ref bean="emp3"/></property>
-        <property name="hradvisor"><ref bean="emp5"/></property>
-        <property name="projects">
-            <set>
-                <ref bean="proj3"/>
-            </set>
-        </property>
-        <property name="reviewedProjects">
-            <set>
-                <ref bean="proj2"/>
-            </set>
-        </property>
-    </bean>
-    <bean id="emp5" factory-bean="companyFactory" factory-method="newFullTimeEmployee">
-        <constructor-arg index="0" type="long"><value>5</value></constructor-arg>
-        <constructor-arg index="1" type="java.lang.String"><value>emp5First</value></constructor-arg>
-        <constructor-arg index="2" type="java.lang.String"><value>emp5Last</value></constructor-arg>
-        <constructor-arg index="3" type="java.lang.String"><value>emp5Middle</value></constructor-arg>
-        <constructor-arg index="4" type="java.util.Date"><value>5/Jul/1962</value></constructor-arg>
-        <constructor-arg index="5" type="org.apache.jdo.tck.pc.company.IAddress"><ref bean="addr3"/></constructor-arg>
-        <constructor-arg index="6" type="java.util.Date"><value>15/Aug/1998</value></constructor-arg>
-        <constructor-arg index="7" type="double"><value>45000</value></constructor-arg>
-        <property name="medicalInsurance"><ref bean="medicalIns5"/></property>
-        <property name="dentalInsurance"><ref bean="dentalIns5"/></property>
-        <property name="phoneNumbers">
-	        <map>
-                <entry key="home"><value>3363</value></entry>
-                <entry key="work"><value>126456-3</value></entry>
-            </map>
-	    </property>
-        <property name="department"><ref bean="dept2"/></property>
-        <property name="fundingDept"><ref bean="dept2"/></property>
-        <property name="manager"><ref bean="emp2"/></property>
-        <property name="mentor"><ref bean="emp1"/></property>
-        <property name="protege"><ref bean="emp4"/></property>
-        <property name="projects">
-            <set>
-                <ref bean="proj3"/>
-            </set>
-        </property>
-        <property name="reviewedProjects">
-            <set>
-                <ref bean="proj2"/>
-            </set>
-        </property>
-        <property name="hradvisees">
-            <set>
-                <ref bean="emp1"/>
-                <ref bean="emp2"/>
-                <ref bean="emp3"/>
-                <ref bean="emp4"/>
-            </set>
-        </property>
-    </bean>
-
-    <bean id="addr1" factory-bean="companyFactory" factory-method="newAddress">
-        <constructor-arg index="0" type="long"><value>1</value></constructor-arg>
-        <constructor-arg index="1" type="java.lang.String"><value>Unter den Linden 1</value></constructor-arg>
-        <constructor-arg index="2" type="java.lang.String"><value>Berlin</value></constructor-arg>
-        <constructor-arg index="3" type="java.lang.String"><value>  </value></constructor-arg>
-        <constructor-arg index="4" type="java.lang.String"><value>12345</value></constructor-arg>
-        <constructor-arg index="5" type="java.lang.String"><value>Germany</value></constructor-arg>
-    </bean>
-    <bean id="addr2" factory-bean="companyFactory" factory-method="newAddress">
-        <constructor-arg index="0" type="long"><value>2</value></constructor-arg>
-        <constructor-arg index="1" type="java.lang.String"><value>Broadway 1</value></constructor-arg>
-        <constructor-arg index="2" type="java.lang.String"><value>New York</value></constructor-arg>
-        <constructor-arg index="3" type="java.lang.String"><value>NY</value></constructor-arg>
-        <constructor-arg index="4" type="java.lang.String"><value>10000</value></constructor-arg>
-        <constructor-arg index="5" type="java.lang.String"><value>USA</value></constructor-arg>
-    </bean>
-    <bean id="addr3" factory-bean="companyFactory" factory-method="newAddress">
-        <constructor-arg index="0" type="long"><value>3</value></constructor-arg>
-        <constructor-arg index="1" type="java.lang.String"><value>Market St.</value></constructor-arg>
-        <constructor-arg index="2" type="java.lang.String"><value>San Francisco</value></constructor-arg>
-        <constructor-arg index="3" type="java.lang.String"><value>CA</value></constructor-arg>
-        <constructor-arg index="4" type="java.lang.String"><value>94102</value></constructor-arg>
-        <constructor-arg index="5" type="java.lang.String"><value>USA</value></constructor-arg>
-    </bean>
-
-    <bean id="medicalIns1" factory-bean="companyFactory" factory-method="newMedicalInsurance">
-        <constructor-arg index="0" type="long"><value>1</value></constructor-arg>
-        <constructor-arg index="1" type="java.lang.String"><value>Carrier1</value></constructor-arg>
-        <constructor-arg index="2" type="java.lang.String"><value>PPO</value></constructor-arg>
-        <property name="employee"><ref bean="emp1"/></property>
-    </bean>
-
-    <bean id="medicalIns2" factory-bean="companyFactory" factory-method="newMedicalInsurance">
-        <constructor-arg index="0" type="long"><value>2</value></constructor-arg>
-        <constructor-arg index="1" type="java.lang.String"><value>Carrier2</value></constructor-arg>
-        <constructor-arg index="2" type="java.lang.String"><value>HMO</value></constructor-arg>
-        <property name="employee"><ref bean="emp2"/></property>
-    </bean>
-
-    <bean id="medicalIns3" factory-bean="companyFactory" factory-method="newMedicalInsurance">
-        <constructor-arg index="0" type="long"><value>3</value></constructor-arg>
-        <constructor-arg index="1" type="java.lang.String"><value>Carrier3</value></constructor-arg>
-        <constructor-arg index="2" type="java.lang.String"><value>HMO</value></constructor-arg>
-        <property name="employee"><ref bean="emp3"/></property>
-    </bean>
-
-    <bean id="medicalIns4" factory-bean="companyFactory" factory-method="newMedicalInsurance">
-        <constructor-arg index="0" type="long"><value>4</value></constructor-arg>
-        <constructor-arg index="1" type="java.lang.String"><value>Carrier4</value></constructor-arg>
-        <constructor-arg index="2" type="java.lang.String"><value>HMO</value></constructor-arg>
-        <property name="employee"><ref bean="emp4"/></property>
-    </bean>
-
-    <bean id="medicalIns5" factory-bean="companyFactory" factory-method="newMedicalInsurance">
-        <constructor-arg index="0" type="long"><value>5</value></constructor-arg>
-        <constructor-arg index="1" type="java.lang.String"><value>Carrier5</value></constructor-arg>
-        <constructor-arg index="2" type="java.lang.String"><value>HMO</value></constructor-arg>
-        <property name="employee"><ref bean="emp5"/></property>
-    </bean>
-
-    <bean id="dentalIns1" factory-bean="companyFactory" factory-method="newDentalInsurance">
-        <constructor-arg index="0" type="long"><value>11</value></constructor-arg>
-        <constructor-arg index="1" type="java.lang.String"><value>Carrier1</value></constructor-arg>
-        <constructor-arg index="2" type="java.math.BigDecimal"><value>99.999</value></constructor-arg>
-        <property name="employee"><ref bean="emp1"/></property>
-    </bean>
-
-    <bean id="dentalIns2" factory-bean="companyFactory" factory-method="newDentalInsurance">
-        <constructor-arg index="0" type="long"><value>12</value></constructor-arg>
-        <constructor-arg index="1" type="java.lang.String"><value>Carrier2</value></constructor-arg>
-        <constructor-arg index="2" type="java.math.BigDecimal"><value>99.999</value></constructor-arg>
-        <property name="employee"><ref bean="emp2"/></property>
-    </bean>
-
-    <bean id="dentalIns3" factory-bean="companyFactory" factory-method="newDentalInsurance">
-        <constructor-arg index="0" type="long"><value>13</value></constructor-arg>
-        <constructor-arg index="1" type="java.lang.String"><value>Carrier3</value></constructor-arg>
-        <constructor-arg index="2" type="java.math.BigDecimal"><value>99.999</value></constructor-arg>
-        <property name="employee"><ref bean="emp3"/></property>
-    </bean>
-
-    <bean id="dentalIns4" factory-bean="companyFactory" factory-method="newDentalInsurance">
-        <constructor-arg index="0" type="long"><value>14</value></constructor-arg>
-        <constructor-arg index="1" type="java.lang.String"><value>Carrier4</value></constructor-arg>
-        <constructor-arg index="2" type="java.math.BigDecimal"><value>99.999</value></constructor-arg>
-        <property name="employee"><ref bean="emp4"/></property>
-    </bean>
-
-    <bean id="dentalIns5" factory-bean="companyFactory" factory-method="newDentalInsurance">
-        <constructor-arg index="0" type="long"><value>15</value></constructor-arg>
-        <constructor-arg index="1" type="java.lang.String"><value>Carrier5</value></constructor-arg>
-        <constructor-arg index="2" type="java.math.BigDecimal"><value>99.999</value></constructor-arg>
-        <property name="employee"><ref bean="emp5"/></property>
-    </bean>
-
-    <bean id="proj1" factory-bean="companyFactory" factory-method="newProject">
-        <constructor-arg index="0" type="long"><value>1</value></constructor-arg>
-        <constructor-arg index="1" type="java.lang.String"><value>orange</value></constructor-arg>
-        <constructor-arg index="2" type="java.math.BigDecimal"><value>2500000.99</value></constructor-arg>
-        <property name="members">
-            <set>
-                <ref bean="emp1"/>
-                <ref bean="emp2"/>
-                <ref bean="emp3"/>
-            </set>
-        </property>
-    </bean>
-    <bean id="proj2" factory-bean="companyFactory" factory-method="newProject">
-        <constructor-arg index="0" type="long"><value>2</value></constructor-arg>
-        <constructor-arg index="1" type="java.lang.String"><value>blue</value></constructor-arg>
-        <constructor-arg index="2" type="java.math.BigDecimal"><value>50000.00</value></constructor-arg>
-        <property name="reviewers">
-            <set>
-                <ref bean="emp4"/>
-                <ref bean="emp5"/>
-            </set>
-        </property>
-        <property name="members">
-            <set>
-                <ref bean="emp2"/>
-                <ref bean="emp3"/>
-            </set>
-        </property>
-    </bean>
-    <bean id="proj3" factory-bean="companyFactory" factory-method="newProject">
-        <constructor-arg index="0" type="long"><value>3</value></constructor-arg>
-        <constructor-arg index="1" type="java.lang.String"><value>green</value></constructor-arg>
-        <constructor-arg index="2" type="java.math.BigDecimal"><value>2000.99</value></constructor-arg>
-        <property name="reviewers">
-            <set>
-                <ref bean="emp1"/>
-            </set>
-        </property>
-        <property name="members">
-            <set>
-                <ref bean="emp4"/>
-                <ref bean="emp5"/>
-            </set>
-        </property>
-    </bean>
-</beans>
-
diff --git a/tck/src/main/resources/testdata/org/apache/jdo/tck/pc/company/companyEmbedded.xml b/tck/src/main/resources/testdata/org/apache/jdo/tck/pc/company/companyEmbedded.xml
deleted file mode 100644
index 41c3eab6..00000000
--- a/tck/src/main/resources/testdata/org/apache/jdo/tck/pc/company/companyEmbedded.xml
+++ /dev/null
@@ -1,212 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<!--
-  Licensed to the Apache Software Foundation (ASF) under one or more
-  contributor license agreements.  See the NOTICE file distributed with
-  this work for additional information regarding copyright ownership.
-  The ASF licenses this file to You under the Apache License, Version 2.0
-  (the "License"); you may not use this file except in compliance with
-  the License.  You may obtain a copy of the License at
-
-      https://www.apache.org/licenses/LICENSE-2.0
-
-  Unless required by applicable law or agreed to in writing, software
-  distributed under the License is distributed on an "AS IS" BASIS,
-  WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-  See the License for the specific language governing permissions and
-  limitations under the License.
--->
-<beans xmlns="http://www.springframework.org/schema/beans"
-    xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
-    xsi:schemaLocation="
-        http://www.springframework.org/schema/beans http://www.springframework.org/schema/beans/spring-beans.xsd">
-
-    <description>Company instances for CompletenessTest with embedded relationships</description>
-
-    <bean id="root" class="java.util.ArrayList">
-        <constructor-arg index="0">
-            <list>
-                <ref bean="company1"/>
-                <ref bean="dept1"/>
-                <ref bean="dept2"/>
-                <ref bean="emp1"/>
-                <ref bean="emp2"/>
-                <ref bean="emp3"/>
-                <ref bean="emp4"/>
-                <ref bean="emp5"/>
-                <ref bean="medicalIns1"/>
-                <ref bean="medicalIns2"/>
-                <ref bean="medicalIns3"/>
-                <ref bean="dentalIns1"/>
-                <ref bean="proj1"/>
-                <ref bean="proj2"/>
-                <ref bean="proj3"/>
-            </list>
-        </constructor-arg>
-    </bean>
-
-    <bean id="company1" factory-bean="companyFactory" factory-method="newCompany">
-        <constructor-arg index="0" type="long"><value>1</value></constructor-arg>
-        <constructor-arg index="1" type="java.lang.String"><value>Sun Microsystems, Inc.</value></constructor-arg>
-        <constructor-arg index="2" type="java.util.Date"><value>11/Apr/1952</value></constructor-arg>
-        <constructor-arg index="3" type="org.apache.jdo.tck.pc.company.IAddress"><ref bean="addr1"/></constructor-arg>
-    </bean>
-
-    <bean id="dept1" factory-bean="companyFactory" factory-method="newDepartment">
-        <constructor-arg index="0" type="long"><value>1</value></constructor-arg>
-        <constructor-arg index="1" type="java.lang.String" ><value>Development</value></constructor-arg>
-    </bean>
-
-    <bean id="dept2" factory-bean="companyFactory" factory-method="newDepartment">
-        <constructor-arg index="0" type="long"><value>2</value></constructor-arg>
-        <constructor-arg index="1" type="java.lang.String" ><value>Human Resources</value></constructor-arg>
-    </bean>
-
-    <bean id="emp1" factory-bean="companyFactory" factory-method="newFullTimeEmployee">
-        <constructor-arg index="0" type="long"><value>1</value></constructor-arg>
-        <constructor-arg index="1" type="java.lang.String"><value>emp1First</value></constructor-arg>
-        <constructor-arg index="2" type="java.lang.String"><value>emp1Last</value></constructor-arg>
-        <constructor-arg index="3" type="java.lang.String"><value>emp1Middle</value></constructor-arg>
-        <constructor-arg index="4" type="java.util.Date"><value>10/Jun/1970</value></constructor-arg>
-        <constructor-arg index="5" type="org.apache.jdo.tck.pc.company.IAddress"><ref bean="addr1"/></constructor-arg>
-        <constructor-arg index="6" type="java.util.Date"><value>1/Jan/1999</value></constructor-arg>
-        <constructor-arg index="7" type="double"><value>20000</value></constructor-arg>
-        <property name="weeklyhours"><value>40</value></property>
-        <property name="phoneNumbers">
-	        <map>
-                <entry key="home"><value>1111</value></entry>
-                <entry key="work"><value>123456-1</value></entry>
-            </map>
-	    </property>
-    </bean>
-    <bean id="emp2" factory-bean="companyFactory" factory-method="newFullTimeEmployee">
-        <constructor-arg index="0" type="long"><value>2</value></constructor-arg>
-        <constructor-arg index="1" type="java.lang.String"><value>emp2First</value></constructor-arg>
-        <constructor-arg index="2" type="java.lang.String"><value>emp2Last</value></constructor-arg>
-        <constructor-arg index="3" type="java.lang.String"><value>emp2Middle</value></constructor-arg>
-        <constructor-arg index="4" type="java.util.Date"><value>22/Dec/1975</value></constructor-arg>
-        <constructor-arg index="5" type="org.apache.jdo.tck.pc.company.IAddress"><ref bean="addr2"/></constructor-arg>
-        <constructor-arg index="6" type="java.util.Date"><value>1/Jul/2003</value></constructor-arg>
-        <constructor-arg index="7" type="double"><value>10000</value></constructor-arg>
-        <property name="weeklyhours"><value>40</value></property>
-        <property name="phoneNumbers">
-	        <map>
-                <entry key="home"><value>2222</value></entry>
-                <entry key="work"><value>123456-2</value></entry>
-            </map>
-	    </property>
-    </bean>
-    <bean id="emp3" factory-bean="companyFactory" factory-method="newPartTimeEmployee">
-        <constructor-arg index="0" type="long"><value>3</value></constructor-arg>
-        <constructor-arg index="1" type="java.lang.String"><value>emp3First</value></constructor-arg>
-        <constructor-arg index="2" type="java.lang.String"><value>emp3Last</value></constructor-arg>
-        <constructor-arg index="3" type="java.lang.String"><value>emp3Middle</value></constructor-arg>
-        <constructor-arg index="4" type="java.util.Date"><value>5/Sep/1972</value></constructor-arg>
-        <constructor-arg index="5" type="org.apache.jdo.tck.pc.company.IAddress"><ref bean="addr3"/></constructor-arg>
-        <constructor-arg index="6" type="java.util.Date"><value>15/Aug/2002</value></constructor-arg>
-        <constructor-arg index="7" type="double"><value>15</value></constructor-arg>
-        <property name="weeklyhours"><value>19</value></property>
-        <property name="phoneNumbers">
-	        <map>
-                <entry key="home"><value>3333</value></entry>
-                <entry key="work"><value>123456-3</value></entry>
-            </map>
-	    </property>
-    </bean>
-    <bean id="emp4" factory-bean="companyFactory" factory-method="newPartTimeEmployee">
-        <constructor-arg index="0" type="long"><value>4</value></constructor-arg>
-        <constructor-arg index="1" type="java.lang.String"><value>emp4First</value></constructor-arg>
-        <constructor-arg index="2" type="java.lang.String"><value>emp4Last</value></constructor-arg>
-        <constructor-arg index="3" type="java.lang.String"><value>emp4Middle</value></constructor-arg>
-        <constructor-arg index="4" type="java.util.Date"><value>6/Sep/1973</value></constructor-arg>
-        <constructor-arg index="5" type="org.apache.jdo.tck.pc.company.IAddress"><ref bean="addr3"/></constructor-arg>
-        <constructor-arg index="6" type="java.util.Date"><value>15/Apr/2001</value></constructor-arg>
-        <constructor-arg index="7" type="double"><value>13</value></constructor-arg>
-        <property name="phoneNumbers">
-	        <map>
-                <entry key="home"><value>3343</value></entry>
-                <entry key="work"><value>124456-3</value></entry>
-            </map>
-	    </property>
-    </bean>
-    <bean id="emp5" factory-bean="companyFactory" factory-method="newFullTimeEmployee">
-        <constructor-arg index="0" type="long"><value>5</value></constructor-arg>
-        <constructor-arg index="1" type="java.lang.String"><value>emp5First</value></constructor-arg>
-        <constructor-arg index="2" type="java.lang.String"><value>emp5Last</value></constructor-arg>
-        <constructor-arg index="3" type="java.lang.String"><value>emp5Middle</value></constructor-arg>
-        <constructor-arg index="4" type="java.util.Date"><value>5/Jul/1962</value></constructor-arg>
-        <constructor-arg index="5" type="org.apache.jdo.tck.pc.company.IAddress"><ref bean="addr3"/></constructor-arg>
-        <constructor-arg index="6" type="java.util.Date"><value>15/Aug/1998</value></constructor-arg>
-        <constructor-arg index="7" type="double"><value>45000</value></constructor-arg>
-        <property name="phoneNumbers">
-	        <map>
-                <entry key="home"><value>3363</value></entry>
-                <entry key="work"><value>126456-3</value></entry>
-            </map>
-	    </property>
-    </bean>
-
-    <bean id="addr1" factory-bean="companyFactory" factory-method="newAddress">
-        <constructor-arg index="0" type="long"><value>1</value></constructor-arg>
-        <constructor-arg index="1" type="java.lang.String"><value>Unter den Linden 1</value></constructor-arg>
-        <constructor-arg index="2" type="java.lang.String"><value>Berlin</value></constructor-arg>
-        <constructor-arg index="3" type="java.lang.String"><value>  </value></constructor-arg>
-        <constructor-arg index="4" type="java.lang.String"><value>12345</value></constructor-arg>
-        <constructor-arg index="5" type="java.lang.String"><value>Germany</value></constructor-arg>
-    </bean>
-    <bean id="addr2" factory-bean="companyFactory" factory-method="newAddress">
-        <constructor-arg index="0" type="long"><value>2</value></constructor-arg>
-        <constructor-arg index="1" type="java.lang.String"><value>Broadway 1</value></constructor-arg>
-        <constructor-arg index="2" type="java.lang.String"><value>New York</value></constructor-arg>
-        <constructor-arg index="3" type="java.lang.String"><value>NY</value></constructor-arg>
-        <constructor-arg index="4" type="java.lang.String"><value>10000</value></constructor-arg>
-        <constructor-arg index="5" type="java.lang.String"><value>USA</value></constructor-arg>
-    </bean>
-    <bean id="addr3" factory-bean="companyFactory" factory-method="newAddress">
-        <constructor-arg index="0" type="long"><value>3</value></constructor-arg>
-        <constructor-arg index="1" type="java.lang.String"><value>Market St.</value></constructor-arg>
-        <constructor-arg index="2" type="java.lang.String"><value>San Francisco</value></constructor-arg>
-        <constructor-arg index="3" type="java.lang.String"><value>CA</value></constructor-arg>
-        <constructor-arg index="4" type="java.lang.String"><value>94102</value></constructor-arg>
-        <constructor-arg index="5" type="java.lang.String"><value>USA</value></constructor-arg>
-    </bean>
-
-    <bean id="medicalIns1" factory-bean="companyFactory" factory-method="newMedicalInsurance">
-        <constructor-arg index="0" type="long"><value>1</value></constructor-arg>
-        <constructor-arg index="1" type="java.lang.String"><value>Carrier1</value></constructor-arg>
-        <constructor-arg index="2" type="java.lang.String"><value>PPO</value></constructor-arg>
-    </bean>
-
-    <bean id="medicalIns2" factory-bean="companyFactory" factory-method="newMedicalInsurance">
-        <constructor-arg index="0" type="long"><value>2</value></constructor-arg>
-        <constructor-arg index="1" type="java.lang.String"><value>Carrier2</value></constructor-arg>
-        <constructor-arg index="2" type="java.lang.String"><value>HMO</value></constructor-arg>
-    </bean>
-
-    <bean id="medicalIns3" factory-bean="companyFactory" factory-method="newMedicalInsurance">
-        <constructor-arg index="0" type="long"><value>3</value></constructor-arg>
-        <constructor-arg index="1" type="java.lang.String"><value>Carrier2</value></constructor-arg>
-        <constructor-arg index="2" type="java.lang.String"><value>HMO</value></constructor-arg>
-    </bean>
-
-    <bean id="dentalIns1" factory-bean="companyFactory" factory-method="newDentalInsurance">
-        <constructor-arg index="0" type="long"><value>4</value></constructor-arg>
-        <constructor-arg index="1" type="java.lang.String"><value>Carrier2</value></constructor-arg>
-        <constructor-arg index="2" type="java.math.BigDecimal"><value>99.999</value></constructor-arg>
-    </bean>
-
-    <bean id="proj1" factory-bean="companyFactory" factory-method="newProject">
-        <constructor-arg index="0" type="long"><value>1</value></constructor-arg>
-        <constructor-arg index="1" type="java.lang.String"><value>orange</value></constructor-arg>
-        <constructor-arg index="2" type="java.math.BigDecimal"><value>2500000.99</value></constructor-arg>
-    </bean>
-    <bean id="proj2" factory-bean="companyFactory" factory-method="newProject">
-        <constructor-arg index="0" type="long"><value>2</value></constructor-arg>
-        <constructor-arg index="1" type="java.lang.String"><value>blue</value></constructor-arg>
-        <constructor-arg index="2" type="java.math.BigDecimal"><value>50000.00</value></constructor-arg>
-    </bean>
-    <bean id="proj3" factory-bean="companyFactory" factory-method="newProject">
-        <constructor-arg index="0" type="long"><value>3</value></constructor-arg>
-        <constructor-arg index="1" type="java.lang.String"><value>green</value></constructor-arg>
-        <constructor-arg index="2" type="java.math.BigDecimal"><value>2000.99</value></constructor-arg>
-    </bean>
-</beans>
diff --git a/tck/src/main/resources/testdata/org/apache/jdo/tck/pc/company/companyForNavigationTests.xml b/tck/src/main/resources/testdata/org/apache/jdo/tck/pc/company/companyForNavigationTests.xml
deleted file mode 100644
index 13a5b7b8..00000000
--- a/tck/src/main/resources/testdata/org/apache/jdo/tck/pc/company/companyForNavigationTests.xml
+++ /dev/null
@@ -1,562 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<!--
-  Licensed to the Apache Software Foundation (ASF) under one or more
-  contributor license agreements.  See the NOTICE file distributed with
-  this work for additional information regarding copyright ownership.
-  The ASF licenses this file to You under the Apache License, Version 2.0
-  (the "License"); you may not use this file except in compliance with
-  the License.  You may obtain a copy of the License at
-
-      https://www.apache.org/licenses/LICENSE-2.0
-
-  Unless required by applicable law or agreed to in writing, software
-  distributed under the License is distributed on an "AS IS" BASIS,
-  WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-  See the License for the specific language governing permissions and
-  limitations under the License.
--->
-<beans xmlns="http://www.springframework.org/schema/beans"
-    xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
-    xsi:schemaLocation="
-        http://www.springframework.org/schema/beans http://www.springframework.org/schema/beans/spring-beans.xsd">
-
-    <description>Company instances for navigation query testing</description>
-
-    <bean id="root" class="java.util.ArrayList">
-        <constructor-arg index="0">
-            <list>
-                <ref bean="company1"/>
-                <ref bean="medicalIns98"/>
-                <ref bean="dentalIns99"/>
-            </list>
-        </constructor-arg>
-    </bean>
-
-    <bean id="company1" factory-bean="companyFactory" factory-method="newCompany">
-        <constructor-arg index="0" type="long"><value>1</value></constructor-arg>
-        <constructor-arg index="1" type="java.lang.String"><value>Sun Microsystems, Inc.</value></constructor-arg>
-        <constructor-arg index="2" type="java.util.Date"><value>11/Apr/1952</value></constructor-arg>
-        <constructor-arg index="3" type="org.apache.jdo.tck.pc.company.IAddress"><ref bean="addr1"/></constructor-arg>
-        <property name="departments">
-            <set>
-                <ref bean="dept1"/>
-                <ref bean="dept2"/>
-            </set>
-        </property>
-    </bean>
-
-    <bean id="room1" factory-bean="companyFactory" factory-method="newMeetingRoom">
-        <constructor-arg index="0" type="long"><value>1</value></constructor-arg>
-        <constructor-arg index="1" type="java.lang.String"><value>Comfy Room</value></constructor-arg>
-    </bean>
-    <bean id="room2" factory-bean="companyFactory" factory-method="newMeetingRoom">
-        <constructor-arg index="0" type="long"><value>2</value></constructor-arg>
-        <constructor-arg index="1" type="java.lang.String"><value>Large Discussion Room</value></constructor-arg>
-    </bean>
-    <bean id="room3" factory-bean="companyFactory" factory-method="newMeetingRoom">
-        <constructor-arg index="0" type="long"><value>3</value></constructor-arg>
-        <constructor-arg index="1" type="java.lang.String"><value>Conference Room</value></constructor-arg>
-    </bean>
-
-    <bean id="dept1" factory-bean="companyFactory" factory-method="newDepartment">
-        <constructor-arg index="0" type="long"><value>1</value></constructor-arg>
-        <constructor-arg index="1" type="java.lang.String" ><value>Development</value></constructor-arg>
-        <property name="company"><ref bean="company1"/></property>
-        <property name="employees">
-            <set>
-                <ref bean="emp1"/>
-                <ref bean="emp2"/>
-                <ref bean="emp3"/>
-                <ref bean="emp4"/>
-                <ref bean="emp5"/>
-                <ref bean="emp6"/>
-            </set>
-        </property>
-    </bean>
-
-    <bean id="dept2" factory-bean="companyFactory" factory-method="newDepartment">
-        <constructor-arg index="0" type="long"><value>2</value></constructor-arg>
-        <constructor-arg index="1" type="java.lang.String" ><value>Human Resources</value></constructor-arg>
-        <property name="company"><ref bean="company1"/></property>
-        <property name="employees">
-            <set>
-                <ref bean="emp7"/>
-                <ref bean="emp8"/>
-                <ref bean="emp9"/>
-                <ref bean="emp10"/>
-            </set>
-        </property>
-    </bean>
-
-    <bean id="emp0" factory-bean="companyFactory" factory-method="newFullTimeEmployee">
-        <constructor-arg index="0" type="long"><value>0</value></constructor-arg>
-        <constructor-arg index="1" type="java.lang.String"><value>emp0First</value></constructor-arg>
-        <constructor-arg index="2" type="java.lang.String"><value>emp0Last</value></constructor-arg>
-        <constructor-arg index="3" type="java.lang.String"><value>emp0Middle</value></constructor-arg>
-        <constructor-arg index="4" type="java.util.Date"><value>10/Jul/1962</value></constructor-arg>
-        <constructor-arg index="5" type="org.apache.jdo.tck.pc.company.IAddress"><ref bean="addr1"/></constructor-arg>
-        <constructor-arg index="6" type="java.util.Date"><value>1/Jan/1997</value></constructor-arg>
-        <constructor-arg index="7" type="double"><value>50000</value></constructor-arg>
-        <property name="weeklyhours"><value>40</value></property>
-        <property name="medicalInsurance"><null/></property>
-        <property name="dentalInsurance"><null/></property>
-        <property name="phoneNumbers">
-	        <map>
-                <entry key="home"><value>3232</value></entry>
-                <entry key="work"><value>223311-1</value></entry>
-            </map>
-	</property>
-        <property name="department"><ref bean="dept1"/></property>
-        <property name="fundingDept"><ref bean="dept2"/></property>
-        <property name="manager"><null/></property>
-        <property name="team">
-            <set>
-                <ref bean="emp1"/>
-            </set>
-        </property>
-        <property name="mentor"><null/></property>
-        <property name="protege"><null/></property>
-        <property name="hradvisor"><ref bean="emp5"/></property>
-        <property name="reviewedProjects">
-            <set>
-                <ref bean="proj3"/>
-            </set>
-        </property>
-        <property name="projects">
-            <set>
-                <ref bean="proj1"/>
-            </set>
-        </property>
-    </bean>
-
-    <bean id="emp1" factory-bean="companyFactory" factory-method="newFullTimeEmployee">
-        <constructor-arg index="0" type="long"><value>1</value></constructor-arg>
-        <constructor-arg index="1" type="java.lang.String"><value>emp1First</value></constructor-arg>
-        <constructor-arg index="2" type="java.lang.String"><value>emp1Last</value></constructor-arg>
-        <constructor-arg index="3" type="java.lang.String"><value>emp1Middle</value></constructor-arg>
-        <constructor-arg index="4" type="java.util.Date"><value>10/Jun/1970</value></constructor-arg>
-        <constructor-arg index="5" type="org.apache.jdo.tck.pc.company.IAddress"><ref bean="addr1"/></constructor-arg>
-        <constructor-arg index="6" type="java.util.Date"><value>1/Jan/1999</value></constructor-arg>
-        <constructor-arg index="7" type="double"><value>20000</value></constructor-arg>
-        <property name="weeklyhours"><value>40</value></property>
-        <property name="medicalInsurance"><ref bean="medicalIns1"/></property>
-        <property name="dentalInsurance"><ref bean="dentalIns1"/></property>
-        <property name="phoneNumbers">
-	        <map>
-                <entry key="home"><value>1111</value></entry>
-                <entry key="work"><value>123456-1</value></entry>
-            </map>
-	</property>
-        <property name="department"><ref bean="dept1"/></property>
-        <property name="fundingDept"><ref bean="dept2"/></property>
-        <property name="manager"><ref bean="emp0"/></property>
-        <property name="team">
-            <set>
-                <ref bean="emp2"/>
-                <ref bean="emp3"/>
-                <ref bean="emp10"/>
-            </set>
-        </property>
-        <property name="mentor"><ref bean="emp2"/></property>
-        <property name="protege"><ref bean="emp5"/></property>
-        <property name="hradvisor"><ref bean="emp5"/></property>
-        <property name="reviewedProjects">
-            <set>
-                <ref bean="proj3"/>
-            </set>
-        </property>
-        <property name="projects">
-            <set>
-                <ref bean="proj1"/>
-            </set>
-        </property>
-    </bean>
-    
-    <bean id="emp2" factory-bean="companyFactory" factory-method="newFullTimeEmployee">
-        <constructor-arg index="0" type="long"><value>2</value></constructor-arg>
-        <constructor-arg index="1" type="java.lang.String"><value>emp2First</value></constructor-arg>
-        <constructor-arg index="2" type="java.lang.String"><value>emp2Last</value></constructor-arg>
-        <constructor-arg index="3" type="java.lang.String"><value>emp2Middle</value></constructor-arg>
-        <constructor-arg index="4" type="java.util.Date"><value>22/Dec/1975</value></constructor-arg>
-        <constructor-arg index="5" type="org.apache.jdo.tck.pc.company.IAddress"><ref bean="addr2"/></constructor-arg>
-        <constructor-arg index="6" type="java.util.Date"><value>1/Jul/2003</value></constructor-arg>
-        <constructor-arg index="7" type="double"><value>10000</value></constructor-arg>
-        <property name="weeklyhours"><value>40</value></property>
-        <property name="medicalInsurance"><ref bean="medicalIns2"/></property>
-        <property name="dentalInsurance"><ref bean="dentalIns2"/></property>
-        <property name="phoneNumbers">
-	        <map>
-                <entry key="home"><value>2222</value></entry>
-                <entry key="work"><value>123456-2</value></entry>
-            </map>
-        </property>
-        <property name="department"><ref bean="dept1"/></property>
-        <property name="fundingDept"><ref bean="dept1"/></property>
-        <property name="manager"><ref bean="emp1"/></property>
-        <property name="team"><set/></property>
-        <property name="mentor"><ref bean="emp3"/></property>
-        <property name="protege"><ref bean="emp1"/></property>
-        <property name="hradvisor"><ref bean="emp5"/></property>
-        <property name="projects">
-            <set>
-                <ref bean="proj1"/>
-                <ref bean="proj2"/>
-            </set>
-        </property>
-    </bean>
-    
-    <bean id="emp3" factory-bean="companyFactory" factory-method="newPartTimeEmployee">
-        <constructor-arg index="0" type="long"><value>3</value></constructor-arg>
-        <constructor-arg index="1" type="java.lang.String"><value>emp3First</value></constructor-arg>
-        <constructor-arg index="2" type="java.lang.String"><value>emp3Last</value></constructor-arg>
-        <constructor-arg index="3" type="java.lang.String"><value>emp3Middle</value></constructor-arg>
-        <constructor-arg index="4" type="java.util.Date"><value>5/Sep/1972</value></constructor-arg>
-        <constructor-arg index="5" type="org.apache.jdo.tck.pc.company.IAddress"><ref bean="addr3"/></constructor-arg>
-        <constructor-arg index="6" type="java.util.Date"><value>15/Aug/2002</value></constructor-arg>
-        <constructor-arg index="7" type="double"><value>15</value></constructor-arg>
-        <property name="weeklyhours"><value>19</value></property>
-        <property name="medicalInsurance"><ref bean="medicalIns3"/></property>
-        <property name="dentalInsurance"><ref bean="dentalIns3"/></property>
-        <property name="phoneNumbers">
-	        <map>
-                <entry key="home"><value>3333</value></entry>
-                <entry key="work"><value>123456-3</value></entry>
-            </map>
-	</property>
-        <property name="department"><ref bean="dept1"/></property>
-        <property name="fundingDept"><ref bean="dept1"/></property>
-        <property name="manager"><ref bean="emp1"/></property>
-        <property name="team"><set/></property>
-	<property name="mentor"><ref bean="emp4"/></property>
-        <property name="protege"><ref bean="emp2"/></property>
-        <property name="hradvisor"><ref bean="emp5"/></property>
-        <property name="projects">
-            <set>
-                <ref bean="proj1"/>
-                <ref bean="proj2"/>
-            </set>
-        </property>
-    </bean>
-
-    <bean id="emp4" factory-bean="companyFactory" factory-method="newFullTimeEmployee">
-        <constructor-arg index="0" type="long"><value>4</value></constructor-arg>
-        <constructor-arg index="1" type="java.lang.String"><value>emp4First</value></constructor-arg>
-        <constructor-arg index="2" type="java.lang.String"><value>emp4Last</value></constructor-arg>
-        <constructor-arg index="3" type="java.lang.String"><value>emp4Middle</value></constructor-arg>
-        <constructor-arg index="4" type="java.util.Date"><value>6/Sep/1973</value></constructor-arg>
-        <constructor-arg index="5" type="org.apache.jdo.tck.pc.company.IAddress"><ref bean="addr2"/></constructor-arg>
-        <constructor-arg index="6" type="java.util.Date"><value>15/Apr/2001</value></constructor-arg>
-        <constructor-arg index="7" type="double"><value>25000</value></constructor-arg>
-        <property name="weeklyhours"><value>40</value></property>
-        <property name="medicalInsurance"><ref bean="medicalIns4"/></property>
-        <property name="dentalInsurance"><ref bean="dentalIns4"/></property>
-        <property name="phoneNumbers">
-	        <map>
-                <entry key="home"><value>3343</value></entry>
-                <entry key="work"><value>124456-3</value></entry>
-            </map>
-        </property>
-        <property name="department"><ref bean="dept1"/></property>
-        <property name="fundingDept"><ref bean="dept2"/></property>
-        <property name="manager"><null/></property>
-        <property name="team">
-            <set>
-                <ref bean="emp5"/>
-                <ref bean="emp6"/>
-            </set>
-        </property>
-        <property name="mentor"><ref bean="emp5"/></property>
-        <property name="protege"><ref bean="emp3"/></property>
-        <property name="hradvisor"><ref bean="emp5"/></property>
-        <property name="projects">
-            <set>
-                <ref bean="proj3"/>
-            </set>
-        </property>
-        <property name="reviewedProjects">
-            <set>
-                <ref bean="proj2"/>
-            </set>
-        </property>
-    </bean>
-
-    <bean id="emp5" factory-bean="companyFactory" factory-method="newPartTimeEmployee">
-        <constructor-arg index="0" type="long"><value>5</value></constructor-arg>
-        <constructor-arg index="1" type="java.lang.String"><value>emp5First</value></constructor-arg>
-        <constructor-arg index="2" type="java.lang.String"><value>emp5Last</value></constructor-arg>
-        <constructor-arg index="3" type="java.lang.String"><value>emp5Middle</value></constructor-arg>
-        <constructor-arg index="4" type="java.util.Date"><value>5/Jul/1962</value></constructor-arg>
-        <constructor-arg index="5" type="org.apache.jdo.tck.pc.company.IAddress"><ref bean="addr2"/></constructor-arg>
-        <constructor-arg index="6" type="java.util.Date"><value>1/Nov/2002</value></constructor-arg>
-        <constructor-arg index="7" type="double"><value>18000</value></constructor-arg>
-        <property name="weeklyhours"><value>35</value></property>
-        <property name="medicalInsurance"><ref bean="medicalIns5"/></property>
-        <property name="dentalInsurance"><ref bean="dentalIns5"/></property>
-        <property name="phoneNumbers">
-	        <map>
-                <entry key="home"><value>3363</value></entry>
-                <entry key="work"><value>126456-3</value></entry>
-            </map>
-        </property>
-        <property name="department"><ref bean="dept1"/></property>
-        <property name="fundingDept"><ref bean="dept2"/></property>
-        <property name="manager"><ref bean="emp4"/></property>
-        <property name="team"><set/></property>
-       <property name="mentor"><ref bean="emp1"/></property>
-        <property name="protege"><ref bean="emp4"/></property>
-        <property name="projects">
-            <set>
-                <ref bean="proj3"/>
-            </set>
-        </property>
-        <property name="reviewedProjects">
-            <set>
-                <ref bean="proj2"/>
-            </set>
-        </property>
-        <property name="hradvisees">
-            <set>
-                <ref bean="emp1"/>
-                <ref bean="emp2"/>
-                <ref bean="emp3"/>
-                <ref bean="emp4"/>
-            </set>
-        </property>
-    </bean>
-
-    <bean id="emp6" factory-bean="companyFactory" factory-method="newFullTimeEmployee">
-        <constructor-arg index="0" type="long"><value>6</value></constructor-arg>
-        <constructor-arg index="1" type="java.lang.String"><value>emp6First</value></constructor-arg>
-        <constructor-arg index="2" type="java.lang.String"><value>emp6Last</value></constructor-arg>
-        <constructor-arg index="3" type="java.lang.String"><value>emp6Middle</value></constructor-arg>
-        <constructor-arg index="4" type="java.util.Date"><value>10/Jun/1969</value></constructor-arg>
-        <constructor-arg index="5" type="org.apache.jdo.tck.pc.company.IAddress"><ref bean="addr3"/></constructor-arg>
-        <constructor-arg index="6" type="java.util.Date"><value>1/Jun/2002</value></constructor-arg>
-        <constructor-arg index="7" type="double"><value>22000</value></constructor-arg>
-        <property name="weeklyhours"><value>40</value></property>
-        <property name="department"><ref bean="dept1"/></property>
-        <property name="manager"><ref bean="emp4"/></property>
-        <property name="team"><set/></property>
-    </bean>
-
-    <bean id="emp7" factory-bean="companyFactory" factory-method="newFullTimeEmployee">
-        <constructor-arg index="0" type="long"><value>7</value></constructor-arg>
-        <constructor-arg index="1" type="java.lang.String"><value>emp7First</value></constructor-arg>
-        <constructor-arg index="2" type="java.lang.String"><value>emp7Last</value></constructor-arg>
-        <constructor-arg index="3" type="java.lang.String"><value>emp7Middle</value></constructor-arg>
-        <constructor-arg index="4" type="java.util.Date"><value>10/Jun/1970</value></constructor-arg>
-        <constructor-arg index="5" type="org.apache.jdo.tck.pc.company.IAddress"><ref bean="addr1"/></constructor-arg>
-        <constructor-arg index="6" type="java.util.Date"><value>1/Jan/2000</value></constructor-arg>
-        <constructor-arg index="7" type="double"><value>40000</value></constructor-arg>
-        <property name="weeklyhours"><value>40</value></property>
-        <property name="department"><ref bean="dept2"/></property>
-        <property name="manager"><null/></property>
-        <property name="team">
-            <set>
-                <ref bean="emp8"/>
-                <ref bean="emp9"/>
-            </set>
-        </property>
-    </bean>
-
-    <bean id="emp8" factory-bean="companyFactory" factory-method="newPartTimeEmployee">
-        <constructor-arg index="0" type="long"><value>8</value></constructor-arg>
-        <constructor-arg index="1" type="java.lang.String"><value>emp8First</value></constructor-arg>
-        <constructor-arg index="2" type="java.lang.String"><value>emp8Last</value></constructor-arg>
-        <constructor-arg index="3" type="java.lang.String"><value>emp8Middle</value></constructor-arg>
-        <constructor-arg index="4" type="java.util.Date"><value>22/Dec/1975</value></constructor-arg>
-        <constructor-arg index="5" type="org.apache.jdo.tck.pc.company.IAddress"><ref bean="addr2"/></constructor-arg>
-        <constructor-arg index="6" type="java.util.Date"><value>1/Aug/2003</value></constructor-arg>
-        <constructor-arg index="7" type="double"><value>10000</value></constructor-arg>
-        <property name="weeklyhours"><value>15</value></property>
-        <property name="department"><ref bean="dept2"/></property>
-        <property name="manager"><ref bean="emp7"/></property>
-        <property name="team"><set/></property>
-    </bean>
-    
-    <bean id="emp9" factory-bean="companyFactory" factory-method="newPartTimeEmployee">
-        <constructor-arg index="0" type="long"><value>9</value></constructor-arg>
-        <constructor-arg index="1" type="java.lang.String"><value>emp9First</value></constructor-arg>
-        <constructor-arg index="2" type="java.lang.String"><value>emp9Last</value></constructor-arg>
-        <constructor-arg index="3" type="java.lang.String"><value>emp9Middle</value></constructor-arg>
-        <constructor-arg index="4" type="java.util.Date"><value>5/Sep/1972</value></constructor-arg>
-        <constructor-arg index="5" type="org.apache.jdo.tck.pc.company.IAddress"><ref bean="addr3"/></constructor-arg>
-        <constructor-arg index="6" type="java.util.Date"><value>1/May/2002</value></constructor-arg>
-        <constructor-arg index="7" type="double"><value>12000</value></constructor-arg>
-        <property name="weeklyhours"><value>20</value></property>
-        <property name="department"><ref bean="dept2"/></property>
-        <property name="manager"><ref bean="emp7"/></property>
-        <property name="team"><set/></property>
-    </bean>
-
-    <bean id="emp10" factory-bean="companyFactory" factory-method="newFullTimeEmployee">
-        <constructor-arg index="0" type="long"><value>10</value></constructor-arg>
-        <constructor-arg index="1" type="java.lang.String"><value>emp10First</value></constructor-arg>
-        <constructor-arg index="2" type="java.lang.String"><value>emp10Last</value></constructor-arg>
-        <constructor-arg index="3" type="java.lang.String"><value>emp10Middle</value></constructor-arg>
-        <constructor-arg index="4" type="java.util.Date"><value>5/Sep/1972</value></constructor-arg>
-        <constructor-arg index="5" type="org.apache.jdo.tck.pc.company.IAddress"><ref bean="addr3"/></constructor-arg>
-        <constructor-arg index="6" type="java.util.Date"><value>1/Oct/2002</value></constructor-arg>
-        <constructor-arg index="7" type="double"><value>24000</value></constructor-arg>
-        <property name="weeklyhours"><value>40</value></property>
-        <property name="department"><ref bean="dept2"/></property>
-        <property name="manager"><ref bean="emp1"/></property>
-        <property name="team"><set/></property>
-    </bean>
-
-    <bean id="addr1" factory-bean="companyFactory" factory-method="newAddress">
-        <constructor-arg index="0" type="long"><value>1</value></constructor-arg>
-        <constructor-arg index="1" type="java.lang.String"><value>Unter den Linden 1</value></constructor-arg>
-        <constructor-arg index="2" type="java.lang.String"><value>Berlin</value></constructor-arg>
-        <constructor-arg index="3" type="java.lang.String"><value>  </value></constructor-arg>
-        <constructor-arg index="4" type="java.lang.String"><value>12345</value></constructor-arg>
-        <constructor-arg index="5" type="java.lang.String"><value>Germany</value></constructor-arg>
-    </bean>
-    <bean id="addr2" factory-bean="companyFactory" factory-method="newAddress">
-        <constructor-arg index="0" type="long"><value>2</value></constructor-arg>
-        <constructor-arg index="1" type="java.lang.String"><value>Broadway 1</value></constructor-arg>
-        <constructor-arg index="2" type="java.lang.String"><value>New York</value></constructor-arg>
-        <constructor-arg index="3" type="java.lang.String"><value>NY</value></constructor-arg>
-        <constructor-arg index="4" type="java.lang.String"><value>10000</value></constructor-arg>
-        <constructor-arg index="5" type="java.lang.String"><value>USA</value></constructor-arg>
-    </bean>
-    <bean id="addr3" factory-bean="companyFactory" factory-method="newAddress">
-        <constructor-arg index="0" type="long"><value>3</value></constructor-arg>
-        <constructor-arg index="1" type="java.lang.String"><value>Market St.</value></constructor-arg>
-        <constructor-arg index="2" type="java.lang.String"><value>San Francisco</value></constructor-arg>
-        <constructor-arg index="3" type="java.lang.String"><value>CA</value></constructor-arg>
-        <constructor-arg index="4" type="java.lang.String"><value>94102</value></constructor-arg>
-        <constructor-arg index="5" type="java.lang.String"><value>USA</value></constructor-arg>
-    </bean>
-
-    <bean id="medicalIns1" factory-bean="companyFactory" factory-method="newMedicalInsurance">
-        <constructor-arg index="0" type="long"><value>1</value></constructor-arg>
-        <constructor-arg index="1" type="java.lang.String"><value>Carrier1</value></constructor-arg>
-        <constructor-arg index="2" type="java.lang.String"><value>PPO</value></constructor-arg>
-        <property name="employee"><ref bean="emp1"/></property>
-    </bean>
-
-    <bean id="medicalIns2" factory-bean="companyFactory" factory-method="newMedicalInsurance">
-        <constructor-arg index="0" type="long"><value>2</value></constructor-arg>
-        <constructor-arg index="1" type="java.lang.String"><value>Carrier2</value></constructor-arg>
-        <constructor-arg index="2" type="java.lang.String"><value>HMO</value></constructor-arg>
-        <property name="employee"><ref bean="emp2"/></property>
-    </bean>
-
-    <bean id="medicalIns3" factory-bean="companyFactory" factory-method="newMedicalInsurance">
-        <constructor-arg index="0" type="long"><value>3</value></constructor-arg>
-        <constructor-arg index="1" type="java.lang.String"><value>Carrier3</value></constructor-arg>
-        <constructor-arg index="2" type="java.lang.String"><value>HMO</value></constructor-arg>
-        <property name="employee"><ref bean="emp3"/></property>
-    </bean>
-
-    <bean id="medicalIns4" factory-bean="companyFactory" factory-method="newMedicalInsurance">
-        <constructor-arg index="0" type="long"><value>4</value></constructor-arg>
-        <constructor-arg index="1" type="java.lang.String"><value>Carrier4</value></constructor-arg>
-        <constructor-arg index="2" type="java.lang.String"><value>HMO</value></constructor-arg>
-        <property name="employee"><ref bean="emp4"/></property>
-    </bean>
-
-    <bean id="medicalIns5" factory-bean="companyFactory" factory-method="newMedicalInsurance">
-        <constructor-arg index="0" type="long"><value>5</value></constructor-arg>
-        <constructor-arg index="1" type="java.lang.String"><value>Carrier5</value></constructor-arg>
-        <constructor-arg index="2" type="java.lang.String"><value>HMO</value></constructor-arg>
-        <property name="employee"><ref bean="emp5"/></property>
-    </bean>
-
-    <bean id="medicalIns98" factory-bean="companyFactory" factory-method="newMedicalInsurance">
-        <constructor-arg index="0" type="long"><value>98</value></constructor-arg>
-        <constructor-arg index="1" type="java.lang.String"><value>Carrier98</value></constructor-arg>
-        <constructor-arg index="2" type="java.lang.String"><value>HMO</value></constructor-arg>
-        <property name="employee"><null/></property>
-    </bean>
-
-    <bean id="dentalIns1" factory-bean="companyFactory" factory-method="newDentalInsurance">
-        <constructor-arg index="0" type="long"><value>11</value></constructor-arg>
-        <constructor-arg index="1" type="java.lang.String"><value>Carrier1</value></constructor-arg>
-        <constructor-arg index="2" type="java.math.BigDecimal"><value>99.995</value></constructor-arg>
-        <property name="employee"><ref bean="emp1"/></property>
-    </bean>
-
-    <bean id="dentalIns2" factory-bean="companyFactory" factory-method="newDentalInsurance">
-        <constructor-arg index="0" type="long"><value>12</value></constructor-arg>
-        <constructor-arg index="1" type="java.lang.String"><value>Carrier2</value></constructor-arg>
-        <constructor-arg index="2" type="java.math.BigDecimal"><value>99.996</value></constructor-arg>
-        <property name="employee"><ref bean="emp2"/></property>
-    </bean>
-
-    <bean id="dentalIns3" factory-bean="companyFactory" factory-method="newDentalInsurance">
-        <constructor-arg index="0" type="long"><value>13</value></constructor-arg>
-        <constructor-arg index="1" type="java.lang.String"><value>Carrier3</value></constructor-arg>
-        <constructor-arg index="2" type="java.math.BigDecimal"><value>99.997</value></constructor-arg>
-        <property name="employee"><ref bean="emp3"/></property>
-    </bean>
-
-    <bean id="dentalIns4" factory-bean="companyFactory" factory-method="newDentalInsurance">
-        <constructor-arg index="0" type="long"><value>14</value></constructor-arg>
-        <constructor-arg index="1" type="java.lang.String"><value>Carrier4</value></constructor-arg>
-        <constructor-arg index="2" type="java.math.BigDecimal"><value>99.998</value></constructor-arg>
-        <property name="employee"><ref bean="emp4"/></property>
-    </bean>
-
-    <bean id="dentalIns5" factory-bean="companyFactory" factory-method="newDentalInsurance">
-        <constructor-arg index="0" type="long"><value>15</value></constructor-arg>
-        <constructor-arg index="1" type="java.lang.String"><value>Carrier5</value></constructor-arg>
-        <constructor-arg index="2" type="java.math.BigDecimal"><value>99.999</value></constructor-arg>
-        <property name="employee"><ref bean="emp5"/></property>
-    </bean>
-
-    <bean id="dentalIns99" factory-bean="companyFactory" factory-method="newDentalInsurance">
-        <constructor-arg index="0" type="long"><value>99</value></constructor-arg>
-        <constructor-arg index="1" type="java.lang.String"><value>Carrier99</value></constructor-arg>
-        <constructor-arg index="2" type="java.math.BigDecimal"><null/></constructor-arg>
-        <property name="employee"><null/></property>
-    </bean>
-
-    <bean id="proj1" factory-bean="companyFactory" factory-method="newProject">
-        <constructor-arg index="0" type="long"><value>1</value></constructor-arg>
-        <constructor-arg index="1" type="java.lang.String"><value>orange</value></constructor-arg>
-        <constructor-arg index="2" type="java.math.BigDecimal"><value>2500000.99</value></constructor-arg>
-        <property name="members">
-            <set>
-                <ref bean="emp1"/>
-                <ref bean="emp2"/>
-                <ref bean="emp3"/>
-            </set>
-        </property>
-    </bean>
-    <bean id="proj2" factory-bean="companyFactory" factory-method="newProject">
-        <constructor-arg index="0" type="long"><value>2</value></constructor-arg>
-        <constructor-arg index="1" type="java.lang.String"><value>blue</value></constructor-arg>
-        <constructor-arg index="2" type="java.math.BigDecimal"><value>50000.00</value></constructor-arg>
-        <property name="reviewers">
-            <set>
-                <ref bean="emp4"/>
-                <ref bean="emp5"/>
-            </set>
-        </property>
-        <property name="members">
-            <set>
-                <ref bean="emp2"/>
-                <ref bean="emp3"/>
-            </set>
-        </property>
-    </bean>
-    <bean id="proj3" factory-bean="companyFactory" factory-method="newProject">
-        <constructor-arg index="0" type="long"><value>3</value></constructor-arg>
-        <constructor-arg index="1" type="java.lang.String"><value>green</value></constructor-arg>
-        <constructor-arg index="2" type="java.math.BigDecimal"><value>2000.99</value></constructor-arg>
-        <property name="reviewers">
-            <set>
-                <ref bean="emp1"/>
-            </set>
-        </property>
-        <property name="members">
-            <set>
-                <ref bean="emp4"/>
-                <ref bean="emp5"/>
-            </set>
-        </property>
-    </bean>
-
-</beans>
diff --git a/tck/src/main/resources/testdata/org/apache/jdo/tck/pc/company/companyForQueryTests.xml b/tck/src/main/resources/testdata/org/apache/jdo/tck/pc/company/companyForQueryTests.xml
deleted file mode 100644
index 755351ac..00000000
--- a/tck/src/main/resources/testdata/org/apache/jdo/tck/pc/company/companyForQueryTests.xml
+++ /dev/null
@@ -1,437 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<!--
-  Licensed to the Apache Software Foundation (ASF) under one or more
-  contributor license agreements.  See the NOTICE file distributed with
-  this work for additional information regarding copyright ownership.
-  The ASF licenses this file to You under the Apache License, Version 2.0
-  (the "License"); you may not use this file except in compliance with
-  the License.  You may obtain a copy of the License at
-
-      https://www.apache.org/licenses/LICENSE-2.0
-
-  Unless required by applicable law or agreed to in writing, software
-  distributed under the License is distributed on an "AS IS" BASIS,
-  WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-  See the License for the specific language governing permissions and
-  limitations under the License.
--->
- <beans xmlns="http://www.springframework.org/schema/beans"
-    xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
-    xsi:schemaLocation="
-        http://www.springframework.org/schema/beans http://www.springframework.org/schema/beans/spring-beans.xsd">
-
-    <description>Company instances for query testing</description>
-
-    <bean id="root" class="java.util.ArrayList">
-        <constructor-arg index="0">
-            <list>
-                <ref bean="company1"/>
-                <ref bean="dentalIns99"/>
-            </list>
-        </constructor-arg>
-    </bean>
-
-    <bean id="company1" factory-bean="companyFactory" factory-method="newCompany">
-        <constructor-arg index="0" type="long"><value>1</value></constructor-arg>
-        <constructor-arg index="1" type="java.lang.String"><value>Sun Microsystems, Inc.</value></constructor-arg>
-        <constructor-arg index="2" type="java.util.Date"><value>11/Apr/1952</value></constructor-arg>
-        <constructor-arg index="3" type="org.apache.jdo.tck.pc.company.IAddress"><ref bean="addr1"/></constructor-arg>
-        <property name="departments">
-            <set>
-                <ref bean="dept1"/>
-                <ref bean="dept2"/>
-            </set>
-        </property>
-    </bean>
-
-    <bean id="room1" factory-bean="companyFactory" factory-method="newMeetingRoom">
-        <constructor-arg index="0" type="long"><value>1</value></constructor-arg>
-        <constructor-arg index="1" type="java.lang.String"><value>Comfy Room</value></constructor-arg>
-    </bean>
-    <bean id="room2" factory-bean="companyFactory" factory-method="newMeetingRoom">
-        <constructor-arg index="0" type="long"><value>2</value></constructor-arg>
-        <constructor-arg index="1" type="java.lang.String"><value>Large Discussion Room</value></constructor-arg>
-    </bean>
-    <bean id="room3" factory-bean="companyFactory" factory-method="newMeetingRoom">
-        <constructor-arg index="0" type="long"><value>3</value></constructor-arg>
-        <constructor-arg index="1" type="java.lang.String"><value>Conference Room</value></constructor-arg>
-    </bean>
-
-    <bean id="dept1" factory-bean="companyFactory" factory-method="newDepartment">
-        <constructor-arg index="0" type="long"><value>1</value></constructor-arg>
-        <constructor-arg index="1" type="java.lang.String" ><value>Development</value></constructor-arg>
-        <property name="company"><ref bean="company1"/></property>
-        <property name="employees">
-            <set>
-                <ref bean="emp1"/>
-                <ref bean="emp2"/>
-                <ref bean="emp3"/>
-            </set>
-        </property>
-        <property name="fundedEmps">
-            <set>
-                <ref bean="emp2"/>
-                <ref bean="emp3"/>
-            </set>
-        </property>
-        <property name="meetingRooms">
-            <list>
-                <ref bean="room1"/>
-                <ref bean="room2"/>
-                <ref bean="room3"/>
-            </list>
-        </property>
-    </bean>
-
-    <bean id="dept2" factory-bean="companyFactory" factory-method="newDepartment">
-        <constructor-arg index="0" type="long"><value>2</value></constructor-arg>
-        <constructor-arg index="1" type="java.lang.String" ><value>Human Resources</value></constructor-arg>
-        <property name="company"><ref bean="company1"/></property>
-        <property name="employees">
-            <set>
-                <ref bean="emp4"/>
-                <ref bean="emp5"/>
-            </set>
-        </property>
-        <property name="fundedEmps">
-            <set>
-                <ref bean="emp1"/>
-                <ref bean="emp4"/>
-                <ref bean="emp5"/>
-            </set>
-        </property>
-        <property name="meetingRooms">
-            <list>
-            </list>
-        </property>
-    </bean>
-
-    <bean id="emp1" factory-bean="companyFactory" factory-method="newFullTimeEmployee">
-        <constructor-arg index="0" type="long"><value>1</value></constructor-arg>
-        <constructor-arg index="1" type="java.lang.String"><value>emp1First</value></constructor-arg>
-        <constructor-arg index="2" type="java.lang.String"><value>emp1Last</value></constructor-arg>
-        <constructor-arg index="3" type="java.lang.String"><value>emp1Middle</value></constructor-arg>
-        <constructor-arg index="4" type="java.util.Date"><value>10/Jun/1970</value></constructor-arg>
-        <constructor-arg index="5" type="org.apache.jdo.tck.pc.company.IAddress"><ref bean="addr1"/></constructor-arg>
-        <constructor-arg index="6" type="java.util.Date"><value>1/Jan/1999</value></constructor-arg>
-        <constructor-arg index="7" type="double"><value>20000</value></constructor-arg>
-        <property name="weeklyhours"><value>40</value></property>
-        <property name="medicalInsurance"><ref bean="medicalIns1"/></property>
-        <property name="dentalInsurance"><ref bean="dentalIns1"/></property>
-        <property name="phoneNumbers">
-	        <map>
-                <entry key="home"><value>1111</value></entry>
-                <entry key="work"><value>123456-1</value></entry>
-            </map>
-	    </property>
-        <property name="department"><ref bean="dept1"/></property>
-        <property name="fundingDept"><ref bean="dept2"/></property>
-        <property name="manager"><ref bean="emp2"/></property>
-        <property name="mentor"><ref bean="emp2"/></property>
-        <property name="protege"><ref bean="emp5"/></property>
-        <property name="hradvisor"><ref bean="emp5"/></property>
-        <property name="reviewedProjects">
-            <set>
-                <ref bean="proj3"/>
-            </set>
-        </property>
-        <property name="projects">
-            <set>
-                <ref bean="proj1"/>
-            </set>
-        </property>
-    </bean>
-    <bean id="emp2" factory-bean="companyFactory" factory-method="newFullTimeEmployee">
-        <constructor-arg index="0" type="long"><value>2</value></constructor-arg>
-        <constructor-arg index="1" type="java.lang.String"><value>emp2First</value></constructor-arg>
-        <constructor-arg index="2" type="java.lang.String"><value>emp2Last</value></constructor-arg>
-        <constructor-arg index="3" type="java.lang.String"><value>emp2Middle</value></constructor-arg>
-        <constructor-arg index="4" type="java.util.Date"><value>22/Dec/1975</value></constructor-arg>
-        <constructor-arg index="5" type="org.apache.jdo.tck.pc.company.IAddress"><ref bean="addr2"/></constructor-arg>
-        <constructor-arg index="6" type="java.util.Date"><value>1/Jul/2003</value></constructor-arg>
-        <constructor-arg index="7" type="double"><value>10000</value></constructor-arg>
-        <property name="weeklyhours"><value>40</value></property>
-        <property name="medicalInsurance"><ref bean="medicalIns2"/></property>
-        <property name="dentalInsurance"><ref bean="dentalIns2"/></property>
-        <property name="phoneNumbers">
-	        <map>
-                <entry key="home"><value>2222</value></entry>
-                <entry key="work"><value>123456-2</value></entry>
-            </map>
-	    </property>
-        <property name="department"><ref bean="dept1"/></property>
-        <property name="fundingDept"><ref bean="dept1"/></property>
-        <property name="mentor"><ref bean="emp3"/></property>
-        <property name="protege"><ref bean="emp1"/></property>
-        <property name="hradvisor"><ref bean="emp5"/></property>
-        <property name="projects">
-            <set>
-                <ref bean="proj1"/>
-                <ref bean="proj2"/>
-            </set>
-        </property>
-        <property name="team">
-            <set>
-                <ref bean="emp1"/>
-                <ref bean="emp3"/>
-                <ref bean="emp4"/>
-                <ref bean="emp5"/>
-            </set>
-        </property>
-    </bean>
-    <bean id="emp3" factory-bean="companyFactory" factory-method="newPartTimeEmployee">
-        <constructor-arg index="0" type="long"><value>3</value></constructor-arg>
-        <constructor-arg index="1" type="java.lang.String"><value>emp3First</value></constructor-arg>
-        <constructor-arg index="2" type="java.lang.String"><value>emp3Last</value></constructor-arg>
-        <constructor-arg index="3" type="java.lang.String"><value>emp3Middle</value></constructor-arg>
-        <constructor-arg index="4" type="java.util.Date"><value>5/Sep/1972</value></constructor-arg>
-        <constructor-arg index="5" type="org.apache.jdo.tck.pc.company.IAddress"><ref bean="addr3"/></constructor-arg>
-        <constructor-arg index="6" type="java.util.Date"><value>15/Aug/2002</value></constructor-arg>
-        <constructor-arg index="7" type="double"><value>15</value></constructor-arg>
-        <property name="weeklyhours"><value>19</value></property>
-        <property name="medicalInsurance"><ref bean="medicalIns3"/></property>
-        <property name="dentalInsurance"><ref bean="dentalIns3"/></property>
-        <property name="phoneNumbers">
-	        <map>
-                <entry key="home"><value>3333</value></entry>
-                <entry key="work"><value>123456-3</value></entry>
-            </map>
-	    </property>
-        <property name="department"><ref bean="dept1"/></property>
-        <property name="fundingDept"><ref bean="dept1"/></property>
-        <property name="manager"><ref bean="emp2"/></property>
-        <property name="mentor"><ref bean="emp4"/></property>
-        <property name="protege"><ref bean="emp2"/></property>
-        <property name="hradvisor"><ref bean="emp5"/></property>
-        <property name="projects">
-            <set>
-                <ref bean="proj1"/>
-                <ref bean="proj2"/>
-            </set>
-        </property>
-    </bean>
-    <bean id="emp4" factory-bean="companyFactory" factory-method="newPartTimeEmployee">
-        <constructor-arg index="0" type="long"><value>4</value></constructor-arg>
-        <constructor-arg index="1" type="java.lang.String"><value>emp4First</value></constructor-arg>
-        <constructor-arg index="2" type="java.lang.String"><value>emp4Last</value></constructor-arg>
-        <constructor-arg index="3" type="java.lang.String"><value>emp4Middle</value></constructor-arg>
-        <constructor-arg index="4" type="java.util.Date"><value>6/Sep/1973</value></constructor-arg>
-        <constructor-arg index="5" type="org.apache.jdo.tck.pc.company.IAddress"><ref bean="addr3"/></constructor-arg>
-        <constructor-arg index="6" type="java.util.Date"><value>15/Apr/2001</value></constructor-arg>
-        <constructor-arg index="7" type="double"><value>13</value></constructor-arg>
-        <property name="medicalInsurance"><ref bean="medicalIns4"/></property>
-        <property name="dentalInsurance"><ref bean="dentalIns4"/></property>
-        <property name="phoneNumbers">
-	        <map>
-                <entry key="home"><value>3343</value></entry>
-                <entry key="work"><value>124456-3</value></entry>
-            </map>
-	    </property>
-        <property name="department"><ref bean="dept2"/></property>
-        <property name="fundingDept"><ref bean="dept2"/></property>
-        <property name="manager"><ref bean="emp2"/></property>
-        <property name="mentor"><ref bean="emp5"/></property>
-        <property name="protege"><ref bean="emp3"/></property>
-        <property name="hradvisor"><ref bean="emp5"/></property>
-        <property name="projects">
-            <set>
-                <ref bean="proj3"/>
-            </set>
-        </property>
-        <property name="reviewedProjects">
-            <set>
-                <ref bean="proj2"/>
-            </set>
-        </property>
-    </bean>
-    <bean id="emp5" factory-bean="companyFactory" factory-method="newFullTimeEmployee">
-        <constructor-arg index="0" type="long"><value>5</value></constructor-arg>
-        <constructor-arg index="1" type="java.lang.String"><value>emp5First</value></constructor-arg>
-        <constructor-arg index="2" type="java.lang.String"><value>emp5Last</value></constructor-arg>
-        <constructor-arg index="3" type="java.lang.String"><value>emp5Middle</value></constructor-arg>
-        <constructor-arg index="4" type="java.util.Date"><value>5/Jul/1962</value></constructor-arg>
-        <constructor-arg index="5" type="org.apache.jdo.tck.pc.company.IAddress"><ref bean="addr3"/></constructor-arg>
-        <constructor-arg index="6" type="java.util.Date"><value>15/Aug/1998</value></constructor-arg>
-        <constructor-arg index="7" type="double"><value>45000</value></constructor-arg>
-        <property name="medicalInsurance"><ref bean="medicalIns5"/></property>
-        <property name="dentalInsurance"><ref bean="dentalIns5"/></property>
-        <property name="phoneNumbers">
-	        <map>
-                <entry key="home"><value>3363</value></entry>
-                <entry key="work"><value>126456-3</value></entry>
-            </map>
-	    </property>
-        <property name="department"><ref bean="dept2"/></property>
-        <property name="fundingDept"><ref bean="dept2"/></property>
-        <property name="manager"><ref bean="emp2"/></property>
-        <property name="mentor"><ref bean="emp1"/></property>
-        <property name="protege"><ref bean="emp4"/></property>
-        <property name="projects">
-            <set>
-                <ref bean="proj3"/>
-            </set>
-        </property>
-        <property name="reviewedProjects">
-            <set>
-                <ref bean="proj2"/>
-            </set>
-        </property>
-        <property name="hradvisees">
-            <set>
-                <ref bean="emp1"/>
-                <ref bean="emp2"/>
-                <ref bean="emp3"/>
-                <ref bean="emp4"/>
-            </set>
-        </property>
-    </bean>
-
-    <bean id="addr1" factory-bean="companyFactory" factory-method="newAddress">
-        <constructor-arg index="0" type="long"><value>1</value></constructor-arg>
-        <constructor-arg index="1" type="java.lang.String"><value>Unter den Linden 1</value></constructor-arg>
-        <constructor-arg index="2" type="java.lang.String"><value>Berlin</value></constructor-arg>
-        <constructor-arg index="3" type="java.lang.String"><value>  </value></constructor-arg>
-        <constructor-arg index="4" type="java.lang.String"><value>12345</value></constructor-arg>
-        <constructor-arg index="5" type="java.lang.String"><value>Germany</value></constructor-arg>
-    </bean>
-    <bean id="addr2" factory-bean="companyFactory" factory-method="newAddress">
-        <constructor-arg index="0" type="long"><value>2</value></constructor-arg>
-        <constructor-arg index="1" type="java.lang.String"><value>Broadway 1</value></constructor-arg>
-        <constructor-arg index="2" type="java.lang.String"><value>New York</value></constructor-arg>
-        <constructor-arg index="3" type="java.lang.String"><value>NY</value></constructor-arg>
-        <constructor-arg index="4" type="java.lang.String"><value>10000</value></constructor-arg>
-        <constructor-arg index="5" type="java.lang.String"><value>USA</value></constructor-arg>
-    </bean>
-    <bean id="addr3" factory-bean="companyFactory" factory-method="newAddress">
-        <constructor-arg index="0" type="long"><value>3</value></constructor-arg>
-        <constructor-arg index="1" type="java.lang.String"><value>Market St.</value></constructor-arg>
-        <constructor-arg index="2" type="java.lang.String"><value>San Francisco</value></constructor-arg>
-        <constructor-arg index="3" type="java.lang.String"><value>CA</value></constructor-arg>
-        <constructor-arg index="4" type="java.lang.String"><value>94102</value></constructor-arg>
-        <constructor-arg index="5" type="java.lang.String"><value>USA</value></constructor-arg>
-    </bean>
-
-    <bean id="medicalIns1" factory-bean="companyFactory" factory-method="newMedicalInsurance">
-        <constructor-arg index="0" type="long"><value>1</value></constructor-arg>
-        <constructor-arg index="1" type="java.lang.String"><value>Carrier1</value></constructor-arg>
-        <constructor-arg index="2" type="java.lang.String"><value>PPO</value></constructor-arg>
-        <property name="employee"><ref bean="emp1"/></property>
-    </bean>
-
-    <bean id="medicalIns2" factory-bean="companyFactory" factory-method="newMedicalInsurance">
-        <constructor-arg index="0" type="long"><value>2</value></constructor-arg>
-        <constructor-arg index="1" type="java.lang.String"><value>Carrier2</value></constructor-arg>
-        <constructor-arg index="2" type="java.lang.String"><value>HMO</value></constructor-arg>
-        <property name="employee"><ref bean="emp2"/></property>
-    </bean>
-
-    <bean id="medicalIns3" factory-bean="companyFactory" factory-method="newMedicalInsurance">
-        <constructor-arg index="0" type="long"><value>3</value></constructor-arg>
-        <constructor-arg index="1" type="java.lang.String"><value>Carrier3</value></constructor-arg>
-        <constructor-arg index="2" type="java.lang.String"><value>HMO</value></constructor-arg>
-        <property name="employee"><ref bean="emp3"/></property>
-    </bean>
-
-    <bean id="medicalIns4" factory-bean="companyFactory" factory-method="newMedicalInsurance">
-        <constructor-arg index="0" type="long"><value>4</value></constructor-arg>
-        <constructor-arg index="1" type="java.lang.String"><value>Carrier4</value></constructor-arg>
-        <constructor-arg index="2" type="java.lang.String"><value>HMO</value></constructor-arg>
-        <property name="employee"><ref bean="emp4"/></property>
-    </bean>
-
-    <bean id="medicalIns5" factory-bean="companyFactory" factory-method="newMedicalInsurance">
-        <constructor-arg index="0" type="long"><value>5</value></constructor-arg>
-        <constructor-arg index="1" type="java.lang.String"><value>Carrier5</value></constructor-arg>
-        <constructor-arg index="2" type="java.lang.String"><value>HMO</value></constructor-arg>
-        <property name="employee"><ref bean="emp5"/></property>
-    </bean>
-
-    <bean id="dentalIns1" factory-bean="companyFactory" factory-method="newDentalInsurance">
-        <constructor-arg index="0" type="long"><value>11</value></constructor-arg>
-        <constructor-arg index="1" type="java.lang.String"><value>Carrier1</value></constructor-arg>
-        <constructor-arg index="2" type="java.math.BigDecimal"><value>99.995</value></constructor-arg>
-        <property name="employee"><ref bean="emp1"/></property>
-    </bean>
-
-    <bean id="dentalIns2" factory-bean="companyFactory" factory-method="newDentalInsurance">
-        <constructor-arg index="0" type="long"><value>12</value></constructor-arg>
-        <constructor-arg index="1" type="java.lang.String"><value>Carrier2</value></constructor-arg>
-        <constructor-arg index="2" type="java.math.BigDecimal"><value>99.996</value></constructor-arg>
-        <property name="employee"><ref bean="emp2"/></property>
-    </bean>
-
-    <bean id="dentalIns3" factory-bean="companyFactory" factory-method="newDentalInsurance">
-        <constructor-arg index="0" type="long"><value>13</value></constructor-arg>
-        <constructor-arg index="1" type="java.lang.String"><value>Carrier3</value></constructor-arg>
-        <constructor-arg index="2" type="java.math.BigDecimal"><value>99.997</value></constructor-arg>
-        <property name="employee"><ref bean="emp3"/></property>
-    </bean>
-
-    <bean id="dentalIns4" factory-bean="companyFactory" factory-method="newDentalInsurance">
-        <constructor-arg index="0" type="long"><value>14</value></constructor-arg>
-        <constructor-arg index="1" type="java.lang.String"><value>Carrier4</value></constructor-arg>
-        <constructor-arg index="2" type="java.math.BigDecimal"><value>99.998</value></constructor-arg>
-        <property name="employee"><ref bean="emp4"/></property>
-    </bean>
-
-    <bean id="dentalIns5" factory-bean="companyFactory" factory-method="newDentalInsurance">
-        <constructor-arg index="0" type="long"><value>15</value></constructor-arg>
-        <constructor-arg index="1" type="java.lang.String"><value>Carrier5</value></constructor-arg>
-        <constructor-arg index="2" type="java.math.BigDecimal"><value>99.999</value></constructor-arg>
-        <property name="employee"><ref bean="emp5"/></property>
-    </bean>
-
-    <bean id="dentalIns99" factory-bean="companyFactory" factory-method="newDentalInsurance">
-        <constructor-arg index="0" type="long"><value>99</value></constructor-arg>
-        <constructor-arg index="1" type="java.lang.String"><value>Carrier99</value></constructor-arg>
-        <constructor-arg index="2" type="java.math.BigDecimal"><null/></constructor-arg>
-    </bean>
-
-    <bean id="proj1" factory-bean="companyFactory" factory-method="newProject">
-        <constructor-arg index="0" type="long"><value>1</value></constructor-arg>
-        <constructor-arg index="1" type="java.lang.String"><value>orange</value></constructor-arg>
-        <constructor-arg index="2" type="java.math.BigDecimal"><value>2500000.99</value></constructor-arg>
-        <property name="members">
-            <set>
-                <ref bean="emp1"/>
-                <ref bean="emp2"/>
-                <ref bean="emp3"/>
-            </set>
-        </property>
-    </bean>
-    <bean id="proj2" factory-bean="companyFactory" factory-method="newProject">
-        <constructor-arg index="0" type="long"><value>2</value></constructor-arg>
-        <constructor-arg index="1" type="java.lang.String"><value>blue</value></constructor-arg>
-        <constructor-arg index="2" type="java.math.BigDecimal"><value>50000.00</value></constructor-arg>
-        <property name="reviewers">
-            <set>
-                <ref bean="emp4"/>
-                <ref bean="emp5"/>
-            </set>
-        </property>
-        <property name="members">
-            <set>
-                <ref bean="emp2"/>
-                <ref bean="emp3"/>
-            </set>
-        </property>
-    </bean>
-    <bean id="proj3" factory-bean="companyFactory" factory-method="newProject">
-        <constructor-arg index="0" type="long"><value>3</value></constructor-arg>
-        <constructor-arg index="1" type="java.lang.String"><value>green</value></constructor-arg>
-        <constructor-arg index="2" type="java.math.BigDecimal"><value>2000.99</value></constructor-arg>
-        <property name="reviewers">
-            <set>
-                <ref bean="emp1"/>
-            </set>
-        </property>
-        <property name="members">
-            <set>
-                <ref bean="emp4"/>
-                <ref bean="emp5"/>
-            </set>
-        </property>
-    </bean>
-
-</beans>
-
diff --git a/tck/src/main/resources/testdata/org/apache/jdo/tck/pc/company/companyForSampleQueriesTest.xml b/tck/src/main/resources/testdata/org/apache/jdo/tck/pc/company/companyForSampleQueriesTest.xml
deleted file mode 100644
index 82fe4973..00000000
--- a/tck/src/main/resources/testdata/org/apache/jdo/tck/pc/company/companyForSampleQueriesTest.xml
+++ /dev/null
@@ -1,486 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<!--
-  Licensed to the Apache Software Foundation (ASF) under one or more
-  contributor license agreements.  See the NOTICE file distributed with
-  this work for additional information regarding copyright ownership.
-  The ASF licenses this file to You under the Apache License, Version 2.0
-  (the "License"); you may not use this file except in compliance with
-  the License.  You may obtain a copy of the License at
-
-      https://www.apache.org/licenses/LICENSE-2.0
-
-  Unless required by applicable law or agreed to in writing, software
-  distributed under the License is distributed on an "AS IS" BASIS,
-  WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-  See the License for the specific language governing permissions and
-  limitations under the License.
--->
-<beans xmlns="http://www.springframework.org/schema/beans"
-    xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
-    xsi:schemaLocation="
-        http://www.springframework.org/schema/beans http://www.springframework.org/schema/beans/spring-beans.xsd">
-
-    <description>Company instances for query testing</description>
-
-    <bean id="root" class="java.util.ArrayList">
-        <constructor-arg index="0">
-            <list>
-                <ref bean="company1"/>
-                <ref bean="dentalIns99"/>
-            </list>
-        </constructor-arg>
-    </bean>
-
-    <bean id="company1" factory-bean="companyFactory" factory-method="newCompany">
-        <constructor-arg index="0" type="long"><value>1</value></constructor-arg>
-        <constructor-arg index="1" type="java.lang.String"><value>Sun Microsystems, Inc.</value></constructor-arg>
-        <constructor-arg index="2" type="java.util.Date"><value>11/Apr/1952</value></constructor-arg>
-        <constructor-arg index="3" type="org.apache.jdo.tck.pc.company.IAddress"><ref bean="addr1"/></constructor-arg>
-        <property name="departments">
-            <set>
-                <ref bean="dept1"/>
-                <ref bean="dept2"/>
-                <ref bean="dept3"/>
-            </set>
-        </property>
-    </bean>
-
-    <bean id="room1" factory-bean="companyFactory" factory-method="newMeetingRoom">
-        <constructor-arg index="0" type="long"><value>1</value></constructor-arg>
-        <constructor-arg index="1" type="java.lang.String"><value>Comfy Room</value></constructor-arg>
-    </bean>
-    <bean id="room2" factory-bean="companyFactory" factory-method="newMeetingRoom">
-        <constructor-arg index="0" type="long"><value>2</value></constructor-arg>
-        <constructor-arg index="1" type="java.lang.String"><value>Large Discussion Room</value></constructor-arg>
-    </bean>
-    <bean id="room3" factory-bean="companyFactory" factory-method="newMeetingRoom">
-        <constructor-arg index="0" type="long"><value>3</value></constructor-arg>
-        <constructor-arg index="1" type="java.lang.String"><value>Conference Room</value></constructor-arg>
-    </bean>
-
-    <bean id="dept1" factory-bean="companyFactory" factory-method="newDepartment">
-        <constructor-arg index="0" type="long"><value>1</value></constructor-arg>
-        <constructor-arg index="1" type="java.lang.String" ><value>R&amp;D</value></constructor-arg>
-        <property name="company"><ref bean="company1"/></property>
-        <property name="employees">
-            <set>
-                <ref bean="emp1"/>
-                <ref bean="emp2"/>
-                <ref bean="emp3"/>
-            </set>
-        </property>
-        <property name="fundedEmps">
-            <set>
-                <ref bean="emp2"/>
-                <ref bean="emp3"/>
-            </set>
-        </property>
-        <property name="meetingRooms">
-            <list>
-                <ref bean="room1"/>
-                <ref bean="room2"/>
-                <ref bean="room3"/>
-            </list>
-        </property>
-    </bean>
-
-    <bean id="dept2" factory-bean="companyFactory" factory-method="newDepartment">
-        <constructor-arg index="0" type="long"><value>2</value></constructor-arg>
-        <constructor-arg index="1" type="java.lang.String" ><value>Sales</value></constructor-arg>
-        <property name="company"><ref bean="company1"/></property>
-        <property name="employees">
-            <set>
-                <ref bean="emp4"/>
-                <ref bean="emp5"/>
-            </set>
-        </property>
-        <property name="fundedEmps">
-            <set>
-                <ref bean="emp1"/>
-                <ref bean="emp4"/>
-                <ref bean="emp5"/>
-            </set>
-        </property>
-        <property name="meetingRooms">
-            <list>
-            </list>
-        </property>
-    </bean>
-
-       <bean id="dept3" factory-bean="companyFactory" factory-method="newDepartment">
-        <constructor-arg index="0" type="long"><value>3</value></constructor-arg>
-        <constructor-arg index="1" type="java.lang.String" ><value>Marketing</value></constructor-arg>
-        <property name="company"><ref bean="company1"/></property>
-        <property name="employees">
-            <set>
-            </set>
-        </property>
-        <property name="fundedEmps">
-            <set>
-            </set>
-        </property>
-        <property name="meetingRooms">
-            <list>
-            </list>
-        </property>
-    </bean>
-
-    <bean id="emp1" factory-bean="companyFactory" factory-method="newFullTimeEmployee">
-        <constructor-arg index="0" type="long"><value>1</value></constructor-arg>
-        <constructor-arg index="1" type="java.lang.String"><value>Michael</value></constructor-arg>
-        <constructor-arg index="2" type="java.lang.String"><value>Bouschen</value></constructor-arg>
-        <constructor-arg index="3" type="java.lang.String"><value></value></constructor-arg>
-        <constructor-arg index="4" type="java.util.Date"><value>10/Jun/1970</value></constructor-arg>
-        <constructor-arg index="5" type="org.apache.jdo.tck.pc.company.IAddress"><ref bean="addr1"/></constructor-arg>
-        <constructor-arg index="6" type="java.util.Date"><value>1/Jan/1999</value></constructor-arg>
-        <constructor-arg index="7" type="double"><value>40000</value></constructor-arg>
-        <property name="weeklyhours"><value>40</value></property>
-        <property name="medicalInsurance"><ref bean="medicalIns1"/></property>
-        <property name="dentalInsurance"><ref bean="dentalIns1"/></property>
-        <property name="phoneNumbers">
-	        <map>
-                <entry key="home"><value>1111</value></entry>
-                <entry key="work"><value>123456-1</value></entry>
-            </map>
-	    </property>
-        <property name="languages">
-            <set>
-                <value>German</value>
-                <value>English</value>
-            </set>
-        </property>
-        <property name="department"><ref bean="dept1"/></property>
-        <property name="fundingDept"><ref bean="dept2"/></property>
-        <property name="manager"><ref bean="emp2"/></property>
-        <property name="mentor"><ref bean="emp2"/></property>
-        <property name="protege"><ref bean="emp5"/></property>
-        <property name="hradvisor"><ref bean="emp5"/></property>
-        <property name="reviewedProjects">
-            <set>
-                <ref bean="proj3"/>
-            </set>
-        </property>
-        <property name="projects">
-            <set>
-                <ref bean="proj1"/>
-            </set>
-        </property>
-    </bean>
-    <bean id="emp2" factory-bean="companyFactory" factory-method="newFullTimeEmployee">
-        <constructor-arg index="0" type="long"><value>2</value></constructor-arg>
-        <constructor-arg index="1" type="java.lang.String"><value>Craig</value></constructor-arg>
-        <constructor-arg index="2" type="java.lang.String"><value>L.</value></constructor-arg>
-        <constructor-arg index="3" type="java.lang.String"><value>Russell</value></constructor-arg>
-        <constructor-arg index="4" type="java.util.Date"><value>22/Dec/1975</value></constructor-arg>
-        <constructor-arg index="5" type="org.apache.jdo.tck.pc.company.IAddress"><ref bean="addr2"/></constructor-arg>
-        <constructor-arg index="6" type="java.util.Date"><value>1/Jul/2003</value></constructor-arg>
-        <constructor-arg index="7" type="double"><value>50000</value></constructor-arg>
-        <property name="weeklyhours"><value>40</value></property>
-        <property name="medicalInsurance"><ref bean="medicalIns2"/></property>
-        <property name="dentalInsurance"><ref bean="dentalIns2"/></property>
-        <property name="phoneNumbers">
-	        <map>
-                <entry key="home"><value>2222</value></entry>
-                <entry key="work"><value>123456-2</value></entry>
-            </map>
-	    </property>
-        <property name="languages">
-            <set>
-                <value>English</value>
-                <value>Japanese</value>
-            </set>
-        </property>
-        <property name="department"><ref bean="dept1"/></property>
-        <property name="fundingDept"><ref bean="dept1"/></property>
-        <property name="mentor"><ref bean="emp3"/></property>
-        <property name="protege"><ref bean="emp1"/></property>
-        <property name="hradvisor"><ref bean="emp5"/></property>
-        <property name="projects">
-            <set>
-                <ref bean="proj1"/>
-                <ref bean="proj2"/>
-            </set>
-        </property>
-        <property name="team">
-            <set>
-                <ref bean="emp1"/>
-                <ref bean="emp3"/>
-                <ref bean="emp4"/>
-                <ref bean="emp5"/>
-            </set>
-        </property>
-    </bean>
-    <bean id="emp3" factory-bean="companyFactory" factory-method="newPartTimeEmployee">
-        <constructor-arg index="0" type="long"><value>3</value></constructor-arg>
-        <constructor-arg index="1" type="java.lang.String"><value>Joe</value></constructor-arg>
-        <constructor-arg index="2" type="java.lang.String"><value>Doe</value></constructor-arg>
-        <constructor-arg index="3" type="java.lang.String"><value></value></constructor-arg>
-        <constructor-arg index="4" type="java.util.Date"><value>5/Sep/1972</value></constructor-arg>
-        <constructor-arg index="5" type="org.apache.jdo.tck.pc.company.IAddress"><ref bean="addr3"/></constructor-arg>
-        <constructor-arg index="6" type="java.util.Date"><value>15/Aug/2002</value></constructor-arg>
-        <constructor-arg index="7" type="double"><value>15</value></constructor-arg>
-        <property name="weeklyhours"><value>19</value></property>
-        <property name="medicalInsurance"><ref bean="medicalIns3"/></property>
-        <property name="dentalInsurance"><ref bean="dentalIns3"/></property>
-        <property name="phoneNumbers">
-	        <map>
-                <entry key="home"><value>3333</value></entry>
-                <entry key="work"><value>123456-3</value></entry>
-            </map>
-	    </property>
-        <property name="languages">
-            <set>
-                <value>English</value>
-                <value>French</value>
-            </set>
-        </property>
-        <property name="department"><ref bean="dept1"/></property>
-        <property name="fundingDept"><ref bean="dept1"/></property>
-        <property name="manager"><ref bean="emp2"/></property>
-        <property name="mentor"><ref bean="emp4"/></property>
-        <property name="protege"><ref bean="emp2"/></property>
-        <property name="hradvisor"><ref bean="emp5"/></property>
-        <property name="projects">
-            <set>
-                <ref bean="proj1"/>
-                <ref bean="proj2"/>
-            </set>
-        </property>
-    </bean>
-    <bean id="emp4" factory-bean="companyFactory" factory-method="newPartTimeEmployee">
-        <constructor-arg index="0" type="long"><value>4</value></constructor-arg>
-        <constructor-arg index="1" type="java.lang.String"><value>Jane</value></constructor-arg>
-        <constructor-arg index="2" type="java.lang.String"><value>Roe</value></constructor-arg>
-        <constructor-arg index="3" type="java.lang.String"><value></value></constructor-arg>
-        <constructor-arg index="4" type="java.util.Date"><value>6/Sep/1973</value></constructor-arg>
-        <constructor-arg index="5" type="org.apache.jdo.tck.pc.company.IAddress"><ref bean="addr3"/></constructor-arg>
-        <constructor-arg index="6" type="java.util.Date"><value>15/Apr/2001</value></constructor-arg>
-        <constructor-arg index="7" type="double"><value>13</value></constructor-arg>
-        <property name="medicalInsurance"><ref bean="medicalIns4"/></property>
-        <property name="dentalInsurance"><ref bean="dentalIns4"/></property>
-        <property name="phoneNumbers">
-	        <map>
-                <entry key="home"><value>3343</value></entry>
-                <entry key="work"><value>124456-3</value></entry>
-            </map>
-	    </property>
-        <property name="languages">
-            <set>
-                <value>English</value>
-            </set>
-        </property>
-        <property name="department"><ref bean="dept2"/></property>
-        <property name="fundingDept"><ref bean="dept2"/></property>
-        <property name="manager"><ref bean="emp2"/></property>
-        <property name="mentor"><ref bean="emp5"/></property>
-        <property name="protege"><ref bean="emp3"/></property>
-        <property name="hradvisor"><ref bean="emp5"/></property>
-        <property name="projects">
-            <set>
-                <ref bean="proj3"/>
-            </set>
-        </property>
-        <property name="reviewedProjects">
-            <set>
-                <ref bean="proj2"/>
-            </set>
-        </property>
-    </bean>
-    <bean id="emp5" factory-bean="companyFactory" factory-method="newFullTimeEmployee">
-        <constructor-arg index="0" type="long"><value>5</value></constructor-arg>
-        <constructor-arg index="1" type="java.lang.String"><value>Tillmann</value></constructor-arg>
-        <constructor-arg index="2" type="java.lang.String"><value>Zäschke</value></constructor-arg>
-        <constructor-arg index="3" type="java.lang.String"><value></value></constructor-arg>
-        <constructor-arg index="4" type="java.util.Date"><value>5/Jul/1979</value></constructor-arg>
-        <constructor-arg index="5" type="org.apache.jdo.tck.pc.company.IAddress"><ref bean="addr3"/></constructor-arg>
-        <constructor-arg index="6" type="java.util.Date"><value>15/Aug/1999</value></constructor-arg>
-        <constructor-arg index="7" type="double"><value>45000</value></constructor-arg>
-        <property name="medicalInsurance"><ref bean="medicalIns5"/></property>
-        <property name="dentalInsurance"><ref bean="dentalIns5"/></property>
-        <property name="phoneNumbers">
-	        <map>
-                <entry key="home"><value>3363</value></entry>
-                <entry key="work"><value>126456-3</value></entry>
-            </map>
-	    </property>
-        <property name="languages">
-            <set>
-                <value>German</value>
-                <value>English</value>
-                <value>French</value>
-                <value>Japanese</value>
-            </set>
-        </property>
-        <property name="department"><ref bean="dept2"/></property>
-        <property name="fundingDept"><ref bean="dept2"/></property>
-        <property name="manager"><ref bean="emp2"/></property>
-        <property name="mentor"><ref bean="emp1"/></property>
-        <property name="protege"><ref bean="emp4"/></property>
-        <property name="projects">
-            <set>
-                <ref bean="proj3"/>
-            </set>
-        </property>
-        <property name="reviewedProjects">
-            <set>
-                <ref bean="proj2"/>
-            </set>
-        </property>
-        <property name="hradvisees">
-            <set>
-                <ref bean="emp1"/>
-                <ref bean="emp2"/>
-                <ref bean="emp3"/>
-                <ref bean="emp4"/>
-            </set>
-        </property>
-    </bean>
-
-    <bean id="addr1" factory-bean="companyFactory" factory-method="newAddress">
-        <constructor-arg index="0" type="long"><value>1</value></constructor-arg>
-        <constructor-arg index="1" type="java.lang.String"><value>Unter den Linden 1</value></constructor-arg>
-        <constructor-arg index="2" type="java.lang.String"><value>Berlin</value></constructor-arg>
-        <constructor-arg index="3" type="java.lang.String"><value>  </value></constructor-arg>
-        <constructor-arg index="4" type="java.lang.String"><value>12345</value></constructor-arg>
-        <constructor-arg index="5" type="java.lang.String"><value>Germany</value></constructor-arg>
-    </bean>
-    <bean id="addr2" factory-bean="companyFactory" factory-method="newAddress">
-        <constructor-arg index="0" type="long"><value>2</value></constructor-arg>
-        <constructor-arg index="1" type="java.lang.String"><value>Broadway 1</value></constructor-arg>
-        <constructor-arg index="2" type="java.lang.String"><value>New York</value></constructor-arg>
-        <constructor-arg index="3" type="java.lang.String"><value>NY</value></constructor-arg>
-        <constructor-arg index="4" type="java.lang.String"><value>10000</value></constructor-arg>
-        <constructor-arg index="5" type="java.lang.String"><value>USA</value></constructor-arg>
-    </bean>
-    <bean id="addr3" factory-bean="companyFactory" factory-method="newAddress">
-        <constructor-arg index="0" type="long"><value>3</value></constructor-arg>
-        <constructor-arg index="1" type="java.lang.String"><value>Market St.</value></constructor-arg>
-        <constructor-arg index="2" type="java.lang.String"><value>San Francisco</value></constructor-arg>
-        <constructor-arg index="3" type="java.lang.String"><value>CA</value></constructor-arg>
-        <constructor-arg index="4" type="java.lang.String"><value>94102</value></constructor-arg>
-        <constructor-arg index="5" type="java.lang.String"><value>USA</value></constructor-arg>
-    </bean>
-
-    <bean id="medicalIns1" factory-bean="companyFactory" factory-method="newMedicalInsurance">
-        <constructor-arg index="0" type="long"><value>1</value></constructor-arg>
-        <constructor-arg index="1" type="java.lang.String"><value>Carrier1</value></constructor-arg>
-        <constructor-arg index="2" type="java.lang.String"><value>PPO</value></constructor-arg>
-        <property name="employee"><ref bean="emp1"/></property>
-    </bean>
-
-    <bean id="medicalIns2" factory-bean="companyFactory" factory-method="newMedicalInsurance">
-        <constructor-arg index="0" type="long"><value>2</value></constructor-arg>
-        <constructor-arg index="1" type="java.lang.String"><value>Carrier2</value></constructor-arg>
-        <constructor-arg index="2" type="java.lang.String"><value>HMO</value></constructor-arg>
-        <property name="employee"><ref bean="emp2"/></property>
-    </bean>
-
-    <bean id="medicalIns3" factory-bean="companyFactory" factory-method="newMedicalInsurance">
-        <constructor-arg index="0" type="long"><value>3</value></constructor-arg>
-        <constructor-arg index="1" type="java.lang.String"><value>Carrier3</value></constructor-arg>
-        <constructor-arg index="2" type="java.lang.String"><value>HMO</value></constructor-arg>
-        <property name="employee"><ref bean="emp3"/></property>
-    </bean>
-
-    <bean id="medicalIns4" factory-bean="companyFactory" factory-method="newMedicalInsurance">
-        <constructor-arg index="0" type="long"><value>4</value></constructor-arg>
-        <constructor-arg index="1" type="java.lang.String"><value>Carrier4</value></constructor-arg>
-        <constructor-arg index="2" type="java.lang.String"><value>HMO</value></constructor-arg>
-        <property name="employee"><ref bean="emp4"/></property>
-    </bean>
-
-    <bean id="medicalIns5" factory-bean="companyFactory" factory-method="newMedicalInsurance">
-        <constructor-arg index="0" type="long"><value>5</value></constructor-arg>
-        <constructor-arg index="1" type="java.lang.String"><value>Carrier5</value></constructor-arg>
-        <constructor-arg index="2" type="java.lang.String"><value>HMO</value></constructor-arg>
-        <property name="employee"><ref bean="emp5"/></property>
-    </bean>
-
-    <bean id="dentalIns1" factory-bean="companyFactory" factory-method="newDentalInsurance">
-        <constructor-arg index="0" type="long"><value>11</value></constructor-arg>
-        <constructor-arg index="1" type="java.lang.String"><value>Carrier1</value></constructor-arg>
-        <constructor-arg index="2" type="java.math.BigDecimal"><value>99.995</value></constructor-arg>
-        <property name="employee"><ref bean="emp1"/></property>
-    </bean>
-
-    <bean id="dentalIns2" factory-bean="companyFactory" factory-method="newDentalInsurance">
-        <constructor-arg index="0" type="long"><value>12</value></constructor-arg>
-        <constructor-arg index="1" type="java.lang.String"><value>Carrier2</value></constructor-arg>
-        <constructor-arg index="2" type="java.math.BigDecimal"><value>99.996</value></constructor-arg>
-        <property name="employee"><ref bean="emp2"/></property>
-    </bean>
-
-    <bean id="dentalIns3" factory-bean="companyFactory" factory-method="newDentalInsurance">
-        <constructor-arg index="0" type="long"><value>13</value></constructor-arg>
-        <constructor-arg index="1" type="java.lang.String"><value>Carrier3</value></constructor-arg>
-        <constructor-arg index="2" type="java.math.BigDecimal"><value>99.997</value></constructor-arg>
-        <property name="employee"><ref bean="emp3"/></property>
-    </bean>
-
-    <bean id="dentalIns4" factory-bean="companyFactory" factory-method="newDentalInsurance">
-        <constructor-arg index="0" type="long"><value>14</value></constructor-arg>
-        <constructor-arg index="1" type="java.lang.String"><value>Carrier4</value></constructor-arg>
-        <constructor-arg index="2" type="java.math.BigDecimal"><value>99.998</value></constructor-arg>
-        <property name="employee"><ref bean="emp4"/></property>
-    </bean>
-
-    <bean id="dentalIns5" factory-bean="companyFactory" factory-method="newDentalInsurance">
-        <constructor-arg index="0" type="long"><value>15</value></constructor-arg>
-        <constructor-arg index="1" type="java.lang.String"><value>Carrier5</value></constructor-arg>
-        <constructor-arg index="2" type="java.math.BigDecimal"><value>99.999</value></constructor-arg>
-        <property name="employee"><ref bean="emp5"/></property>
-    </bean>
-
-    <bean id="dentalIns99" factory-bean="companyFactory" factory-method="newDentalInsurance">
-        <constructor-arg index="0" type="long"><value>99</value></constructor-arg>
-        <constructor-arg index="1" type="java.lang.String"><value>Carrier99</value></constructor-arg>
-        <constructor-arg index="2" type="java.math.BigDecimal"><null/></constructor-arg>
-    </bean>
-
-    <bean id="proj1" factory-bean="companyFactory" factory-method="newProject">
-        <constructor-arg index="0" type="long"><value>1</value></constructor-arg>
-        <constructor-arg index="1" type="java.lang.String"><value>orange</value></constructor-arg>
-        <constructor-arg index="2" type="java.math.BigDecimal"><value>2500000.99</value></constructor-arg>
-        <property name="members">
-            <set>
-                <ref bean="emp1"/>
-                <ref bean="emp2"/>
-                <ref bean="emp3"/>
-            </set>
-        </property>
-    </bean>
-    <bean id="proj2" factory-bean="companyFactory" factory-method="newProject">
-        <constructor-arg index="0" type="long"><value>2</value></constructor-arg>
-        <constructor-arg index="1" type="java.lang.String"><value>blue</value></constructor-arg>
-        <constructor-arg index="2" type="java.math.BigDecimal"><value>50000.00</value></constructor-arg>
-        <property name="reviewers">
-            <set>
-                <ref bean="emp4"/>
-                <ref bean="emp5"/>
-            </set>
-        </property>
-        <property name="members">
-            <set>
-                <ref bean="emp2"/>
-                <ref bean="emp3"/>
-            </set>
-        </property>
-    </bean>
-    <bean id="proj3" factory-bean="companyFactory" factory-method="newProject">
-        <constructor-arg index="0" type="long"><value>3</value></constructor-arg>
-        <constructor-arg index="1" type="java.lang.String"><value>green</value></constructor-arg>
-        <constructor-arg index="2" type="java.math.BigDecimal"><value>2000.99</value></constructor-arg>
-        <property name="reviewers">
-            <set>
-                <ref bean="emp1"/>
-            </set>
-        </property>
-        <property name="members">
-            <set>
-                <ref bean="emp4"/>
-                <ref bean="emp5"/>
-            </set>
-        </property>
-    </bean>
-</beans>
-
diff --git a/tck/src/main/resources/testdata/org/apache/jdo/tck/pc/company/companyForSubqueriesTests.xml b/tck/src/main/resources/testdata/org/apache/jdo/tck/pc/company/companyForSubqueriesTests.xml
deleted file mode 100644
index 389bb7f5..00000000
--- a/tck/src/main/resources/testdata/org/apache/jdo/tck/pc/company/companyForSubqueriesTests.xml
+++ /dev/null
@@ -1,282 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<!--
-  Licensed to the Apache Software Foundation (ASF) under one or more
-  contributor license agreements.  See the NOTICE file distributed with
-  this work for additional information regarding copyright ownership.
-  The ASF licenses this file to You under the Apache License, Version 2.0
-  (the "License"); you may not use this file except in compliance with
-  the License.  You may obtain a copy of the License at
-
-      https://www.apache.org/licenses/LICENSE-2.0
-
-  Unless required by applicable law or agreed to in writing, software
-  distributed under the License is distributed on an "AS IS" BASIS,
-  WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-  See the License for the specific language governing permissions and
-  limitations under the License.
--->
-<beans xmlns="http://www.springframework.org/schema/beans"
-    xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
-    xsi:schemaLocation="
-        http://www.springframework.org/schema/beans http://www.springframework.org/schema/beans/spring-beans.xsd">
-
-    <description>Company instances for query testing</description>
-
-    <bean id="root" class="java.util.ArrayList">
-        <constructor-arg index="0">
-            <list>
-                <ref bean="company1"/>
-            </list>
-        </constructor-arg>
-    </bean>
-
-    <bean id="company1" factory-bean="companyFactory" factory-method="newCompany">
-        <constructor-arg index="0" type="long"><value>1</value></constructor-arg>
-        <constructor-arg index="1" type="java.lang.String"><value>Sun Microsystems, Inc.</value></constructor-arg>
-        <constructor-arg index="2" type="java.util.Date"><value>11/Apr/1952</value></constructor-arg>
-        <constructor-arg index="3" type="org.apache.jdo.tck.pc.company.IAddress"><ref bean="addr1"/></constructor-arg>
-        <property name="departments">
-            <set>
-                <ref bean="dept1"/>
-                <ref bean="dept2"/>
-            </set>
-        </property>
-    </bean>
-
-    <bean id="room1" factory-bean="companyFactory" factory-method="newMeetingRoom">
-        <constructor-arg index="0" type="long"><value>1</value></constructor-arg>
-        <constructor-arg index="1" type="java.lang.String"><value>Comfy Room</value></constructor-arg>
-    </bean>
-    <bean id="room2" factory-bean="companyFactory" factory-method="newMeetingRoom">
-        <constructor-arg index="0" type="long"><value>2</value></constructor-arg>
-        <constructor-arg index="1" type="java.lang.String"><value>Large Discussion Room</value></constructor-arg>
-    </bean>
-    <bean id="room3" factory-bean="companyFactory" factory-method="newMeetingRoom">
-        <constructor-arg index="0" type="long"><value>3</value></constructor-arg>
-        <constructor-arg index="1" type="java.lang.String"><value>Conference Room</value></constructor-arg>
-    </bean>
-
-    <bean id="dept1" factory-bean="companyFactory" factory-method="newDepartment">
-        <constructor-arg index="0" type="long"><value>1</value></constructor-arg>
-        <constructor-arg index="1" type="java.lang.String" ><value>Development</value></constructor-arg>
-        <property name="company"><ref bean="company1"/></property>
-        <property name="employees">
-            <set>
-                <ref bean="emp1"/>
-                <ref bean="emp2"/>
-                <ref bean="emp3"/>
-                <ref bean="emp4"/>
-                <ref bean="emp5"/>
-                <ref bean="emp6"/>
-            </set>
-        </property>
-        <property name="meetingRooms">
-            <list>
-                <ref bean="room1"/>
-                <ref bean="room2"/>
-            </list>
-        </property>
-    </bean>
-
-    <bean id="dept2" factory-bean="companyFactory" factory-method="newDepartment">
-        <constructor-arg index="0" type="long"><value>2</value></constructor-arg>
-        <constructor-arg index="1" type="java.lang.String" ><value>Human Resources</value></constructor-arg>
-        <property name="company"><ref bean="company1"/></property>
-        <property name="employees">
-            <set>
-                <ref bean="emp7"/>
-                <ref bean="emp8"/>
-                <ref bean="emp9"/>
-                <ref bean="emp10"/>
-            </set>
-        </property>
-        <property name="meetingRooms">
-            <list>
-                <ref bean="room3"/>
-            </list>
-        </property>
-    </bean>
-
-    <bean id="emp1" factory-bean="companyFactory" factory-method="newFullTimeEmployee">
-        <constructor-arg index="0" type="long"><value>1</value></constructor-arg>
-        <constructor-arg index="1" type="java.lang.String"><value>emp1First</value></constructor-arg>
-        <constructor-arg index="2" type="java.lang.String"><value>emp1Last</value></constructor-arg>
-        <constructor-arg index="3" type="java.lang.String"><value>emp1Middle</value></constructor-arg>
-        <constructor-arg index="4" type="java.util.Date"><value>10/Jun/1970</value></constructor-arg>
-        <constructor-arg index="5" type="org.apache.jdo.tck.pc.company.IAddress"><ref bean="addr1"/></constructor-arg>
-        <constructor-arg index="6" type="java.util.Date"><value>1/Jan/1999</value></constructor-arg>
-        <constructor-arg index="7" type="double"><value>30000</value></constructor-arg>
-        <property name="weeklyhours"><value>40</value></property>
-        <property name="department"><ref bean="dept1"/></property>
-        <property name="manager"><null/></property>
-        <property name="team">
-            <set>
-                <ref bean="emp2"/>
-                <ref bean="emp3"/>
-                <ref bean="emp10"/>
-            </set>
-        </property>
-    </bean>
-    <bean id="emp2" factory-bean="companyFactory" factory-method="newFullTimeEmployee">
-        <constructor-arg index="0" type="long"><value>2</value></constructor-arg>
-        <constructor-arg index="1" type="java.lang.String"><value>emp2First</value></constructor-arg>
-        <constructor-arg index="2" type="java.lang.String"><value>emp2Last</value></constructor-arg>
-        <constructor-arg index="3" type="java.lang.String"><value>emp2Middle</value></constructor-arg>
-        <constructor-arg index="4" type="java.util.Date"><value>22/Dec/1975</value></constructor-arg>
-        <constructor-arg index="5" type="org.apache.jdo.tck.pc.company.IAddress"><ref bean="addr2"/></constructor-arg>
-        <constructor-arg index="6" type="java.util.Date"><value>1/Jul/2003</value></constructor-arg>
-        <constructor-arg index="7" type="double"><value>20000</value></constructor-arg>
-        <property name="weeklyhours"><value>40</value></property>
-        <property name="department"><ref bean="dept1"/></property>
-        <property name="manager"><ref bean="emp1"/></property>
-        <property name="team"><set/></property>
-    </bean>
-    <bean id="emp3" factory-bean="companyFactory" factory-method="newPartTimeEmployee">
-        <constructor-arg index="0" type="long"><value>3</value></constructor-arg>
-        <constructor-arg index="1" type="java.lang.String"><value>emp3First</value></constructor-arg>
-        <constructor-arg index="2" type="java.lang.String"><value>emp3Last</value></constructor-arg>
-        <constructor-arg index="3" type="java.lang.String"><value>emp3Middle</value></constructor-arg>
-        <constructor-arg index="4" type="java.util.Date"><value>5/Sep/1972</value></constructor-arg>
-        <constructor-arg index="5" type="org.apache.jdo.tck.pc.company.IAddress"><ref bean="addr3"/></constructor-arg>
-        <constructor-arg index="6" type="java.util.Date"><value>15/Aug/2002</value></constructor-arg>
-        <constructor-arg index="7" type="double"><value>10000</value></constructor-arg>
-        <property name="weeklyhours"><value>25</value></property>
-        <property name="department"><ref bean="dept1"/></property>
-        <property name="manager"><ref bean="emp1"/></property>
-        <property name="team"><set/></property>
-    </bean>
-    <bean id="emp4" factory-bean="companyFactory" factory-method="newFullTimeEmployee">
-        <constructor-arg index="0" type="long"><value>4</value></constructor-arg>
-        <constructor-arg index="1" type="java.lang.String"><value>emp4First</value></constructor-arg>
-        <constructor-arg index="2" type="java.lang.String"><value>emp4Last</value></constructor-arg>
-        <constructor-arg index="3" type="java.lang.String"><value>emp4Middle</value></constructor-arg>
-        <constructor-arg index="4" type="java.util.Date"><value>6/Sep/1973</value></constructor-arg>
-        <constructor-arg index="5" type="org.apache.jdo.tck.pc.company.IAddress"><ref bean="addr2"/></constructor-arg>
-        <constructor-arg index="6" type="java.util.Date"><value>15/Apr/2001</value></constructor-arg>
-        <constructor-arg index="7" type="double"><value>25000</value></constructor-arg>
-        <property name="weeklyhours"><value>40</value></property>
-        <property name="department"><ref bean="dept1"/></property>
-        <property name="manager"><null/></property>
-        <property name="team">
-            <set>
-                <ref bean="emp5"/>
-                <ref bean="emp6"/>
-            </set>
-        </property>
-    </bean>
-    <bean id="emp5" factory-bean="companyFactory" factory-method="newPartTimeEmployee">
-        <constructor-arg index="0" type="long"><value>5</value></constructor-arg>
-        <constructor-arg index="1" type="java.lang.String"><value>emp5First</value></constructor-arg>
-        <constructor-arg index="2" type="java.lang.String"><value>emp5Last</value></constructor-arg>
-        <constructor-arg index="3" type="java.lang.String"><value>emp5Middle</value></constructor-arg>
-        <constructor-arg index="4" type="java.util.Date"><value>5/Jul/1962</value></constructor-arg>
-        <constructor-arg index="5" type="org.apache.jdo.tck.pc.company.IAddress"><ref bean="addr2"/></constructor-arg>
-        <constructor-arg index="6" type="java.util.Date"><value>1/Nov/2002</value></constructor-arg>
-        <constructor-arg index="7" type="double"><value>18000</value></constructor-arg>
-        <property name="weeklyhours"><value>35</value></property>
-        <property name="department"><ref bean="dept1"/></property>
-        <property name="manager"><ref bean="emp4"/></property>
-        <property name="team"><set/></property>
-    </bean>
-    <bean id="emp6" factory-bean="companyFactory" factory-method="newFullTimeEmployee">
-        <constructor-arg index="0" type="long"><value>6</value></constructor-arg>
-        <constructor-arg index="1" type="java.lang.String"><value>emp6First</value></constructor-arg>
-        <constructor-arg index="2" type="java.lang.String"><value>emp6Last</value></constructor-arg>
-        <constructor-arg index="3" type="java.lang.String"><value>emp6Middle</value></constructor-arg>
-        <constructor-arg index="4" type="java.util.Date"><value>10/Jun/1969</value></constructor-arg>
-        <constructor-arg index="5" type="org.apache.jdo.tck.pc.company.IAddress"><ref bean="addr3"/></constructor-arg>
-        <constructor-arg index="6" type="java.util.Date"><value>1/Jun/2002</value></constructor-arg>
-        <constructor-arg index="7" type="double"><value>22000</value></constructor-arg>
-        <property name="weeklyhours"><value>40</value></property>
-        <property name="department"><ref bean="dept1"/></property>
-        <property name="manager"><ref bean="emp4"/></property>
-        <property name="team"><set/></property>
-    </bean>
-    <bean id="emp7" factory-bean="companyFactory" factory-method="newFullTimeEmployee">
-        <constructor-arg index="0" type="long"><value>7</value></constructor-arg>
-        <constructor-arg index="1" type="java.lang.String"><value>emp7First</value></constructor-arg>
-        <constructor-arg index="2" type="java.lang.String"><value>emp7Last</value></constructor-arg>
-        <constructor-arg index="3" type="java.lang.String"><value>emp7Middle</value></constructor-arg>
-        <constructor-arg index="4" type="java.util.Date"><value>10/Jun/1970</value></constructor-arg>
-        <constructor-arg index="5" type="org.apache.jdo.tck.pc.company.IAddress"><ref bean="addr1"/></constructor-arg>
-        <constructor-arg index="6" type="java.util.Date"><value>1/Jan/2000</value></constructor-arg>
-        <constructor-arg index="7" type="double"><value>40000</value></constructor-arg>
-        <property name="weeklyhours"><value>40</value></property>
-        <property name="department"><ref bean="dept2"/></property>
-        <property name="manager"><null/></property>
-        <property name="team">
-            <set>
-                <ref bean="emp8"/>
-                <ref bean="emp9"/>
-            </set>
-        </property>
-    </bean>
-    <bean id="emp8" factory-bean="companyFactory" factory-method="newPartTimeEmployee">
-        <constructor-arg index="0" type="long"><value>8</value></constructor-arg>
-        <constructor-arg index="1" type="java.lang.String"><value>emp8First</value></constructor-arg>
-        <constructor-arg index="2" type="java.lang.String"><value>emp8Last</value></constructor-arg>
-        <constructor-arg index="3" type="java.lang.String"><value>emp8Middle</value></constructor-arg>
-        <constructor-arg index="4" type="java.util.Date"><value>22/Dec/1975</value></constructor-arg>
-        <constructor-arg index="5" type="org.apache.jdo.tck.pc.company.IAddress"><ref bean="addr2"/></constructor-arg>
-        <constructor-arg index="6" type="java.util.Date"><value>1/Aug/2003</value></constructor-arg>
-        <constructor-arg index="7" type="double"><value>10000</value></constructor-arg>
-        <property name="weeklyhours"><value>15</value></property>
-        <property name="department"><ref bean="dept2"/></property>
-        <property name="manager"><ref bean="emp7"/></property>
-        <property name="team"><set/></property>
-    </bean>
-    <bean id="emp9" factory-bean="companyFactory" factory-method="newPartTimeEmployee">
-        <constructor-arg index="0" type="long"><value>9</value></constructor-arg>
-        <constructor-arg index="1" type="java.lang.String"><value>emp9First</value></constructor-arg>
-        <constructor-arg index="2" type="java.lang.String"><value>emp9Last</value></constructor-arg>
-        <constructor-arg index="3" type="java.lang.String"><value>emp9Middle</value></constructor-arg>
-        <constructor-arg index="4" type="java.util.Date"><value>5/Sep/1972</value></constructor-arg>
-        <constructor-arg index="5" type="org.apache.jdo.tck.pc.company.IAddress"><ref bean="addr3"/></constructor-arg>
-        <constructor-arg index="6" type="java.util.Date"><value>1/May/2002</value></constructor-arg>
-        <constructor-arg index="7" type="double"><value>12000</value></constructor-arg>
-        <property name="weeklyhours"><value>20</value></property>
-        <property name="department"><ref bean="dept2"/></property>
-        <property name="manager"><ref bean="emp7"/></property>
-        <property name="team"><set/></property>
-    </bean>
-    <bean id="emp10" factory-bean="companyFactory" factory-method="newFullTimeEmployee">
-        <constructor-arg index="0" type="long"><value>10</value></constructor-arg>
-        <constructor-arg index="1" type="java.lang.String"><value>emp10First</value></constructor-arg>
-        <constructor-arg index="2" type="java.lang.String"><value>emp10Last</value></constructor-arg>
-        <constructor-arg index="3" type="java.lang.String"><value>emp10Middle</value></constructor-arg>
-        <constructor-arg index="4" type="java.util.Date"><value>5/Sep/1972</value></constructor-arg>
-        <constructor-arg index="5" type="org.apache.jdo.tck.pc.company.IAddress"><ref bean="addr3"/></constructor-arg>
-        <constructor-arg index="6" type="java.util.Date"><value>1/Oct/2002</value></constructor-arg>
-        <constructor-arg index="7" type="double"><value>24000</value></constructor-arg>
-        <property name="weeklyhours"><value>40</value></property>
-        <property name="department"><ref bean="dept2"/></property>
-        <property name="manager"><ref bean="emp1"/></property>
-        <property name="team"><set/></property>
-    </bean>
-
-    <bean id="addr1" factory-bean="companyFactory" factory-method="newAddress">
-        <constructor-arg index="0" type="long"><value>1</value></constructor-arg>
-        <constructor-arg index="1" type="java.lang.String"><value>Unter den Linden 1</value></constructor-arg>
-        <constructor-arg index="2" type="java.lang.String"><value>Berlin</value></constructor-arg>
-        <constructor-arg index="3" type="java.lang.String"><value>  </value></constructor-arg>
-        <constructor-arg index="4" type="java.lang.String"><value>12345</value></constructor-arg>
-        <constructor-arg index="5" type="java.lang.String"><value>Germany</value></constructor-arg>
-    </bean>
-    <bean id="addr2" factory-bean="companyFactory" factory-method="newAddress">
-        <constructor-arg index="0" type="long"><value>2</value></constructor-arg>
-        <constructor-arg index="1" type="java.lang.String"><value>Broadway 1</value></constructor-arg>
-        <constructor-arg index="2" type="java.lang.String"><value>New York</value></constructor-arg>
-        <constructor-arg index="3" type="java.lang.String"><value>NY</value></constructor-arg>
-        <constructor-arg index="4" type="java.lang.String"><value>10000</value></constructor-arg>
-        <constructor-arg index="5" type="java.lang.String"><value>USA</value></constructor-arg>
-    </bean>
-    <bean id="addr3" factory-bean="companyFactory" factory-method="newAddress">
-        <constructor-arg index="0" type="long"><value>3</value></constructor-arg>
-        <constructor-arg index="1" type="java.lang.String"><value>Market St.</value></constructor-arg>
-        <constructor-arg index="2" type="java.lang.String"><value>San Francisco</value></constructor-arg>
-        <constructor-arg index="3" type="java.lang.String"><value>CA</value></constructor-arg>
-        <constructor-arg index="4" type="java.lang.String"><value>94102</value></constructor-arg>
-        <constructor-arg index="5" type="java.lang.String"><value>USA</value></constructor-arg>
-    </bean>
-
-</beans>
diff --git a/tck/src/main/resources/testdata/org/apache/jdo/tck/pc/company/companyM-MRelationships.xml b/tck/src/main/resources/testdata/org/apache/jdo/tck/pc/company/companyM-MRelationships.xml
deleted file mode 100644
index 310d0284..00000000
--- a/tck/src/main/resources/testdata/org/apache/jdo/tck/pc/company/companyM-MRelationships.xml
+++ /dev/null
@@ -1,246 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<!--
-  Licensed to the Apache Software Foundation (ASF) under one or more
-  contributor license agreements.  See the NOTICE file distributed with
-  this work for additional information regarding copyright ownership.
-  The ASF licenses this file to You under the Apache License, Version 2.0
-  (the "License"); you may not use this file except in compliance with
-  the License.  You may obtain a copy of the License at
-
-      https://www.apache.org/licenses/LICENSE-2.0
-
-  Unless required by applicable law or agreed to in writing, software
-  distributed under the License is distributed on an "AS IS" BASIS,
-  WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-  See the License for the specific language governing permissions and
-  limitations under the License.
--->
-<beans xmlns="http://www.springframework.org/schema/beans"
-    xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
-    xsi:schemaLocation="
-        http://www.springframework.org/schema/beans http://www.springframework.org/schema/beans/spring-beans.xsd">
-
-    <description>Company instances for CompletenessTest with m-m relationships</description>
-
-    <bean id="root" class="java.util.ArrayList">
-        <constructor-arg index="0">
-            <list>
-                <ref bean="company1"/>
-                <ref bean="dept1"/>
-                <ref bean="dept2"/>
-                <ref bean="emp1"/>
-                <ref bean="emp2"/>
-                <ref bean="emp3"/>
-                <ref bean="emp4"/>
-                <ref bean="emp5"/>
-                <ref bean="medicalIns1"/>
-                <ref bean="medicalIns2"/>
-                <ref bean="medicalIns3"/>
-                <ref bean="dentalIns1"/>
-            </list>
-        </constructor-arg>
-    </bean>
-
-    <bean id="company1" factory-bean="companyFactory" factory-method="newCompany">
-        <constructor-arg index="0" type="long"><value>1</value></constructor-arg>
-        <constructor-arg index="1" type="java.lang.String"><value>Sun Microsystems, Inc.</value></constructor-arg>
-        <constructor-arg index="2" type="java.util.Date"><value>11/Apr/1952</value></constructor-arg>
-    </bean>
-
-    <bean id="dept1" factory-bean="companyFactory" factory-method="newDepartment">
-        <constructor-arg index="0" type="long"><value>1</value></constructor-arg>
-        <constructor-arg index="1" type="java.lang.String" ><value>Development</value></constructor-arg>
-    </bean>
-
-    <bean id="dept2" factory-bean="companyFactory" factory-method="newDepartment">
-        <constructor-arg index="0" type="long"><value>2</value></constructor-arg>
-        <constructor-arg index="1" type="java.lang.String" ><value>Human Resources</value></constructor-arg>
-    </bean>
-
-    <bean id="emp1" factory-bean="companyFactory" factory-method="newFullTimeEmployee">
-        <constructor-arg index="0" type="long"><value>1</value></constructor-arg>
-        <constructor-arg index="1" type="java.lang.String"><value>emp1First</value></constructor-arg>
-        <constructor-arg index="2" type="java.lang.String"><value>emp1Last</value></constructor-arg>
-        <constructor-arg index="3" type="java.lang.String"><value>emp1Middle</value></constructor-arg>
-        <constructor-arg index="4" type="java.util.Date"><value>10/Jun/1970</value></constructor-arg>
-        <constructor-arg index="5" type="java.util.Date"><value>1/Jan/1999</value></constructor-arg>
-        <constructor-arg index="6" type="double"><value>20000</value></constructor-arg>
-        <property name="weeklyhours"><value>40</value></property>
-        <property name="reviewedProjects">
-            <set>
-                <ref bean="proj3"/>
-            </set>
-        </property>
-        <property name="projects">
-            <set>
-                <ref bean="proj1"/>
-            </set>
-        </property>
-    </bean>
-    <bean id="emp2" factory-bean="companyFactory" factory-method="newFullTimeEmployee">
-        <constructor-arg index="0" type="long"><value>2</value></constructor-arg>
-        <constructor-arg index="1" type="java.lang.String"><value>emp2First</value></constructor-arg>
-        <constructor-arg index="2" type="java.lang.String"><value>emp2Last</value></constructor-arg>
-        <constructor-arg index="3" type="java.lang.String"><value>emp2Middle</value></constructor-arg>
-        <constructor-arg index="4" type="java.util.Date"><value>22/Dec/1975</value></constructor-arg>
-        <constructor-arg index="5" type="java.util.Date"><value>1/Jul/2003</value></constructor-arg>
-        <constructor-arg index="6" type="double"><value>10000</value></constructor-arg>
-        <property name="weeklyhours"><value>40</value></property>
-        <property name="projects">
-            <set>
-                <ref bean="proj1"/>
-                <ref bean="proj2"/>
-            </set>
-        </property>
-    </bean>
-    <bean id="emp3" factory-bean="companyFactory" factory-method="newPartTimeEmployee">
-        <constructor-arg index="0" type="long"><value>3</value></constructor-arg>
-        <constructor-arg index="1" type="java.lang.String"><value>emp3First</value></constructor-arg>
-        <constructor-arg index="2" type="java.lang.String"><value>emp3Last</value></constructor-arg>
-        <constructor-arg index="3" type="java.lang.String"><value>emp3Middle</value></constructor-arg>
-        <constructor-arg index="4" type="java.util.Date"><value>5/Sep/1972</value></constructor-arg>
-        <constructor-arg index="5" type="java.util.Date"><value>15/Aug/2002</value></constructor-arg>
-        <constructor-arg index="6" type="double"><value>15</value></constructor-arg>
-        <property name="weeklyhours"><value>19</value></property>
-        <property name="projects">
-            <set>
-                <ref bean="proj1"/>
-                <ref bean="proj2"/>
-            </set>
-        </property>
-    </bean>
-    <bean id="emp4" factory-bean="companyFactory" factory-method="newPartTimeEmployee">
-        <constructor-arg index="0" type="long"><value>4</value></constructor-arg>
-        <constructor-arg index="1" type="java.lang.String"><value>emp4First</value></constructor-arg>
-        <constructor-arg index="2" type="java.lang.String"><value>emp4Last</value></constructor-arg>
-        <constructor-arg index="3" type="java.lang.String"><value>emp4Middle</value></constructor-arg>
-        <constructor-arg index="4" type="java.util.Date"><value>6/Sep/1973</value></constructor-arg>
-        <constructor-arg index="5" type="java.util.Date"><value>15/Apr/2001</value></constructor-arg>
-        <constructor-arg index="6" type="double"><value>13</value></constructor-arg>
-        <property name="projects">
-            <set>
-                <ref bean="proj3"/>
-            </set>
-        </property>
-        <property name="reviewedProjects">
-            <set>
-                <ref bean="proj2"/>
-            </set>
-        </property>
-    </bean>
-    <bean id="emp5" factory-bean="companyFactory" factory-method="newFullTimeEmployee">
-        <constructor-arg index="0" type="long"><value>5</value></constructor-arg>
-        <constructor-arg index="1" type="java.lang.String"><value>emp5First</value></constructor-arg>
-        <constructor-arg index="2" type="java.lang.String"><value>emp5Last</value></constructor-arg>
-        <constructor-arg index="3" type="java.lang.String"><value>emp5Middle</value></constructor-arg>
-        <constructor-arg index="4" type="java.util.Date"><value>5/Jul/1962</value></constructor-arg>
-        <constructor-arg index="5" type="java.util.Date"><value>15/Aug/1998</value></constructor-arg>
-        <constructor-arg index="6" type="double"><value>45000</value></constructor-arg>
-        <property name="projects">
-            <set>
-                <ref bean="proj3"/>
-            </set>
-        </property>
-        <property name="reviewedProjects">
-            <set>
-                <ref bean="proj2"/>
-            </set>
-        </property>
-    </bean>
-
-    <bean id="addr1" factory-bean="companyFactory" factory-method="newAddress">
-        <constructor-arg index="0" type="long"><value>1</value></constructor-arg>
-        <constructor-arg index="1" type="java.lang.String"><value>Unter den Linden 1</value></constructor-arg>
-        <constructor-arg index="2" type="java.lang.String"><value>Berlin</value></constructor-arg>
-        <constructor-arg index="3" type="java.lang.String"><value>  </value></constructor-arg>
-        <constructor-arg index="4" type="java.lang.String"><value>12345</value></constructor-arg>
-        <constructor-arg index="5" type="java.lang.String"><value>Germany</value></constructor-arg>
-    </bean>
-    <bean id="addr2" factory-bean="companyFactory" factory-method="newAddress">
-        <constructor-arg index="0" type="long"><value>2</value></constructor-arg>
-        <constructor-arg index="1" type="java.lang.String"><value>Broadway 1</value></constructor-arg>
-        <constructor-arg index="2" type="java.lang.String"><value>New York</value></constructor-arg>
-        <constructor-arg index="3" type="java.lang.String"><value>NY</value></constructor-arg>
-        <constructor-arg index="4" type="java.lang.String"><value>10000</value></constructor-arg>
-        <constructor-arg index="5" type="java.lang.String"><value>USA</value></constructor-arg>
-    </bean>
-    <bean id="addr3" factory-bean="companyFactory" factory-method="newAddress">
-        <constructor-arg index="0" type="long"><value>3</value></constructor-arg>
-        <constructor-arg index="1" type="java.lang.String"><value>Market St.</value></constructor-arg>
-        <constructor-arg index="2" type="java.lang.String"><value>San Francisco</value></constructor-arg>
-        <constructor-arg index="3" type="java.lang.String"><value>CA</value></constructor-arg>
-        <constructor-arg index="4" type="java.lang.String"><value>94102</value></constructor-arg>
-        <constructor-arg index="5" type="java.lang.String"><value>USA</value></constructor-arg>
-    </bean>
-
-    <bean id="medicalIns1" factory-bean="companyFactory" factory-method="newMedicalInsurance">
-        <constructor-arg index="0" type="long"><value>1</value></constructor-arg>
-        <constructor-arg index="1" type="java.lang.String"><value>Carrier1</value></constructor-arg>
-        <constructor-arg index="2" type="java.lang.String"><value>PPO</value></constructor-arg>
-    </bean>
-
-    <bean id="medicalIns2" factory-bean="companyFactory" factory-method="newMedicalInsurance">
-        <constructor-arg index="0" type="long"><value>2</value></constructor-arg>
-        <constructor-arg index="1" type="java.lang.String"><value>Carrier2</value></constructor-arg>
-        <constructor-arg index="2" type="java.lang.String"><value>HMO</value></constructor-arg>
-    </bean>
-
-    <bean id="medicalIns3" factory-bean="companyFactory" factory-method="newMedicalInsurance">
-        <constructor-arg index="0" type="long"><value>3</value></constructor-arg>
-        <constructor-arg index="1" type="java.lang.String"><value>Carrier2</value></constructor-arg>
-        <constructor-arg index="2" type="java.lang.String"><value>HMO</value></constructor-arg>
-    </bean>
-
-    <bean id="dentalIns1" factory-bean="companyFactory" factory-method="newDentalInsurance">
-        <constructor-arg index="0" type="long"><value>4</value></constructor-arg>
-        <constructor-arg index="1" type="java.lang.String"><value>Carrier2</value></constructor-arg>
-        <constructor-arg index="2" type="java.math.BigDecimal"><value>99.999</value></constructor-arg>
-    </bean>
-
-    <bean id="proj1" factory-bean="companyFactory" factory-method="newProject">
-        <constructor-arg index="0" type="long"><value>1</value></constructor-arg>
-        <constructor-arg index="1" type="java.lang.String"><value>orange</value></constructor-arg>
-        <constructor-arg index="2" type="java.math.BigDecimal"><value>2500000.99</value></constructor-arg>
-        <property name="members">
-            <set>
-                <ref bean="emp1"/>
-                <ref bean="emp2"/>
-                <ref bean="emp3"/>
-            </set>
-        </property>
-    </bean>
-    <bean id="proj2" factory-bean="companyFactory" factory-method="newProject">
-        <constructor-arg index="0" type="long"><value>2</value></constructor-arg>
-        <constructor-arg index="1" type="java.lang.String"><value>blue</value></constructor-arg>
-        <constructor-arg index="2" type="java.math.BigDecimal"><value>50000.00</value></constructor-arg>
-        <property name="reviewers">
-            <set>
-                <ref bean="emp4"/>
-                <ref bean="emp5"/>
-            </set>
-        </property>
-        <property name="members">
-            <set>
-                <ref bean="emp2"/>
-                <ref bean="emp3"/>
-            </set>
-        </property>
-    </bean>
-    <bean id="proj3" factory-bean="companyFactory" factory-method="newProject">
-        <constructor-arg index="0" type="long"><value>3</value></constructor-arg>
-        <constructor-arg index="1" type="java.lang.String"><value>green</value></constructor-arg>
-        <constructor-arg index="2" type="java.math.BigDecimal"><value>2000.99</value></constructor-arg>
-        <property name="reviewers">
-            <set>
-                <ref bean="emp1"/>
-            </set>
-        </property>
-        <property name="members">
-            <set>
-                <ref bean="emp4"/>
-                <ref bean="emp5"/>
-            </set>
-        </property>
-    </bean>
-</beans>
-
diff --git a/tck/src/main/resources/testdata/org/apache/jdo/tck/pc/company/companyNoRelationships.xml b/tck/src/main/resources/testdata/org/apache/jdo/tck/pc/company/companyNoRelationships.xml
deleted file mode 100644
index 683c9771..00000000
--- a/tck/src/main/resources/testdata/org/apache/jdo/tck/pc/company/companyNoRelationships.xml
+++ /dev/null
@@ -1,152 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<!--
-  Licensed to the Apache Software Foundation (ASF) under one or more
-  contributor license agreements.  See the NOTICE file distributed with
-  this work for additional information regarding copyright ownership.
-  The ASF licenses this file to You under the Apache License, Version 2.0
-  (the "License"); you may not use this file except in compliance with
-  the License.  You may obtain a copy of the License at
-
-      https://www.apache.org/licenses/LICENSE-2.0
-
-  Unless required by applicable law or agreed to in writing, software
-  distributed under the License is distributed on an "AS IS" BASIS,
-  WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-  See the License for the specific language governing permissions and
-  limitations under the License.
--->
-<beans xmlns="http://www.springframework.org/schema/beans"
-    xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
-    xsi:schemaLocation="
-        http://www.springframework.org/schema/beans http://www.springframework.org/schema/beans/spring-beans.xsd">
-
-    <description>Company instances for CompletenessTest with no relationships</description>
-
-    <bean id="root" class="java.util.ArrayList">
-        <constructor-arg index="0">
-            <list>
-                <ref bean="company1"/>
-                <ref bean="dept1"/>
-                <ref bean="dept2"/>
-                <ref bean="emp1"/>
-                <ref bean="emp2"/>
-                <ref bean="emp3"/>
-                <ref bean="emp4"/>
-                <ref bean="emp5"/>
-                <ref bean="medicalIns1"/>
-                <ref bean="medicalIns2"/>
-                <ref bean="medicalIns3"/>
-                <ref bean="dentalIns1"/>
-                <ref bean="proj1"/>
-                <ref bean="proj2"/>
-                <ref bean="proj3"/>
-            </list>
-        </constructor-arg>
-    </bean>
-
-    <bean id="company1" factory-bean="companyFactory" factory-method="newCompany">
-        <constructor-arg index="0" type="long"><value>1</value></constructor-arg>
-        <constructor-arg index="1" type="java.lang.String"><value>Sun Microsystems, Inc.</value></constructor-arg>
-        <constructor-arg index="2" type="java.util.Date"><value>11/Apr/1952</value></constructor-arg>
-    </bean>
-
-    <bean id="dept1" factory-bean="companyFactory" factory-method="newDepartment">
-        <constructor-arg index="0" type="long"><value>1</value></constructor-arg>
-        <constructor-arg index="1" type="java.lang.String" ><value>Development</value></constructor-arg>
-    </bean>
-
-    <bean id="dept2" factory-bean="companyFactory" factory-method="newDepartment">
-        <constructor-arg index="0" type="long"><value>2</value></constructor-arg>
-        <constructor-arg index="1" type="java.lang.String" ><value>Human Resources</value></constructor-arg>
-    </bean>
-
-    <bean id="emp1" factory-bean="companyFactory" factory-method="newFullTimeEmployee">
-        <constructor-arg index="0" type="long"><value>1</value></constructor-arg>
-        <constructor-arg index="1" type="java.lang.String"><value>emp1First</value></constructor-arg>
-        <constructor-arg index="2" type="java.lang.String"><value>emp1Last</value></constructor-arg>
-        <constructor-arg index="3" type="java.lang.String"><value>emp1Middle</value></constructor-arg>
-        <constructor-arg index="4" type="java.util.Date"><value>10/Jun/1970</value></constructor-arg>
-        <constructor-arg index="5" type="java.util.Date"><value>1/Jan/1999</value></constructor-arg>
-        <constructor-arg index="6" type="double"><value>20000</value></constructor-arg>
-        <property name="weeklyhours"><value>40</value></property>
-    </bean>
-    <bean id="emp2" factory-bean="companyFactory" factory-method="newFullTimeEmployee">
-        <constructor-arg index="0" type="long"><value>2</value></constructor-arg>
-        <constructor-arg index="1" type="java.lang.String"><value>emp2First</value></constructor-arg>
-        <constructor-arg index="2" type="java.lang.String"><value>emp2Last</value></constructor-arg>
-        <constructor-arg index="3" type="java.lang.String"><value>emp2Middle</value></constructor-arg>
-        <constructor-arg index="4" type="java.util.Date"><value>22/Dec/1975</value></constructor-arg>
-        <constructor-arg index="5" type="java.util.Date"><value>1/Jul/2003</value></constructor-arg>
-        <constructor-arg index="6" type="double"><value>10000</value></constructor-arg>
-        <property name="weeklyhours"><value>40</value></property>
-    </bean>
-    <bean id="emp3" factory-bean="companyFactory" factory-method="newPartTimeEmployee">
-        <constructor-arg index="0" type="long"><value>3</value></constructor-arg>
-        <constructor-arg index="1" type="java.lang.String"><value>emp3First</value></constructor-arg>
-        <constructor-arg index="2" type="java.lang.String"><value>emp3Last</value></constructor-arg>
-        <constructor-arg index="3" type="java.lang.String"><value>emp3Middle</value></constructor-arg>
-        <constructor-arg index="4" type="java.util.Date"><value>5/Sep/1972</value></constructor-arg>
-        <constructor-arg index="5" type="java.util.Date"><value>15/Aug/2002</value></constructor-arg>
-        <constructor-arg index="6" type="double"><value>15</value></constructor-arg>
-        <property name="weeklyhours"><value>19</value></property>
-    </bean>
-    <bean id="emp4" factory-bean="companyFactory" factory-method="newPartTimeEmployee">
-        <constructor-arg index="0" type="long"><value>4</value></constructor-arg>
-        <constructor-arg index="1" type="java.lang.String"><value>emp4First</value></constructor-arg>
-        <constructor-arg index="2" type="java.lang.String"><value>emp4Last</value></constructor-arg>
-        <constructor-arg index="3" type="java.lang.String"><value>emp4Middle</value></constructor-arg>
-        <constructor-arg index="4" type="java.util.Date"><value>6/Sep/1973</value></constructor-arg>
-        <constructor-arg index="5" type="java.util.Date"><value>15/Apr/2001</value></constructor-arg>
-        <constructor-arg index="6" type="double"><value>13</value></constructor-arg>
-    </bean>
-    <bean id="emp5" factory-bean="companyFactory" factory-method="newFullTimeEmployee">
-        <constructor-arg index="0" type="long"><value>5</value></constructor-arg>
-        <constructor-arg index="1" type="java.lang.String"><value>emp5First</value></constructor-arg>
-        <constructor-arg index="2" type="java.lang.String"><value>emp5Last</value></constructor-arg>
-        <constructor-arg index="3" type="java.lang.String"><value>emp5Middle</value></constructor-arg>
-        <constructor-arg index="4" type="java.util.Date"><value>5/Jul/1962</value></constructor-arg>
-        <constructor-arg index="5" type="java.util.Date"><value>15/Aug/1998</value></constructor-arg>
-        <constructor-arg index="6" type="double"><value>45000</value></constructor-arg>
-    </bean>
-
-    <bean id="medicalIns1" factory-bean="companyFactory" factory-method="newMedicalInsurance">
-        <constructor-arg index="0" type="long"><value>1</value></constructor-arg>
-        <constructor-arg index="1" type="java.lang.String"><value>Carrier1</value></constructor-arg>
-        <constructor-arg index="2" type="java.lang.String"><value>PPO</value></constructor-arg>
-    </bean>
-
-    <bean id="medicalIns2" factory-bean="companyFactory" factory-method="newMedicalInsurance">
-        <constructor-arg index="0" type="long"><value>2</value></constructor-arg>
-        <constructor-arg index="1" type="java.lang.String"><value>Carrier2</value></constructor-arg>
-        <constructor-arg index="2" type="java.lang.String"><value>HMO</value></constructor-arg>
-    </bean>
-
-    <bean id="medicalIns3" factory-bean="companyFactory" factory-method="newMedicalInsurance">
-        <constructor-arg index="0" type="long"><value>3</value></constructor-arg>
-        <constructor-arg index="1" type="java.lang.String"><value>Carrier2</value></constructor-arg>
-        <constructor-arg index="2" type="java.lang.String"><value>HMO</value></constructor-arg>
-    </bean>
-
-    <bean id="dentalIns1" factory-bean="companyFactory" factory-method="newDentalInsurance">
-        <constructor-arg index="0" type="long"><value>4</value></constructor-arg>
-        <constructor-arg index="1" type="java.lang.String"><value>Carrier2</value></constructor-arg>
-        <constructor-arg index="2" type="java.math.BigDecimal"><value>99.999</value></constructor-arg>
-    </bean>
-
-    <bean id="proj1" factory-bean="companyFactory" factory-method="newProject">
-        <constructor-arg index="0" type="long"><value>1</value></constructor-arg>
-        <constructor-arg index="1" type="java.lang.String"><value>orange</value></constructor-arg>
-        <constructor-arg index="2" type="java.math.BigDecimal"><value>2500000.99</value></constructor-arg>
-    </bean>
-    <bean id="proj2" factory-bean="companyFactory" factory-method="newProject">
-        <constructor-arg index="0" type="long"><value>2</value></constructor-arg>
-        <constructor-arg index="1" type="java.lang.String"><value>blue</value></constructor-arg>
-        <constructor-arg index="2" type="java.math.BigDecimal"><value>50000.00</value></constructor-arg>
-    </bean>
-    <bean id="proj3" factory-bean="companyFactory" factory-method="newProject">
-        <constructor-arg index="0" type="long"><value>3</value></constructor-arg>
-        <constructor-arg index="1" type="java.lang.String"><value>green</value></constructor-arg>
-        <constructor-arg index="2" type="java.math.BigDecimal"><value>2000.99</value></constructor-arg>
-    </bean>
-</beans>
-
diff --git a/tck/src/main/resources/testdata/org/apache/jdo/tck/pc/companyListWithoutJoin/companyListWithoutJoin.xml b/tck/src/main/resources/testdata/org/apache/jdo/tck/pc/companyListWithoutJoin/companyListWithoutJoin.xml
deleted file mode 100644
index f7a4c9f1..00000000
--- a/tck/src/main/resources/testdata/org/apache/jdo/tck/pc/companyListWithoutJoin/companyListWithoutJoin.xml
+++ /dev/null
@@ -1,154 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<!--
-  Licensed to the Apache Software Foundation (ASF) under one or more
-  contributor license agreements.  See the NOTICE file distributed with
-  this work for additional information regarding copyright ownership.
-  The ASF licenses this file to You under the Apache License, Version 2.0
-  (the "License"); you may not use this file except in compliance with
-  the License.  You may obtain a copy of the License at
-
-      https://www.apache.org/licenses/LICENSE-2.0
-
-  Unless required by applicable law or agreed to in writing, software
-  distributed under the License is distributed on an "AS IS" BASIS,
-  WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-  See the License for the specific language governing permissions and
-  limitations under the License.
--->
-<beans xmlns="http://www.springframework.org/schema/beans"
-    xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
-    xsi:schemaLocation="
-        http://www.springframework.org/schema/beans http://www.springframework.org/schema/beans/spring-beans.xsd">
-    
-    <description>Company instances for CompletenessTest with Map without join table</description>
-
-    <bean id="root" class="java.util.ArrayList">
-        <constructor-arg index="0">
-            <list>
-                <ref bean="company1"/>
-            </list>
-        </constructor-arg>
-    </bean>
-
-    <bean id="company1" factory-bean="companyFactory" factory-method="newCompany">
-        <constructor-arg index="0" type="long"><value>1</value></constructor-arg>
-        <constructor-arg index="1" type="java.lang.String"><value>Sun Microsystems, Inc.</value></constructor-arg>
-        <constructor-arg index="2" type="java.util.Date"><value>11/Apr/1952</value></constructor-arg>
-        <property name="departments">
-            <set>
-                <ref bean="dept1"/>
-                <ref bean="dept2"/>
-            </set>
-        </property>
-    </bean>
-
-    <bean id="dept1" factory-bean="companyFactory" factory-method="newDepartment">
-        <constructor-arg index="0" type="long"><value>1</value></constructor-arg>
-        <constructor-arg index="1" type="java.lang.String" ><value>Development</value></constructor-arg>
-        <property name="company"><ref bean="company1"/></property>
-        <property name="employees">
-            <list>
-                <ref bean="emp1"/>
-                <ref bean="emp2"/>
-                <ref bean="emp3"/>
-            </list>
-        </property>
-    </bean>
-
-    <bean id="dept2" factory-bean="companyFactory" factory-method="newDepartment">
-        <constructor-arg index="0" type="long"><value>2</value></constructor-arg>
-        <constructor-arg index="1" type="java.lang.String" ><value>Human Resources</value></constructor-arg>
-        <property name="company"><ref bean="company1"/></property>
-        <property name="employees">
-            <list>
-                <ref bean="emp4"/>
-                <ref bean="emp5"/>
-            </list>
-        </property>
-    </bean>
-
-    <bean id="emp1" factory-bean="companyFactory" factory-method="newFullTimeEmployee">
-        <constructor-arg index="0" type="long"><value>1</value></constructor-arg>
-        <constructor-arg index="1" type="java.lang.String"><value>emp1First</value></constructor-arg>
-        <constructor-arg index="2" type="java.lang.String"><value>emp1Last</value></constructor-arg>
-        <constructor-arg index="3" type="java.lang.String"><value>emp1Middle</value></constructor-arg>
-        <constructor-arg index="4" type="java.util.Date"><value>10/Jun/1970</value></constructor-arg>
-        <constructor-arg index="5" type="java.util.Date"><value>1/Jan/1999</value></constructor-arg>
-        <constructor-arg index="6" type="double"><value>60000</value></constructor-arg>
-        <property name="weeklyhours"><value>40</value></property>
-        <property name="department"><ref bean="dept1"/></property>
-        <property name="fundingDept"><ref bean="dept2"/></property>
-        <property name="manager"><ref bean="emp2"/></property>
-        <property name="hradvisor"><ref bean="emp5"/></property>
-    </bean>
-    <bean id="emp2" factory-bean="companyFactory" factory-method="newFullTimeEmployee">
-        <constructor-arg index="0" type="long"><value>2</value></constructor-arg>
-        <constructor-arg index="1" type="java.lang.String"><value>emp2First</value></constructor-arg>
-        <constructor-arg index="2" type="java.lang.String"><value>emp2Last</value></constructor-arg>
-        <constructor-arg index="3" type="java.lang.String"><value>emp2Middle</value></constructor-arg>
-        <constructor-arg index="4" type="java.util.Date"><value>22/Dec/1975</value></constructor-arg>
-        <constructor-arg index="5" type="java.util.Date"><value>1/Jul/2003</value></constructor-arg>
-        <constructor-arg index="6" type="double"><value>47000</value></constructor-arg>
-        <property name="weeklyhours"><value>40</value></property>
-        <property name="department"><ref bean="dept1"/></property>
-        <property name="fundingDept"><ref bean="dept1"/></property>
-        <property name="hradvisor"><ref bean="emp5"/></property>
-        <property name="team">
-            <set>
-                <ref bean="emp1"/>
-                <ref bean="emp3"/>
-                <ref bean="emp4"/>
-                <ref bean="emp5"/>
-            </set>
-        </property>
-    </bean>
-    <bean id="emp3" factory-bean="companyFactory" factory-method="newPartTimeEmployee">
-        <constructor-arg index="0" type="long"><value>3</value></constructor-arg>
-        <constructor-arg index="1" type="java.lang.String"><value>emp3First</value></constructor-arg>
-        <constructor-arg index="2" type="java.lang.String"><value>emp3Last</value></constructor-arg>
-        <constructor-arg index="3" type="java.lang.String"><value>emp3Middle</value></constructor-arg>
-        <constructor-arg index="4" type="java.util.Date"><value>5/Sep/1972</value></constructor-arg>
-        <constructor-arg index="5" type="java.util.Date"><value>15/Aug/2002</value></constructor-arg>
-        <constructor-arg index="6" type="double"><value>67.00</value></constructor-arg>
-        <property name="weeklyhours"><value>19</value></property>
-        <property name="department"><ref bean="dept1"/></property>
-        <property name="fundingDept"><ref bean="dept1"/></property>
-        <property name="manager"><ref bean="emp2"/></property>
-        <property name="hradvisor"><ref bean="emp5"/></property>
-    </bean>
-    <bean id="emp4" factory-bean="companyFactory" factory-method="newPartTimeEmployee">
-        <constructor-arg index="0" type="long"><value>4</value></constructor-arg>
-        <constructor-arg index="1" type="java.lang.String"><value>emp4First</value></constructor-arg>
-        <constructor-arg index="2" type="java.lang.String"><value>emp4Last</value></constructor-arg>
-        <constructor-arg index="3" type="java.lang.String"><value>emp4Middle</value></constructor-arg>
-        <constructor-arg index="4" type="java.util.Date"><value>6/Sep/1973</value></constructor-arg>
-        <constructor-arg index="5" type="java.util.Date"><value>15/Apr/2001</value></constructor-arg>
-        <constructor-arg index="6" type="double"><value>37.00</value></constructor-arg>
-        <property name="department"><ref bean="dept2"/></property>
-        <property name="fundingDept"><ref bean="dept2"/></property>
-        <property name="manager"><ref bean="emp2"/></property>
-        <property name="hradvisor"><ref bean="emp5"/></property>
-    </bean>
-    <bean id="emp5" factory-bean="companyFactory" factory-method="newFullTimeEmployee">
-        <constructor-arg index="0" type="long"><value>5</value></constructor-arg>
-        <constructor-arg index="1" type="java.lang.String"><value>emp5First</value></constructor-arg>
-        <constructor-arg index="2" type="java.lang.String"><value>emp5Last</value></constructor-arg>
-        <constructor-arg index="3" type="java.lang.String"><value>emp5Middle</value></constructor-arg>
-        <constructor-arg index="4" type="java.util.Date"><value>5/Jul/1962</value></constructor-arg>
-        <constructor-arg index="5" type="java.util.Date"><value>15/Aug/1998</value></constructor-arg>
-        <constructor-arg index="6" type="double"><value>73000</value></constructor-arg>
-        <property name="department"><ref bean="dept2"/></property>
-        <property name="fundingDept"><ref bean="dept2"/></property>
-        <property name="manager"><ref bean="emp2"/></property>
-        <property name="hradvisees">
-            <set>
-                <ref bean="emp1"/>
-                <ref bean="emp2"/>
-                <ref bean="emp3"/>
-                <ref bean="emp4"/>
-            </set>
-        </property>
-    </bean>
-
-</beans>
-
diff --git a/tck/src/main/resources/testdata/org/apache/jdo/tck/pc/companyMapWithoutJoin/companyMapWithoutJoin.xml b/tck/src/main/resources/testdata/org/apache/jdo/tck/pc/companyMapWithoutJoin/companyMapWithoutJoin.xml
deleted file mode 100644
index 2909f7f5..00000000
--- a/tck/src/main/resources/testdata/org/apache/jdo/tck/pc/companyMapWithoutJoin/companyMapWithoutJoin.xml
+++ /dev/null
@@ -1,169 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<!--
-  Licensed to the Apache Software Foundation (ASF) under one or more
-  contributor license agreements.  See the NOTICE file distributed with
-  this work for additional information regarding copyright ownership.
-  The ASF licenses this file to You under the Apache License, Version 2.0
-  (the "License"); you may not use this file except in compliance with
-  the License.  You may obtain a copy of the License at
-
-      https://www.apache.org/licenses/LICENSE-2.0
-
-  Unless required by applicable law or agreed to in writing, software
-  distributed under the License is distributed on an "AS IS" BASIS,
-  WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-  See the License for the specific language governing permissions and
-  limitations under the License.
--->
-<beans xmlns="http://www.springframework.org/schema/beans"
-    xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
-    xsi:schemaLocation="
-        http://www.springframework.org/schema/beans http://www.springframework.org/schema/beans/spring-beans.xsd">
-
-    <description>Company instances for CompletenessTest with Map without join table</description>
-
-    <bean id="root" class="java.util.ArrayList">
-        <constructor-arg index="0">
-            <list>
-                <ref bean="company1"/>
-            </list>
-        </constructor-arg>
-    </bean>
-
-    <bean id="company1" factory-bean="companyFactory" factory-method="newCompany">
-        <constructor-arg index="0" type="long"><value>1</value></constructor-arg>
-        <constructor-arg index="1" type="java.lang.String"><value>Sun Microsystems, Inc.</value></constructor-arg>
-        <constructor-arg index="2" type="java.util.Date"><value>11/Apr/1952</value></constructor-arg>
-        <property name="departments">
-            <set>
-                <ref bean="dept1"/>
-                <ref bean="dept2"/>
-            </set>
-        </property>
-    </bean>
-
-    <bean id="dept1" factory-bean="companyFactory" factory-method="newDepartment">
-        <constructor-arg index="0" type="long"><value>1</value></constructor-arg>
-        <constructor-arg index="1" type="java.lang.String" ><value>Development</value></constructor-arg>
-        <property name="company"><ref bean="company1"/></property>
-        <property name="roles">
-            <map>
-                <entry key="role1">
-                    <ref bean="emp1"/>
-                </entry>
-                <entry key="role2">
-                    <ref bean="emp2"/>
-                </entry>
-                <entry key="role3">
-                    <ref bean="emp3"/>
-                </entry>
-            </map>
-        </property>
-    </bean>
-
-    <bean id="dept2" factory-bean="companyFactory" factory-method="newDepartment">
-        <constructor-arg index="0" type="long"><value>2</value></constructor-arg>
-        <constructor-arg index="1" type="java.lang.String" ><value>Human Resources</value></constructor-arg>
-        <property name="company"><ref bean="company1"/></property>
-        <property name="roles">
-            <map>
-                <entry key="role4">
-                    <ref bean="emp4"/>
-                </entry>
-                <entry key="role5">
-                    <ref bean="emp5"/>
-                </entry>
-            </map>
-        </property>
-    </bean>
-
-    <bean id="emp1" factory-bean="companyFactory" factory-method="newFullTimeEmployee">
-        <constructor-arg index="0" type="long"><value>1</value></constructor-arg>
-        <constructor-arg index="1" type="java.lang.String"><value>emp1First</value></constructor-arg>
-        <constructor-arg index="2" type="java.lang.String"><value>emp1Last</value></constructor-arg>
-        <constructor-arg index="3" type="java.lang.String"><value>emp1Middle</value></constructor-arg>
-        <constructor-arg index="4" type="java.util.Date"><value>10/Jun/1970</value></constructor-arg>
-        <constructor-arg index="5" type="java.util.Date"><value>1/Jan/1999</value></constructor-arg>
-        <constructor-arg index="6" type="java.lang.String"><value>role1</value></constructor-arg>
-        <constructor-arg index="7" type="double"><value>60000</value></constructor-arg>
-        <property name="weeklyhours"><value>40</value></property>
-        <property name="department"><ref bean="dept1"/></property>
-        <property name="fundingDept"><ref bean="dept2"/></property>
-        <property name="manager"><ref bean="emp2"/></property>
-        <property name="hradvisor"><ref bean="emp5"/></property>
-    </bean>
-    <bean id="emp2" factory-bean="companyFactory" factory-method="newFullTimeEmployee">
-        <constructor-arg index="0" type="long"><value>2</value></constructor-arg>
-        <constructor-arg index="1" type="java.lang.String"><value>emp2First</value></constructor-arg>
-        <constructor-arg index="2" type="java.lang.String"><value>emp2Last</value></constructor-arg>
-        <constructor-arg index="3" type="java.lang.String"><value>emp2Middle</value></constructor-arg>
-        <constructor-arg index="4" type="java.util.Date"><value>22/Dec/1975</value></constructor-arg>
-        <constructor-arg index="5" type="java.util.Date"><value>1/Jul/2003</value></constructor-arg>
-        <constructor-arg index="6" type="java.lang.String"><value>role2</value></constructor-arg>
-        <constructor-arg index="7" type="double"><value>47000</value></constructor-arg>
-        <property name="weeklyhours"><value>40</value></property>
-        <property name="department"><ref bean="dept1"/></property>
-        <property name="fundingDept"><ref bean="dept1"/></property>
-        <property name="hradvisor"><ref bean="emp5"/></property>
-        <property name="team">
-            <set>
-                <ref bean="emp1"/>
-                <ref bean="emp3"/>
-                <ref bean="emp4"/>
-                <ref bean="emp5"/>
-            </set>
-        </property>
-    </bean>
-    <bean id="emp3" factory-bean="companyFactory" factory-method="newPartTimeEmployee">
-        <constructor-arg index="0" type="long"><value>3</value></constructor-arg>
-        <constructor-arg index="1" type="java.lang.String"><value>emp3First</value></constructor-arg>
-        <constructor-arg index="2" type="java.lang.String"><value>emp3Last</value></constructor-arg>
-        <constructor-arg index="3" type="java.lang.String"><value>emp3Middle</value></constructor-arg>
-        <constructor-arg index="4" type="java.util.Date"><value>5/Sep/1972</value></constructor-arg>
-        <constructor-arg index="5" type="java.util.Date"><value>15/Aug/2002</value></constructor-arg>
-        <constructor-arg index="6" type="java.lang.String"><value>role3</value></constructor-arg>
-        <constructor-arg index="7" type="double"><value>67.00</value></constructor-arg>
-        <property name="weeklyhours"><value>19</value></property>
-        <property name="department"><ref bean="dept1"/></property>
-        <property name="fundingDept"><ref bean="dept1"/></property>
-        <property name="manager"><ref bean="emp2"/></property>
-        <property name="hradvisor"><ref bean="emp5"/></property>
-    </bean>
-    <bean id="emp4" factory-bean="companyFactory" factory-method="newPartTimeEmployee">
-        <constructor-arg index="0" type="long"><value>4</value></constructor-arg>
-        <constructor-arg index="1" type="java.lang.String"><value>emp4First</value></constructor-arg>
-        <constructor-arg index="2" type="java.lang.String"><value>emp4Last</value></constructor-arg>
-        <constructor-arg index="3" type="java.lang.String"><value>emp4Middle</value></constructor-arg>
-        <constructor-arg index="4" type="java.util.Date"><value>6/Sep/1973</value></constructor-arg>
-        <constructor-arg index="5" type="java.util.Date"><value>15/Apr/2001</value></constructor-arg>
-        <constructor-arg index="6" type="java.lang.String"><value>role4</value></constructor-arg>
-        <constructor-arg index="7" type="double"><value>37.00</value></constructor-arg>
-        <property name="department"><ref bean="dept2"/></property>
-        <property name="fundingDept"><ref bean="dept2"/></property>
-        <property name="manager"><ref bean="emp2"/></property>
-        <property name="hradvisor"><ref bean="emp5"/></property>
-    </bean>
-    <bean id="emp5" factory-bean="companyFactory" factory-method="newFullTimeEmployee">
-        <constructor-arg index="0" type="long"><value>5</value></constructor-arg>
-        <constructor-arg index="1" type="java.lang.String"><value>emp5First</value></constructor-arg>
-        <constructor-arg index="2" type="java.lang.String"><value>emp5Last</value></constructor-arg>
-        <constructor-arg index="3" type="java.lang.String"><value>emp5Middle</value></constructor-arg>
-        <constructor-arg index="4" type="java.util.Date"><value>5/Jul/1962</value></constructor-arg>
-        <constructor-arg index="5" type="java.util.Date"><value>15/Aug/1998</value></constructor-arg>
-        <constructor-arg index="6" type="java.lang.String"><value>role5</value></constructor-arg>
-        <constructor-arg index="7" type="double"><value>73000</value></constructor-arg>
-        <property name="department"><ref bean="dept2"/></property>
-        <property name="fundingDept"><ref bean="dept2"/></property>
-        <property name="manager"><ref bean="emp2"/></property>
-        <property name="hradvisees">
-            <set>
-                <ref bean="emp1"/>
-                <ref bean="emp2"/>
-                <ref bean="emp3"/>
-                <ref bean="emp4"/>
-            </set>
-        </property>
-    </bean>
-
-</beans>
-
diff --git a/tck/src/main/resources/testdata/org/apache/jdo/tck/pc/mylib/mylibForQueryTests.xml b/tck/src/main/resources/testdata/org/apache/jdo/tck/pc/mylib/mylibForQueryTests.xml
deleted file mode 100644
index ee000b32..00000000
--- a/tck/src/main/resources/testdata/org/apache/jdo/tck/pc/mylib/mylibForQueryTests.xml
+++ /dev/null
@@ -1,80 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<!--
-  Licensed to the Apache Software Foundation (ASF) under one or more
-  contributor license agreements.  See the NOTICE file distributed with
-  this work for additional information regarding copyright ownership.
-  The ASF licenses this file to You under the Apache License, Version 2.0
-  (the "License"); you may not use this file except in compliance with
-  the License.  You may obtain a copy of the License at
-
-      https://www.apache.org/licenses/LICENSE-2.0
-
-  Unless required by applicable law or agreed to in writing, software
-  distributed under the License is distributed on an "AS IS" BASIS,
-  WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-  See the License for the specific language governing permissions and
-  limitations under the License.
--->
- <beans xmlns="http://www.springframework.org/schema/beans"
-    xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
-    xsi:schemaLocation="
-        http://www.springframework.org/schema/beans http://www.springframework.org/schema/beans/spring-beans.xsd">
-
-    <bean id="root" class="java.util.ArrayList">
-        <constructor-arg index="0">
-            <list>
-                <ref bean="primitiveTypesPositive"/>
-                <ref bean="primitiveTypesNegative"/>
-                <ref bean="pcClass1"/>
-                <ref bean="pcClass2"/>
-                <ref bean="primitiveTypesCharacterStringLiterals"/>
-            </list>
-        </constructor-arg>
-    </bean>
-
-    <bean id="primitiveTypesPositive" 
-        class="org.apache.jdo.tck.pc.mylib.PrimitiveTypes">
-        <property name="id"><value>1</value></property>
-        <property name="intNotNull"><value>4</value></property>
-        <property name="intNull"><value>4</value></property>
-        <property name="longNotNull"><value>4</value></property>
-        <property name="longNull"><value>4</value></property>
-        <property name="floatNotNull"><value>4.0</value></property>
-        <property name="floatNull"><value>4.0</value></property>
-        <property name="doubleNotNull"><value>4.0</value></property>
-        <property name="doubleNull"><value>4.0</value></property>
-    </bean>
-
-    <bean id="primitiveTypesNegative" 
-        class="org.apache.jdo.tck.pc.mylib.PrimitiveTypes">
-        <property name="id"><value>2</value></property>
-        <property name="intNotNull"><value>-4</value></property>
-        <property name="intNull"><value>-4</value></property>
-        <property name="longNotNull"><value>-4</value></property>
-        <property name="longNull"><value>-4</value></property>
-        <property name="floatNotNull"><value>-4.0</value></property>
-        <property name="floatNull"><value>-4.0</value></property>
-        <property name="doubleNotNull"><value>-4.0</value></property>
-        <property name="doubleNull"><value>-4.0</value></property>
-    </bean>
-
-    <bean id="pcClass1" class="org.apache.jdo.tck.pc.mylib.PCClass">
-        <property name="id"><value>1</value></property>
-        <property name="number1"><value>10</value></property>
-        <property name="number2"><value>10</value></property>
-    </bean>
-
-    <bean id="pcClass2" class="org.apache.jdo.tck.pc.mylib.PCClass">
-        <property name="id"><value>2</value></property>
-        <property name="number1"><value>20</value></property>
-        <property name="number2"><value>20</value></property>
-    </bean>
-
-    <bean id="primitiveTypesCharacterStringLiterals" 
-        class="org.apache.jdo.tck.pc.mylib.PrimitiveTypes">
-        <property name="id"><value>3</value></property>
-        <property name="charNotNull"><value>O</value></property>
-        <property name="charNull"><value>O</value></property>
-        <property name="stringNull"><value>Even</value></property>
-    </bean>
-</beans>
diff --git a/tck/src/main/resources/testdata/org/apache/jdo/tck/pc/order/order.xml b/tck/src/main/resources/testdata/org/apache/jdo/tck/pc/order/order.xml
deleted file mode 100644
index ab37946d..00000000
--- a/tck/src/main/resources/testdata/org/apache/jdo/tck/pc/order/order.xml
+++ /dev/null
@@ -1,67 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<!--
-  Licensed to the Apache Software Foundation (ASF) under one or more
-  contributor license agreements.  See the NOTICE file distributed with
-  this work for additional information regarding copyright ownership.
-  The ASF licenses this file to You under the Apache License, Version 2.0
-  (the "License"); you may not use this file except in compliance with
-  the License.  You may obtain a copy of the License at
-
-      https://www.apache.org/licenses/LICENSE-2.0
-
-  Unless required by applicable law or agreed to in writing, software
-  distributed under the License is distributed on an "AS IS" BASIS,
-  WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-  See the License for the specific language governing permissions and
-  limitations under the License.
--->
-<beans xmlns="http://www.springframework.org/schema/beans"
-    xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
-    xsi:schemaLocation="
-        http://www.springframework.org/schema/beans http://www.springframework.org/schema/beans/spring-beans.xsd">
-
-    <description>Order instances for CompletenessTest of compound identity</description>
-
-    <bean id="root" class="java.util.ArrayList">
-        <constructor-arg index="0">
-            <list>
-                <ref bean="order1"/>
-            </list>
-        </constructor-arg>
-    </bean>
-
-    <bean id="order1" factory-bean="orderFactory" factory-method="newOrder">
-        <constructor-arg index="0" type="long"><value>1</value></constructor-arg>
-        <constructor-arg index="1" type="long"><value>3</value></constructor-arg>
-        <property name="items">
-            <set>
-                <ref bean="item1"/>
-                <ref bean="item2"/>
-            </set>
-        </property>
-    </bean>
-
-    <bean id="item1" factory-bean="orderFactory" factory-method="newOrderItem">
-        <constructor-arg index="0" type="org.apache.jdo.tck.pc.order.Order">
-            <ref bean="order1"/></constructor-arg>
-        <constructor-arg index="1" type="long" ><value>1</value>
-        </constructor-arg>
-        <constructor-arg index="2" type="java.lang.String" >
-            <value>SunRay</value></constructor-arg>
-        <constructor-arg index="3" type="int" ><value>15</value>
-        </constructor-arg>
-    </bean>
-
-    <bean id="item2" factory-bean="orderFactory" factory-method="newOrderItem">
-        <constructor-arg index="0" type="org.apache.jdo.tck.pc.order.Order">
-            <ref bean="order1"/></constructor-arg>
-        <constructor-arg index="1" type="long" ><value>1</value>
-        </constructor-arg>
-        <constructor-arg index="2" type="java.lang.String" >
-            <value>Sun Ultra 40</value></constructor-arg>
-        <constructor-arg index="3" type="int" ><value>3</value>
-        </constructor-arg>
-    </bean>
-
-</beans>
-