db-jdo-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From mcai...@apache.org
Subject svn commit: r279031 - in /incubator/jdo/trunk/tck20/test: conf/ orm/applicationidentity/org/apache/jdo/tck/pc/mylib/ orm/datastoreidentity/org/apache/jdo/tck/pc/mylib/ sql/derby/applicationidentity/ sql/derby/datastoreidentity/
Date Tue, 06 Sep 2005 16:16:48 GMT
Author: mcaisse
Date: Tue Sep  6 09:16:25 2005
New Revision: 279031

URL: http://svn.apache.org/viewcvs?rev=279031&view=rev
Log:
New tests for orm schema attribute

Added:
    incubator/jdo/trunk/tck20/test/conf/schemaAttributeClass.conf
    incubator/jdo/trunk/tck20/test/conf/schemaAttributeOrm.conf
    incubator/jdo/trunk/tck20/test/conf/schemaAttributePackage.conf
    incubator/jdo/trunk/tck20/test/orm/applicationidentity/org/apache/jdo/tck/pc/mylib/package-derby5.orm
    incubator/jdo/trunk/tck20/test/orm/applicationidentity/org/apache/jdo/tck/pc/mylib/package-derby6.orm
    incubator/jdo/trunk/tck20/test/orm/applicationidentity/org/apache/jdo/tck/pc/mylib/package-derby7.orm
    incubator/jdo/trunk/tck20/test/orm/datastoreidentity/org/apache/jdo/tck/pc/mylib/package-derby5.orm
    incubator/jdo/trunk/tck20/test/orm/datastoreidentity/org/apache/jdo/tck/pc/mylib/package-derby6.orm
    incubator/jdo/trunk/tck20/test/orm/datastoreidentity/org/apache/jdo/tck/pc/mylib/package-derby7.orm
    incubator/jdo/trunk/tck20/test/sql/derby/applicationidentity/schema5.sql
    incubator/jdo/trunk/tck20/test/sql/derby/applicationidentity/schema6.sql
    incubator/jdo/trunk/tck20/test/sql/derby/applicationidentity/schema7.sql
    incubator/jdo/trunk/tck20/test/sql/derby/datastoreidentity/schema5.sql
    incubator/jdo/trunk/tck20/test/sql/derby/datastoreidentity/schema6.sql
    incubator/jdo/trunk/tck20/test/sql/derby/datastoreidentity/schema7.sql
Modified:
    incubator/jdo/trunk/tck20/test/conf/configurations.list

Modified: incubator/jdo/trunk/tck20/test/conf/configurations.list
URL: http://svn.apache.org/viewcvs/incubator/jdo/trunk/tck20/test/conf/configurations.list?rev=279031&r1=279030&r2=279031&view=diff
==============================================================================
--- incubator/jdo/trunk/tck20/test/conf/configurations.list (original)
+++ incubator/jdo/trunk/tck20/test/conf/configurations.list Tue Sep  6 09:16:25 2005
@@ -9,5 +9,7 @@
                  inheritance1.conf \
                  inheritance2.conf \
                  inheritance3.conf \
-                 inheritance4.conf
-
+                 inheritance4.conf \
+                 schemaAttributeClass.conf \
+                 schemaAttributeORM.conf \
+                 schemaAttributePackage.conf

Added: incubator/jdo/trunk/tck20/test/conf/schemaAttributeClass.conf
URL: http://svn.apache.org/viewcvs/incubator/jdo/trunk/tck20/test/conf/schemaAttributeClass.conf?rev=279031&view=auto
==============================================================================
--- incubator/jdo/trunk/tck20/test/conf/schemaAttributeClass.conf (added)
+++ incubator/jdo/trunk/tck20/test/conf/schemaAttributeClass.conf Tue Sep  6 09:16:25 2005
@@ -0,0 +1,4 @@
+jdo.tck.description = MakePersistent test with schema name specified as class attribute in
orm for PCPoint. Schema name derived from jdo.tck.mapping 1 is overriden in orm
+jdo.tck.classes = org.apache.jdo.tck.api.persistencemanager.lifecycle.MakePersistent
+jdo.tck.testdata = 
+jdo.tck.mapping = 7

