db-jdo-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Michelle Caisse <Michelle.Cai...@Sun.COM>
Subject Re: Patch for new tests of schema orm attribute
Date Mon, 29 Aug 2005 20:11:09 GMT
Hi Michael,

Michael Bouschen wrote:

> Hi Michelle,
>
> I installed cygwin on my windows which is a "Linux-like environment 
> for Windows". It comes with a chmod command.

Okay, I have cygwin.  So there is no preventative solution for this 
problem, just a cure?

>
> What do you think about the overwrite question from below: is this a 
> problem?

Ah, I missed that.  We have no other examples of this, since these tests 
are the first ones to require a separate schema.  All the schemas can 
coexist.  That would work fine.  I don't have a strong feeling one way 
or the other.

-- Michelle

>
> Regards Michael
>
>> Hi Michael,
>>
>> Michael Bouschen wrote:
>>
>>> Hi Michelle,
>>>
>>> two remarks:
>>> - the patch includes the following lines for a couple of files:
>>>  Name: svn:executable
>>>     + *
>>> I read this that the file will be executable which is not necessary 
>>> for sql, .orm and .conf files. I have a similar problem, since I 
>>> also work under Windows.
>>
>>
>>
>> I remember a discussion of this problem a while back, but I don't 
>> recall a resolution.  Is there a way to fix this?
>>
>>> - Is the value of property jdo.tck.description in files 
>>> schemaAttributePackage.conf and schemaAttributeOrm.conf, correct? It 
>>> looks like a cut(paste kind of problem.
>>
>>
>>
>> Thanks.  I will fix.
>>
>> -- Michelle
>>
>>>
>>>> Hi,
>>>>
>>>> I've attached a patch containing three new tests for <orm 
>>>> schema="<schemaname>">,  <package schema="<schemaname>">,
and 
>>>> <class schema="<schemaname>">.  In three orm files (for each

>>>> identity type), the schema name is set to <IDENTITYTYPE>99 with the

>>>> schema attribute of the orm, package, or class element.  The value 
>>>> of jdo.tck.mapping, set in the .conf file, selects the .orm and 
>>>> .sql files.  It also determines the value of  
>>>> javax.jdo.mapping.Schema which is set in the PMF properties file 
>>>> output by the build process. This value is overriden by an explicit 
>>>> specification of the schema name in the metadata.
>>>>
>>>> Because jdo.tck.mapping selects both the schema file and the 
>>>> mapping file, there must be three separate .sql files for these 
>>>> three tests, one corresponding to each orm file, although the 
>>>> schemas used are identical. In this patch, I chose to use the same 
>>>> schema name for them.  Thus each successive installation overwrites 
>>>> the previous.  I could also have chosen to install three identical 
>>>> schemas of different names.  Any opinions on whether one choice is 
>>>> better than another?
>>>
>>>
>>>
>>>
>>> I am wondering about the overwrite: do we have other cases where a 
>>> schema (or part of it) is overwritten. I recall that the two schemas 
>>> for application vs. datstore identity coexist, correct?
>>>
>>> Regards Michael
>>>
>>>>
>>>> All three tests pass.
>>>>
>>>> -- Michelle
>>>>
>>>>
>>>> ------------------------------------------------------------------------

>>>>
>>>>
>>>> Index: test/sql/derby/datastoreidentity/schema1.sql
>>>> ===================================================================
>>>> --- test/sql/derby/datastoreidentity/schema1.sql    (revision 0)
>>>> +++ test/sql/derby/datastoreidentity/schema1.sql    (revision 0)
>>>> @@ -0,0 +1,29 @@
>>>> +-- SchemaType: datastore identity 99
>>>> +
>>>> +connect 'jdbc:derby:jdotckdb;create=true' user 'tckuser' password 
>>>> 'tckuser';
>>>> +
>>>> +CREATE SCHEMA datastoreidentity99;
>>>> +SET SCHEMA datastoreidentity99;
>>>> +
>>>> +-------------------------
>>>> +-- 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)
>>>> +);
>>>>
>>>> Property changes on: test/sql/derby/datastoreidentity/schema1.sql
>>>> ___________________________________________________________________
>>>> Name: svn:executable
>>>>    + *
>>>>
>>>> Index: test/sql/derby/datastoreidentity/schema2.sql
>>>> ===================================================================
>>>> --- test/sql/derby/datastoreidentity/schema2.sql    (revision 0)
>>>> +++ test/sql/derby/datastoreidentity/schema2.sql    (revision 0)
>>>> @@ -0,0 +1,29 @@
>>>> +-- SchemaType: datastore identity 99
>>>> +
>>>> +connect 'jdbc:derby:jdotckdb;create=true' user 'tckuser' password 
>>>> 'tckuser';
>>>> +
>>>> +CREATE SCHEMA datastoreidentity99;
>>>> +SET SCHEMA datastoreidentity99;
>>>> +
>>>> +-------------------------
>>>> +-- 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)
>>>> +);
>>>>
>>>> Property changes on: test/sql/derby/datastoreidentity/schema2.sql
>>>> ___________________________________________________________________
>>>> Name: svn:executable
>>>>    + *
>>>>
>>>> Index: test/sql/derby/datastoreidentity/schema3.sql
>>>> ===================================================================
>>>> --- test/sql/derby/datastoreidentity/schema3.sql    (revision 0)
>>>> +++ test/sql/derby/datastoreidentity/schema3.sql    (revision 0)
>>>> @@ -0,0 +1,29 @@
>>>> +-- SchemaType: datastore identity 99
>>>> +
>>>> +connect 'jdbc:derby:jdotckdb;create=true' user 'tckuser' password 
>>>> 'tckuser';
>>>> +
>>>> +CREATE SCHEMA datastoreidentity99;
>>>> +SET SCHEMA datastoreidentity99;
>>>> +
>>>> +-------------------------
>>>> +-- 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)
>>>> +);
>>>>
>>>> Property changes on: test/sql/derby/datastoreidentity/schema3.sql
>>>> ___________________________________________________________________
>>>> Name: svn:executable
>>>>    + *
>>>>
>>>> Index: test/sql/derby/applicationidentity/schema1.sql
>>>> ===================================================================
>>>> --- test/sql/derby/applicationidentity/schema1.sql    (revision 0)
>>>> +++ test/sql/derby/applicationidentity/schema1.sql    (revision 0)
>>>> @@ -0,0 +1,27 @@
>>>> +-- SchemaType: application identity 99
>>>> +
>>>> +connect 'jdbc:derby:jdotckdb;create=true' user 'tckuser' password 
>>>> 'tckuser';
>>>> +
>>>> +CREATE SCHEMA applicationidentity99;
>>>> +SET SCHEMA applicationidentity99;
>>>> +
>>>> +-------------------------
>>>> +-- 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)
>>>> +);
>>>>
>>>> Property changes on: test/sql/derby/applicationidentity/schema1.sql
>>>> ___________________________________________________________________
>>>> Name: svn:executable
>>>>    + *
>>>>
>>>> Index: test/sql/derby/applicationidentity/schema2.sql
>>>> ===================================================================
>>>> --- test/sql/derby/applicationidentity/schema2.sql    (revision 0)
>>>> +++ test/sql/derby/applicationidentity/schema2.sql    (revision 0)
>>>> @@ -0,0 +1,27 @@
>>>> +-- SchemaType: application identity 99
>>>> +
>>>> +connect 'jdbc:derby:jdotckdb;create=true' user 'tckuser' password 
>>>> 'tckuser';
>>>> +
>>>> +CREATE SCHEMA applicationidentity99;
>>>> +SET SCHEMA applicationidentity99;
>>>> +
>>>> +-------------------------
>>>> +-- 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)
>>>> +);
>>>>
>>>> Property changes on: test/sql/derby/applicationidentity/schema2.sql
>>>> ___________________________________________________________________
>>>> Name: svn:executable
>>>>    + *
>>>>
>>>> Index: test/sql/derby/applicationidentity/schema3.sql
>>>> ===================================================================
>>>> --- test/sql/derby/applicationidentity/schema3.sql    (revision 0)
>>>> +++ test/sql/derby/applicationidentity/schema3.sql    (revision 0)
>>>> @@ -0,0 +1,27 @@
>>>> +-- SchemaType: application identity 99
>>>> +
>>>> +connect 'jdbc:derby:jdotckdb;create=true' user 'tckuser' password 
>>>> 'tckuser';
>>>> +
>>>> +CREATE SCHEMA applicationidentity99;
>>>> +SET SCHEMA applicationidentity99;
>>>> +
>>>> +-------------------------
>>>> +-- 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)
>>>> +);
>>>>
>>>> Property changes on: test/sql/derby/applicationidentity/schema3.sql
>>>> ___________________________________________________________________
>>>> Name: svn:executable
>>>>    + *
>>>>
>>>> Index: test/conf/schemaAttributePackage.conf
>>>> ===================================================================
>>>> --- test/conf/schemaAttributePackage.conf    (revision 0)
>>>> +++ test/conf/schemaAttributePackage.conf    (revision 0)
>>>> @@ -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 = 2
>>>>
>>>> Property changes on: test/conf/schemaAttributePackage.conf
>>>> ___________________________________________________________________
>>>> Name: svn:executable
>>>>    + *
>>>>
>>>> Index: test/conf/schemaAttributeOrm.conf
>>>> ===================================================================
>>>> --- test/conf/schemaAttributeOrm.conf    (revision 0)
>>>> +++ test/conf/schemaAttributeOrm.conf    (revision 0)
>>>> @@ -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 = 1
>>>>
>>>> Property changes on: test/conf/schemaAttributeOrm.conf
>>>> ___________________________________________________________________
>>>> Name: svn:executable
>>>>    + *
>>>>
>>>> Index: test/conf/schemaAttributeClass.conf
>>>> ===================================================================
>>>> --- test/conf/schemaAttributeClass.conf    (revision 0)
>>>> +++ test/conf/schemaAttributeClass.conf    (revision 0)
>>>> @@ -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 = 3
>>>>
>>>> Property changes on: test/conf/schemaAttributeClass.conf
>>>> ___________________________________________________________________
>>>> Name: svn:executable
>>>>    + *
>>>>
>>>> Index: test/conf/configurations.list
>>>> ===================================================================
>>>> --- test/conf/configurations.list    (revision 264158)
>>>> +++ test/conf/configurations.list    (working copy)
>>>> @@ -5,5 +5,8 @@
>>>>                   company1-1Relationships.conf \
>>>>                   company1-MRelationships.conf \
>>>>                   companyM-MRelationships.conf \
>>>> -                 companyAllRelationships.conf
>>>> +                 companyAllRelationships.conf \
>>>> +                 schemaAttributeClass.conf \
>>>> +                 schemaAttributeORM.conf \
>>>> +                 schemaAttributePackage.conf
>>>>  
>>>> Index: 
>>>> test/orm/datastoreidentity/org/apache/jdo/tck/pc/mylib/package-derby1.orm

