Apache JDO Project - Re: svn commit: r224397 - in /incubator/jdo/trunk/tck20/test/sql/derby:

This is Interesting: Free IT Magazines  
Home > Archive > Apache JDO Project > July 2005 > Re: svn commit: r224397 - in /incubator/jdo/trunk/tck20/test/sql/derby:





You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

Author Re: svn commit: r224397 - in /incubator/jdo/trunk/tck20/test/sql/derby:
Michael Watzek

2005-07-25, 7:45 am

Hi Craig,

I noticed that you changed the type of column ALLTYPES.CHARACTERVAL from
CHAR(1) to INTEGER. Did you check in this change accidently or
intentionally? In the latter case, I propose to change the type of other
CHAR(1) columns also (except for those which are mapped by boolean fields):

- PrimitiveTypes.charNotNull
- PrimitiveTypes.charNull

Note, that the type of these columns is CHAR which defaults to CHAR(1).

Regards,
Michael

clr@apache.org wrote:
> Author: clr
> Date: Fri Jul 22 13:57:22 2005
> New Revision: 224397
>
> URL: http://svn.apache.org/viewcvs?rev=224397&view=rev
> Log:
> change type of char column to INTEGER to accommodate 65535
>
> Modified:
> incubator/jdo/trunk/tck20/test/sql/derby/applicationidentity/schema.sql
> incubator/jdo/trunk/tck20/test/sql/derby/datastoreidentity/schema.sql
>
> Modified: incubator/jdo/trunk/tck20/test/sql/derby/applicationidentity/schema.sql
> URL: http://svn.apache.org/viewcvs/incub...24397&view=diff
> ========================================
======================================
> --- incubator/jdo/trunk/tck20/test/sql/derby/applicationidentity/schema.sql (original)
> +++ incubator/jdo/trunk/tck20/test/sql/derby/applicationidentity/schema.sql Fri Jul 22 13:57:22 2005
> @@ -868,7 +868,7 @@
> PRIMITIVESHORT SMALLINT,
> BOOLEANVAL CHAR(1) CHECK (BOOLEANVAL IN ('Y','N')),
> BYTEVAL SMALLINT,
> - CHARACTERVAL CHAR(1),
> + CHARACTERVAL INTEGER,
> DOUBLEVAL DOUBLE,
> FLOATVAL FLOAT,
> INTEGERVAL INTEGER,
>
> Modified: incubator/jdo/trunk/tck20/test/sql/derby/datastoreidentity/schema.sql
> URL: http://svn.apache.org/viewcvs/incub...24397&view=diff
> ========================================
======================================
> --- incubator/jdo/trunk/tck20/test/sql/derby/datastoreidentity/schema.sql (original)
> +++ incubator/jdo/trunk/tck20/test/sql/derby/datastoreidentity/schema.sql Fri Jul 22 13:57:22 2005
> @@ -817,7 +817,7 @@
> PRIMITIVESHORT SMALLINT,
> BOOLEANVAL CHAR(1)CHECK (BOOLEANVAL IN ('Y','N')),
> BYTEVAL SMALLINT,
> - CHARACTERVAL CHAR(1),
> + CHARACTERVAL INTEGER,
> DOUBLEVAL DOUBLE,
> FLOATVAL FLOAT,
> INTEGERVAL INTEGER,
>



--
-------------------------------------------------------------------
Michael Watzek Tech@Spree Engineering GmbH
mailto:mwa.tech@spree.de Buelowstr. 66
Tel.: ++49/30/235 520 36 10783 Berlin - Germany
Fax.: ++49/30/217 520 12 http://www.spree.de/
-------------------------------------------------------------------


Sponsored Links






Free braindumps | Software forum | Database administration forum

Copyright 2003 - 2008 webservertalk.com