Added: incubator/jdo/trunk/tck20/test/conf/schemaAttributeOrm.conf
URL: http://svn.apache.org/viewcvs/incubator/jdo/trunk/tck20/test/conf/schemaAttributeOrm.conf?rev=279031&view=auto
==============================================================================
--- incubator/jdo/trunk/tck20/test/conf/schemaAttributeOrm.conf (added)
+++ incubator/jdo/trunk/tck20/test/conf/schemaAttributeOrm.conf Tue Sep  6 09:16:25 2005
@@ -0,0 +1,4 @@
+jdo.tck.description = MakePersistent test with schema name specified as orm attribute in
orm for PCPoint. Schema name derived from jdo.tck.mapping 1 is overriden in orm
+jdo.tck.classes = org.apache.jdo.tck.api.persistencemanager.lifecycle.MakePersistent
+jdo.tck.testdata = 
+jdo.tck.mapping = 5

Added: incubator/jdo/trunk/tck20/test/conf/schemaAttributePackage.conf
URL: http://svn.apache.org/viewcvs/incubator/jdo/trunk/tck20/test/conf/schemaAttributePackage.conf?rev=279031&view=auto
==============================================================================
--- incubator/jdo/trunk/tck20/test/conf/schemaAttributePackage.conf (added)
+++ incubator/jdo/trunk/tck20/test/conf/schemaAttributePackage.conf Tue Sep  6 09:16:25 2005
@@ -0,0 +1,4 @@
+jdo.tck.description = MakePersistent test with schema name specified as package attribute
in orm for PCPoint. Schema name derived from jdo.tck.mapping 1 is overriden in orm
+jdo.tck.classes = org.apache.jdo.tck.api.persistencemanager.lifecycle.MakePersistent
+jdo.tck.testdata = 
+jdo.tck.mapping = 6

Added: incubator/jdo/trunk/tck20/test/orm/applicationidentity/org/apache/jdo/tck/pc/mylib/package-derby5.orm
URL: http://svn.apache.org/viewcvs/incubator/jdo/trunk/tck20/test/orm/applicationidentity/org/apache/jdo/tck/pc/mylib/package-derby5.orm?rev=279031&view=auto
==============================================================================
--- incubator/jdo/trunk/tck20/test/orm/applicationidentity/org/apache/jdo/tck/pc/mylib/package-derby5.orm
(added)
+++ incubator/jdo/trunk/tck20/test/orm/applicationidentity/org/apache/jdo/tck/pc/mylib/package-derby5.orm
Tue Sep  6 09:16:25 2005
@@ -0,0 +1,55 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE orm PUBLIC "-//Sun Microsystems, Inc.//DTD Java Data Objects Mapping Metadata
2.0//EN" "http://java.sun.com/dtd/orm_2_0.dtd">
+<orm schema="applicationidentity_orm">
+  <package name="org.apache.jdo.tck.pc.mylib">
+
+    <class name="PCPoint" table="PCPoint">
+      <field name="id" column="ID" primary-key="true"/>
+      <field name="x" column="X"/>
+      <field name="y" column="Y"/>
+    </class>
+
+    <class name="PCPoint2" table="PCPoint2">
+      <field name="id" column="ID" primary-key="true"/>
+      <field name="x" column="X"/>
+      <field name="y" column="Y"/>
+    </class>
+
+    <class name="PCRect" table="PCRect">
+      <field name="id" column="ID" primary-key="true"/>
+      <field name="lowerRight" column="LOWER_RIGHT">
+        <foreign-key/>
+      </field>
+      <field name="upperLeft" column="UPPER_LEFT">
+        <foreign-key/>
+      </field>
+    </class>
+
+    <class name="PrimitiveTypes" table="PrimitiveTypes">
+      <field name="id" column="ID" primary-key="true"/>
+      <field name="booleanNotNull" column="booleanNotNull"/>
+      <field name="booleanNull" column="booleanNull"/>
+      <field name="byteNotNull" column="byteNotNull"/>
+      <field name="byteNull" column="byteNull"/>
+      <field name="shortNotNull" column="shortNotNull"/>
+      <field name="shortNull" column="shortNull"/>
+      <field name="intNotNull" column="intNotNull"/>
+      <field name="intNull" column="intNull"/>
+      <field name="longNotNull" column="longNotNull"/>
+      <field name="longNull" column="longNull"/>
+      <field name="floatNotNull" column="floatNotNull"/>
+      <field name="floatNull" column="floatNull"/>
+      <field name="doubleNotNull" column="doubleNotNull"/>
+      <field name="doubleNull" column="doubleNull"/>
+      <field name="charNotNull" column="charNotNull"/>
+      <field name="charNull" column="charNull"/>
+      <field name="dateNull" column="dateNull"/>
+      <field name="stringNull" column="stringNull"/>
+      <field name="bigDecimal" column="bigDecimal"/>
+      <field name="bigInteger" column="bigInteger"/>
+      <field name="PrimitiveTypes" column="PrimitiveTypes"/>
+    </class>
+
+  </package>
+</orm>
+