>>>>
>>>> ===================================================================
>>>> --- 
>>>> test/orm/datastoreidentity/org/apache/jdo/tck/pc/mylib/package-derby1.orm
   
>>>> (revision 0)
>>>> +++ 
>>>> test/orm/datastoreidentity/org/apache/jdo/tck/pc/mylib/package-derby1.orm
   
>>>> (revision 0)
>>>> @@ -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="datastoreidentity99">
>>>> +  <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>
>>>> +
>>>>
>>>> Property changes on: 
>>>> test/orm/datastoreidentity/org/apache/jdo/tck/pc/mylib/package-derby1.orm

>>>>
>>>> ___________________________________________________________________
>>>> Name: svn:executable
>>>>    + *
>>>>
>>>> Index: 
>>>> test/orm/datastoreidentity/org/apache/jdo/tck/pc/mylib/package-derby2.orm

>>>>
>>>> ===================================================================
>>>> --- 
>>>> test/orm/datastoreidentity/org/apache/jdo/tck/pc/mylib/package-derby2.orm
   
>>>> (revision 0)
>>>> +++ 
>>>> test/orm/datastoreidentity/org/apache/jdo/tck/pc/mylib/package-derby2.orm
   
>>>> (revision 0)
>>>> @@ -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="datastoreidentity99" >
>>>> +
>>>> +    <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>
>>>> +
>>>>
>>>> Property changes on: 
>>>> test/orm/datastoreidentity/org/apache/jdo/tck/pc/mylib/package-derby2.orm