Added: incubator/jdo/trunk/tck20/test/orm/applicationidentity/org/apache/jdo/tck/pc/mylib/package-derby6.orm
URL: http://svn.apache.org/viewcvs/incubator/jdo/trunk/tck20/test/orm/applicationidentity/org/apache/jdo/tck/pc/mylib/package-derby6.orm?rev=279031&view=auto
==============================================================================
--- incubator/jdo/trunk/tck20/test/orm/applicationidentity/org/apache/jdo/tck/pc/mylib/package-derby6.orm
(added)
+++ incubator/jdo/trunk/tck20/test/orm/applicationidentity/org/apache/jdo/tck/pc/mylib/package-derby6.orm
Tue Sep  6 09:16:25 2005
@@ -0,0 +1,55 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE orm PUBLIC "-//Sun Microsystems, Inc.//DTD Java Data Objects Mapping Metadata
2.0//EN" "http://java.sun.com/dtd/orm_2_0.dtd">
+<orm>
+  <package name="org.apache.jdo.tck.pc.mylib" schema="applicationidentity_pkg">
+
+    <class name="PCPoint" table="PCPoint">
+      <field name="id" column="ID" primary-key="true"/>
+      <field name="x" column="X"/>
+      <field name="y" column="Y"/>
+    </class>
+
+    <class name="PCPoint2" table="PCPoint2">
+      <field name="id" column="ID" primary-key="true"/>
+      <field name="x" column="X"/>
+      <field name="y" column="Y"/>
+    </class>
+
+    <class name="PCRect" table="PCRect">
+      <field name="id" column="ID" primary-key="true"/>
+      <field name="lowerRight" column="LOWER_RIGHT">
+        <foreign-key/>
+      </field>
+      <field name="upperLeft" column="UPPER_LEFT">
+        <foreign-key/>
+      </field>
+    </class>
+
+    <class name="PrimitiveTypes" table="PrimitiveTypes">
+      <field name="id" column="ID" primary-key="true"/>
+      <field name="booleanNotNull" column="booleanNotNull"/>
+      <field name="booleanNull" column="booleanNull"/>
+      <field name="byteNotNull" column="byteNotNull"/>
+      <field name="byteNull" column="byteNull"/>
+      <field name="shortNotNull" column="shortNotNull"/>
+      <field name="shortNull" column="shortNull"/>
+      <field name="intNotNull" column="intNotNull"/>
+      <field name="intNull" column="intNull"/>
+      <field name="longNotNull" column="longNotNull"/>
+      <field name="longNull" column="longNull"/>
+      <field name="floatNotNull" column="floatNotNull"/>
+      <field name="floatNull" column="floatNull"/>
+      <field name="doubleNotNull" column="doubleNotNull"/>
+      <field name="doubleNull" column="doubleNull"/>
+      <field name="charNotNull" column="charNotNull"/>
+      <field name="charNull" column="charNull"/>
+      <field name="dateNull" column="dateNull"/>
+      <field name="stringNull" column="stringNull"/>
+      <field name="bigDecimal" column="bigDecimal"/>
+      <field name="bigInteger" column="bigInteger"/>
+      <field name="PrimitiveTypes" column="PrimitiveTypes"/>
+    </class>
+
+  </package>
+</orm>
+

Added: incubator/jdo/trunk/tck20/test/orm/applicationidentity/org/apache/jdo/tck/pc/mylib/package-derby7.orm
URL: http://svn.apache.org/viewcvs/incubator/jdo/trunk/tck20/test/orm/applicationidentity/org/apache/jdo/tck/pc/mylib/package-derby7.orm?rev=279031&view=auto
==============================================================================
--- incubator/jdo/trunk/tck20/test/orm/applicationidentity/org/apache/jdo/tck/pc/mylib/package-derby7.orm
(added)
+++ incubator/jdo/trunk/tck20/test/orm/applicationidentity/org/apache/jdo/tck/pc/mylib/package-derby7.orm
Tue Sep  6 09:16:25 2005
@@ -0,0 +1,55 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE orm PUBLIC "-//Sun Microsystems, Inc.//DTD Java Data Objects Mapping Metadata
2.0//EN" "http://java.sun.com/dtd/orm_2_0.dtd">
+<orm>
+  <package name="org.apache.jdo.tck.pc.mylib">
+
+    <class name="PCPoint" table="PCPoint" schema="applicationidentity_cls">
+      <field name="id" column="ID" primary-key="true"/>
+      <field name="x" column="X"/>
+      <field name="y" column="Y"/>
+    </class>
+
+    <class name="PCPoint2" table="PCPoint2" schema="applicationidentity_cls">
+      <field name="id" column="ID" primary-key="true"/>
+      <field name="x" column="X"/>
+      <field name="y" column="Y"/>
+    </class>
+
+    <class name="PCRect" table="PCRect" schema="applicationidentity_cls">
+      <field name="id" column="ID" primary-key="true"/>
+      <field name="lowerRight" column="LOWER_RIGHT">
+        <foreign-key/>
+      </field>
+      <field name="upperLeft" column="UPPER_LEFT">
+        <foreign-key/>
+      </field>
+    </class>
+
+    <class name="PrimitiveTypes" table="PrimitiveTypes" schema="applicationidentity_cls">
+      <field name="id" column="ID" primary-key="true"/>
+      <field name="booleanNotNull" column="booleanNotNull"/>
+      <field name="booleanNull" column="booleanNull"/>
+      <field name="byteNotNull" column="byteNotNull"/>
+      <field name="byteNull" column="byteNull"/>
+      <field name="shortNotNull" column="shortNotNull"/>
+      <field name="shortNull" column="shortNull"/>
+      <field name="intNotNull" column="intNotNull"/>
+      <field name="intNull" column="intNull"/>
+      <field name="longNotNull" column="longNotNull"/>
+      <field name="longNull" column="longNull"/>
+      <field name="floatNotNull" column="floatNotNull"/>
+      <field name="floatNull" column="floatNull"/>
+      <field name="doubleNotNull" column="doubleNotNull"/>
+      <field name="doubleNull" column="doubleNull"/>
+      <field name="charNotNull" column="charNotNull"/>
+      <field name="charNull" column="charNull"/>
+      <field name="dateNull" column="dateNull"/>
+      <field name="stringNull" column="stringNull"/>
+      <field name="bigDecimal" column="bigDecimal"/>
+      <field name="bigInteger" column="bigInteger"/>
+      <field name="PrimitiveTypes" column="PrimitiveTypes"/>
+    </class>
+
+  </package>
+</orm>
+

Added: incubator/jdo/trunk/tck20/test/orm/datastoreidentity/org/apache/jdo/tck/pc/mylib/package-derby5.orm
URL: http://svn.apache.org/viewcvs/incubator/jdo/trunk/tck20/test/orm/datastoreidentity/org/apache/jdo/tck/pc/mylib/package-derby5.orm?rev=279031&view=auto
==============================================================================
--- incubator/jdo/trunk/tck20/test/orm/datastoreidentity/org/apache/jdo/tck/pc/mylib/package-derby5.orm
(added)
+++ incubator/jdo/trunk/tck20/test/orm/datastoreidentity/org/apache/jdo/tck/pc/mylib/package-derby5.orm
Tue Sep  6 09:16:25 2005
@@ -0,0 +1,59 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE orm PUBLIC "-//Sun Microsystems, Inc.//DTD Java Data Objects Mapping Metadata
2.0//EN" "http://java.sun.com/dtd/orm_2_0.dtd">
+<orm schema="datastoreidentity_orm">
+  <package name="org.apache.jdo.tck.pc.mylib">
+
+    <class name="PCPoint" table="PCPoint">
+      <datastore-identity strategy="identity" column="DATASTORE_IDENTITY"/>
+      <field name="id" column="ID"/>
+      <field name="x" column="X"/>
+      <field name="y" column="Y"/>
+    </class>
+
+    <class name="PCPoint2" table="PCPoint2">
+      <datastore-identity strategy="identity" column="DATASTORE_IDENTITY"/>
+      <field name="id" column="ID"/>
+      <field name="x" column="X"/>
+      <field name="y" column="Y"/>
+    </class>
+
+    <class name="PCRect" table="PCRect">
+      <datastore-identity strategy="identity" column="DATASTORE_IDENTITY"/>
+      <field name="id" column="ID"/>
+      <field name="lowerRight" column="LOWER_RIGHT">
+        <foreign-key/>
+      </field>
+      <field name="upperLeft" column="UPPER_LEFT">
+        <foreign-key/>
+      </field>
+    </class>
+
+    <class name="PrimitiveTypes" table="PrimitiveTypes">
+      <datastore-identity strategy="identity" column="DATASTORE_IDENTITY"/>
+      <field name="id" column="ID"/>
+      <field name="booleanNotNull" column="booleanNotNull"/>
+      <field name="booleanNull" column="booleanNull"/>
+      <field name="byteNotNull" column="byteNotNull"/>
+      <field name="byteNull" column="byteNull"/>
+      <field name="shortNotNull" column="shortNotNull"/>
+      <field name="shortNull" column="shortNull"/>
+      <field name="intNotNull" column="intNotNull"/>
+      <field name="intNull" column="intNull"/>
+      <field name="longNotNull" column="longNotNull"/>
+      <field name="longNull" column="longNull"/>
+      <field name="floatNotNull" column="floatNotNull"/>
+      <field name="floatNull" column="floatNull"/>
+      <field name="doubleNotNull" column="doubleNotNull"/>
+      <field name="doubleNull" column="doubleNull"/>
+      <field name="charNotNull" column="charNotNull"/>
+      <field name="charNull" column="charNull"/>
+      <field name="dateNull" column="dateNull"/>
+      <field name="stringNull" column="stringNull"/>
+      <field name="bigDecimal" column="bigDecimal"/>
+      <field name="bigInteger" column="bigInteger"/>
+      <field name="PrimitiveTypes" column="PrimitiveTypes"/>
+    </class>
+
+  </package>
+</orm>
+