>>>>
>>>> ___________________________________________________________________
>>>> Name: svn:executable
>>>>    + *
>>>>
>>>> Index: 
>>>> test/orm/datastoreidentity/org/apache/jdo/tck/pc/mylib/package-derby3.orm

>>>>
>>>> ===================================================================
>>>> --- 
>>>> test/orm/datastoreidentity/org/apache/jdo/tck/pc/mylib/package-derby3.orm
   
>>>> (revision 0)
>>>> +++ 
>>>> test/orm/datastoreidentity/org/apache/jdo/tck/pc/mylib/package-derby3.orm
   
>>>> (revision 0)
>>>> @@ -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="datastoreidentity99">
>>>> +      <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="datastoreidentity99">
>>>> +      <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="datastoreidentity99">
>>>> +      <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="datastoreidentity99">
>>>> +      <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>
>>>> +
>>>>
>>>> Property changes on: 
>>>> test/orm/datastoreidentity/org/apache/jdo/tck/pc/mylib/package-derby3.orm

>>>>
>>>> ___________________________________________________________________
>>>> Name: svn:executable
>>>>    + *
>>>>
>>>> Index: 
>>>> test/orm/applicationidentity/org/apache/jdo/tck/pc/mylib/package-derby1.orm

>>>>
>>>> ===================================================================
>>>> --- 
>>>> test/orm/applicationidentity/org/apache/jdo/tck/pc/mylib/package-derby1.orm
   