Added: incubator/jdo/trunk/tck20/test/orm/datastoreidentity/org/apache/jdo/tck/pc/mylib/package-derby6.orm
URL: http://svn.apache.org/viewcvs/incubator/jdo/trunk/tck20/test/orm/datastoreidentity/org/apache/jdo/tck/pc/mylib/package-derby6.orm?rev=279031&view=auto
==============================================================================
--- incubator/jdo/trunk/tck20/test/orm/datastoreidentity/org/apache/jdo/tck/pc/mylib/package-derby6.orm
(added)
+++ incubator/jdo/trunk/tck20/test/orm/datastoreidentity/org/apache/jdo/tck/pc/mylib/package-derby6.orm
Tue Sep  6 09:16:25 2005
@@ -0,0 +1,59 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE orm PUBLIC "-//Sun Microsystems, Inc.//DTD Java Data Objects Mapping Metadata
2.0//EN" "http://java.sun.com/dtd/orm_2_0.dtd">
+<orm>
+  <package name="org.apache.jdo.tck.pc.mylib" schema="datastoreidentity_pkg" >
+
+    <class name="PCPoint" table="PCPoint">
+      <datastore-identity strategy="identity" column="DATASTORE_IDENTITY"/>
+      <field name="id" column="ID"/>
+      <field name="x" column="X"/>
+      <field name="y" column="Y"/>
+    </class>
+
+    <class name="PCPoint2" table="PCPoint2">
+      <datastore-identity strategy="identity" column="DATASTORE_IDENTITY"/>
+      <field name="id" column="ID"/>
+      <field name="x" column="X"/>
+      <field name="y" column="Y"/>
+    </class>
+
+    <class name="PCRect" table="PCRect">
+      <datastore-identity strategy="identity" column="DATASTORE_IDENTITY"/>
+      <field name="id" column="ID"/>
+      <field name="lowerRight" column="LOWER_RIGHT">
+        <foreign-key/>
+      </field>
+      <field name="upperLeft" column="UPPER_LEFT">
+        <foreign-key/>
+      </field>
+    </class>
+
+    <class name="PrimitiveTypes" table="PrimitiveTypes">
+      <datastore-identity strategy="identity" column="DATASTORE_IDENTITY"/>
+      <field name="id" column="ID"/>
+      <field name="booleanNotNull" column="booleanNotNull"/>
+      <field name="booleanNull" column="booleanNull"/>
+      <field name="byteNotNull" column="byteNotNull"/>
+      <field name="byteNull" column="byteNull"/>
+      <field name="shortNotNull" column="shortNotNull"/>
+      <field name="shortNull" column="shortNull"/>
+      <field name="intNotNull" column="intNotNull"/>
+      <field name="intNull" column="intNull"/>
+      <field name="longNotNull" column="longNotNull"/>
+      <field name="longNull" column="longNull"/>
+      <field name="floatNotNull" column="floatNotNull"/>
+      <field name="floatNull" column="floatNull"/>
+      <field name="doubleNotNull" column="doubleNotNull"/>
+      <field name="doubleNull" column="doubleNull"/>
+      <field name="charNotNull" column="charNotNull"/>
+      <field name="charNull" column="charNull"/>
+      <field name="dateNull" column="dateNull"/>
+      <field name="stringNull" column="stringNull"/>
+      <field name="bigDecimal" column="bigDecimal"/>
+      <field name="bigInteger" column="bigInteger"/>
+      <field name="PrimitiveTypes" column="PrimitiveTypes"/>
+    </class>
+
+  </package>
+</orm>
+

Added: incubator/jdo/trunk/tck20/test/orm/datastoreidentity/org/apache/jdo/tck/pc/mylib/package-derby7.orm
URL: http://svn.apache.org/viewcvs/incubator/jdo/trunk/tck20/test/orm/datastoreidentity/org/apache/jdo/tck/pc/mylib/package-derby7.orm?rev=279031&view=auto
==============================================================================
--- incubator/jdo/trunk/tck20/test/orm/datastoreidentity/org/apache/jdo/tck/pc/mylib/package-derby7.orm
(added)
+++ incubator/jdo/trunk/tck20/test/orm/datastoreidentity/org/apache/jdo/tck/pc/mylib/package-derby7.orm
Tue Sep  6 09:16:25 2005
@@ -0,0 +1,59 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE orm PUBLIC "-//Sun Microsystems, Inc.//DTD Java Data Objects Mapping Metadata
2.0//EN" "http://java.sun.com/dtd/orm_2_0.dtd">
+<orm>
+  <package name="org.apache.jdo.tck.pc.mylib">
+
+    <class name="PCPoint" table="PCPoint" schema="datastoreidentity_cls">
+      <datastore-identity strategy="identity" column="DATASTORE_IDENTITY"/>
+      <field name="id" column="ID"/>
+      <field name="x" column="X"/>
+      <field name="y" column="Y"/>
+    </class>
+
+    <class name="PCPoint2" table="PCPoint2" schema="datastoreidentity_cls">
+      <datastore-identity strategy="identity" column="DATASTORE_IDENTITY"/>
+      <field name="id" column="ID"/>
+      <field name="x" column="X"/>
+      <field name="y" column="Y"/>
+    </class>
+
+    <class name="PCRect" table="PCRect" schema="datastoreidentity_cls">
+      <datastore-identity strategy="identity" column="DATASTORE_IDENTITY"/>
+      <field name="id" column="ID"/>
+      <field name="lowerRight" column="LOWER_RIGHT">
+        <foreign-key/>
+      </field>
+      <field name="upperLeft" column="UPPER_LEFT">
+        <foreign-key/>
+      </field>
+    </class>
+
+    <class name="PrimitiveTypes" table="PrimitiveTypes" schema="datastoreidentity_cls">
+      <datastore-identity strategy="identity" column="DATASTORE_IDENTITY"/>
+      <field name="id" column="ID"/>
+      <field name="booleanNotNull" column="booleanNotNull"/>
+      <field name="booleanNull" column="booleanNull"/>
+      <field name="byteNotNull" column="byteNotNull"/>
+      <field name="byteNull" column="byteNull"/>
+      <field name="shortNotNull" column="shortNotNull"/>
+      <field name="shortNull" column="shortNull"/>
+      <field name="intNotNull" column="intNotNull"/>
+      <field name="intNull" column="intNull"/>
+      <field name="longNotNull" column="longNotNull"/>
+      <field name="longNull" column="longNull"/>
+      <field name="floatNotNull" column="floatNotNull"/>
+      <field name="floatNull" column="floatNull"/>
+      <field name="doubleNotNull" column="doubleNotNull"/>
+      <field name="doubleNull" column="doubleNull"/>
+      <field name="charNotNull" column="charNotNull"/>
+      <field name="charNull" column="charNull"/>
+      <field name="dateNull" column="dateNull"/>
+      <field name="stringNull" column="stringNull"/>
+      <field name="bigDecimal" column="bigDecimal"/>
+      <field name="bigInteger" column="bigInteger"/>
+      <field name="PrimitiveTypes" column="PrimitiveTypes"/>
+    </class>
+
+  </package>
+</orm>
+

Added: incubator/jdo/trunk/tck20/test/sql/derby/applicationidentity/schema5.sql
URL: http://svn.apache.org/viewcvs/incubator/jdo/trunk/tck20/test/sql/derby/applicationidentity/schema5.sql?rev=279031&view=auto
==============================================================================
--- incubator/jdo/trunk/tck20/test/sql/derby/applicationidentity/schema5.sql (added)
+++ incubator/jdo/trunk/tck20/test/sql/derby/applicationidentity/schema5.sql Tue Sep  6 09:16:25
2005
@@ -0,0 +1,27 @@
+-- SchemaType: application identity orm
+
+connect 'jdbc:derby:jdotckdb;create=true' user 'tckuser' password 'tckuser';
+
+CREATE SCHEMA applicationidentity_orm;
+SET SCHEMA applicationidentity_orm;
+
+-------------------------
+-- mylib
+-------------------------
+
+DROP TABLE PCRect;
+DROP TABLE PCPoint;
+
+CREATE TABLE PCPoint (
+    ID BIGINT NOT NULL,
+    X INTEGER NOT NULL,
+    Y INTEGER,
+    CONSTRAINT PCPNT_CONST PRIMARY KEY (ID)
+);
+
+CREATE TABLE PCRect (
+    ID BIGINT NOT NULL,
+    UPPER_LEFT BIGINT REFERENCES PCPoint NOT NULL,
+    LOWER_RIGHT BIGINT REFERENCES PCPoint NOT NULL,
+    CONSTRAINT PCRCT_CONST PRIMARY KEY (ID)
+);