>>>> (revision 0)
>>>> +++ 
>>>> test/orm/applicationidentity/org/apache/jdo/tck/pc/mylib/package-derby1.orm
   
>>>> (revision 0)
>>>> @@ -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="applicationidentity99">
>>>> +  <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>
>>>> +
>>>>
>>>> Property changes on: 
>>>> test/orm/applicationidentity/org/apache/jdo/tck/pc/mylib/package-derby1.orm

>>>>
>>>> ___________________________________________________________________
>>>> Name: svn:executable
>>>>    + *
>>>>
>>>> Index: 
>>>> test/orm/applicationidentity/org/apache/jdo/tck/pc/mylib/package-derby2.orm

>>>>
>>>> ===================================================================
>>>> --- 
>>>> test/orm/applicationidentity/org/apache/jdo/tck/pc/mylib/package-derby2.orm
   
>>>> (revision 0)
>>>> +++ 
>>>> test/orm/applicationidentity/org/apache/jdo/tck/pc/mylib/package-derby2.orm
   
>>>> (revision 0)
>>>> @@ -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="applicationidentity99">
>>>> +
>>>> +    <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>
>>>> +
>>>>
>>>> Property changes on: 
>>>> test/orm/applicationidentity/org/apache/jdo/tck/pc/mylib/package-derby2.orm

>>>>
>>>> ___________________________________________________________________
>>>> Name: svn:executable
>>>>    + *
>>>>
>>>> Index: 
>>>> test/orm/applicationidentity/org/apache/jdo/tck/pc/mylib/package-derby3.orm

>>>>
>>>> ===================================================================
>>>> --- 
>>>> test/orm/applicationidentity/org/apache/jdo/tck/pc/mylib/package-derby3.orm
   
>>>> (revision 0)
>>>> +++ 
>>>> test/orm/applicationidentity/org/apache/jdo/tck/pc/mylib/package-derby3.orm
   
>>>> (revision 0)
>>>> @@ -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="applicationidentity99">
>>>> +      <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="applicationidentity99">
>>>> +      <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="applicationidentity99">
>>>> +      <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="applicationidentity99">
>>>> +      <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>
>>>> +
>>>>
>>>> Property changes on: 
>>>> test/orm/applicationidentity/org/apache/jdo/tck/pc/mylib/package-derby3.orm

>>>>
>>>> ___________________________________________________________________
>>>> Name: svn:executable
>>>>    + *
>>>>
>>>
>>>
>
>


Mime
View raw message