Added: incubator/jdo/trunk/tck20/test/sql/derby/applicationidentity/schema6.sql
URL: http://svn.apache.org/viewcvs/incubator/jdo/trunk/tck20/test/sql/derby/applicationidentity/schema6.sql?rev=279031&view=auto
==============================================================================
--- incubator/jdo/trunk/tck20/test/sql/derby/applicationidentity/schema6.sql (added)
+++ incubator/jdo/trunk/tck20/test/sql/derby/applicationidentity/schema6.sql Tue Sep  6 09:16:25
2005
@@ -0,0 +1,27 @@
+-- SchemaType: application identity pkg
+
+connect 'jdbc:derby:jdotckdb;create=true' user 'tckuser' password 'tckuser';
+
+CREATE SCHEMA applicationidentity_pkg;
+SET SCHEMA applicationidentity_pkg;
+
+-------------------------
+-- mylib
+-------------------------
+
+DROP TABLE PCRect;
+DROP TABLE PCPoint;
+
+CREATE TABLE PCPoint (
+    ID BIGINT NOT NULL,
+    X INTEGER NOT NULL,
+    Y INTEGER,
+    CONSTRAINT PCPNT_CONST PRIMARY KEY (ID)
+);
+
+CREATE TABLE PCRect (
+    ID BIGINT NOT NULL,
+    UPPER_LEFT BIGINT REFERENCES PCPoint NOT NULL,
+    LOWER_RIGHT BIGINT REFERENCES PCPoint NOT NULL,
+    CONSTRAINT PCRCT_CONST PRIMARY KEY (ID)
+);

Added: incubator/jdo/trunk/tck20/test/sql/derby/applicationidentity/schema7.sql
URL: http://svn.apache.org/viewcvs/incubator/jdo/trunk/tck20/test/sql/derby/applicationidentity/schema7.sql?rev=279031&view=auto
==============================================================================
--- incubator/jdo/trunk/tck20/test/sql/derby/applicationidentity/schema7.sql (added)
+++ incubator/jdo/trunk/tck20/test/sql/derby/applicationidentity/schema7.sql Tue Sep  6 09:16:25
2005
@@ -0,0 +1,27 @@
+-- SchemaType: application identity cls
+
+connect 'jdbc:derby:jdotckdb;create=true' user 'tckuser' password 'tckuser';
+
+CREATE SCHEMA applicationidentity_cls;
+SET SCHEMA applicationidentity_cls;
+
+-------------------------
+-- mylib
+-------------------------
+
+DROP TABLE PCRect;
+DROP TABLE PCPoint;
+
+CREATE TABLE PCPoint (
+    ID BIGINT NOT NULL,
+    X INTEGER NOT NULL,
+    Y INTEGER,
+    CONSTRAINT PCPNT_CONST PRIMARY KEY (ID)
+);
+
+CREATE TABLE PCRect (
+    ID BIGINT NOT NULL,
+    UPPER_LEFT BIGINT REFERENCES PCPoint NOT NULL,
+    LOWER_RIGHT BIGINT REFERENCES PCPoint NOT NULL,
+    CONSTRAINT PCRCT_CONST PRIMARY KEY (ID)
+);

Added: incubator/jdo/trunk/tck20/test/sql/derby/datastoreidentity/schema5.sql
URL: http://svn.apache.org/viewcvs/incubator/jdo/trunk/tck20/test/sql/derby/datastoreidentity/schema5.sql?rev=279031&view=auto
==============================================================================
--- incubator/jdo/trunk/tck20/test/sql/derby/datastoreidentity/schema5.sql (added)
+++ incubator/jdo/trunk/tck20/test/sql/derby/datastoreidentity/schema5.sql Tue Sep  6 09:16:25
2005
@@ -0,0 +1,29 @@
+-- SchemaType: datastore identity orm
+
+connect 'jdbc:derby:jdotckdb;create=true' user 'tckuser' password 'tckuser';
+
+CREATE SCHEMA datastoreidentity_orm;
+SET SCHEMA datastoreidentity_orm;
+
+-------------------------
+-- mylib
+-------------------------
+
+DROP TABLE PCRect;
+DROP TABLE PCPoint;
+
+CREATE TABLE PCPoint (
+    DATASTORE_IDENTITY BIGINT NOT NULL GENERATED ALWAYS AS IDENTITY,
+    ID BIGINT,
+    X INTEGER NOT NULL,
+    Y INTEGER,
+    CONSTRAINT PCPNT_CONST PRIMARY KEY (DATASTORE_IDENTITY)
+);
+
+CREATE TABLE PCRect (
+    DATASTORE_IDENTITY BIGINT NOT NULL GENERATED ALWAYS AS IDENTITY,
+    ID BIGINT,
+    UPPER_LEFT BIGINT REFERENCES PCPoint NOT NULL,
+    LOWER_RIGHT BIGINT REFERENCES PCPoint NOT NULL,
+    CONSTRAINT PCRCT_CONST PRIMARY KEY (DATASTORE_IDENTITY)
+);

Added: incubator/jdo/trunk/tck20/test/sql/derby/datastoreidentity/schema6.sql
URL: http://svn.apache.org/viewcvs/incubator/jdo/trunk/tck20/test/sql/derby/datastoreidentity/schema6.sql?rev=279031&view=auto
==============================================================================
--- incubator/jdo/trunk/tck20/test/sql/derby/datastoreidentity/schema6.sql (added)
+++ incubator/jdo/trunk/tck20/test/sql/derby/datastoreidentity/schema6.sql Tue Sep  6 09:16:25
2005
@@ -0,0 +1,29 @@
+-- SchemaType: datastore identity pkg
+
+connect 'jdbc:derby:jdotckdb;create=true' user 'tckuser' password 'tckuser';
+
+CREATE SCHEMA datastoreidentity_pkg;
+SET SCHEMA datastoreidentity_pkg;
+
+-------------------------
+-- mylib
+-------------------------
+
+DROP TABLE PCRect;
+DROP TABLE PCPoint;
+
+CREATE TABLE PCPoint (
+    DATASTORE_IDENTITY BIGINT NOT NULL GENERATED ALWAYS AS IDENTITY,
+    ID BIGINT,
+    X INTEGER NOT NULL,
+    Y INTEGER,
+    CONSTRAINT PCPNT_CONST PRIMARY KEY (DATASTORE_IDENTITY)
+);
+
+CREATE TABLE PCRect (
+    DATASTORE_IDENTITY BIGINT NOT NULL GENERATED ALWAYS AS IDENTITY,
+    ID BIGINT,
+    UPPER_LEFT BIGINT REFERENCES PCPoint NOT NULL,
+    LOWER_RIGHT BIGINT REFERENCES PCPoint NOT NULL,
+    CONSTRAINT PCRCT_CONST PRIMARY KEY (DATASTORE_IDENTITY)
+);

Added: incubator/jdo/trunk/tck20/test/sql/derby/datastoreidentity/schema7.sql
URL: http://svn.apache.org/viewcvs/incubator/jdo/trunk/tck20/test/sql/derby/datastoreidentity/schema7.sql?rev=279031&view=auto
==============================================================================
--- incubator/jdo/trunk/tck20/test/sql/derby/datastoreidentity/schema7.sql (added)
+++ incubator/jdo/trunk/tck20/test/sql/derby/datastoreidentity/schema7.sql Tue Sep  6 09:16:25
2005
@@ -0,0 +1,29 @@
+-- SchemaType: datastore identity cls
+
+connect 'jdbc:derby:jdotckdb;create=true' user 'tckuser' password 'tckuser';
+
+CREATE SCHEMA datastoreidentity_cls;
+SET SCHEMA datastoreidentity_cls;
+
+-------------------------
+-- mylib
+-------------------------
+
+DROP TABLE PCRect;
+DROP TABLE PCPoint;
+
+CREATE TABLE PCPoint (
+    DATASTORE_IDENTITY BIGINT NOT NULL GENERATED ALWAYS AS IDENTITY,
+    ID BIGINT,
+    X INTEGER NOT NULL,
+    Y INTEGER,
+    CONSTRAINT PCPNT_CONST PRIMARY KEY (DATASTORE_IDENTITY)
+);
+
+CREATE TABLE PCRect (
+    DATASTORE_IDENTITY BIGINT NOT NULL GENERATED ALWAYS AS IDENTITY,
+    ID BIGINT,
+    UPPER_LEFT BIGINT REFERENCES PCPoint NOT NULL,
+    LOWER_RIGHT BIGINT REFERENCES PCPoint NOT NULL,
+    CONSTRAINT PCRCT_CONST PRIMARY KEY (DATASTORE_IDENTITY)
+);



Mime
View raw message