You are viewing a plain text version of this content. The canonical link for it is here.
Posted to derby-dev@db.apache.org by "Knut Anders Hatlen (JIRA)" <de...@db.apache.org> on 2006/04/24 14:08:07 UTC

[jira] Resolved: (DERBY-1094) Make DatabaseMetaData.getProcedureColumns() JDBC4 compliant

     [ http://issues.apache.org/jira/browse/DERBY-1094?page=all ]
     
Knut Anders Hatlen resolved DERBY-1094:
---------------------------------------

    Resolution: Fixed

Thanks Dyre! The patch still looks good. I ran derbyall, jdbc40 and
upgrade test. Got one failure in derbyall, but it seems completely
unrelated to your patch so I committed it anyway (revision 396525).

Here's the output from the failing test:

********* Diff file derbyall/storeall/storemore/onlineBackupTest4.diff
*** Start: onlineBackupTest4 jdk1.5.0_04 storeall:storemore 2006-04-24 11:51:50 ***
68 del
< ij(CONNECTION1)> select * from ctest;
69 del
< ID         |NAME                                                                                                                            
70 del
< --------------------------------------------------------------------------------------------------------------------------------------------
71 del
< 1          |derby backup/compress test                                                                                                     &
72 del
< 2          |derby backup/compress test                                                                                                     &
73 del
< 300        |derby backup/compress test                                                                                                     &
74 del
< 509        |derby backup/compress test                                                                                                     &
75 del
< 510        |derby backup/compress test                                                                                                     &
76 del
< 511        |derby backup/compress test                                                                                                     &
77 del
< 512        |derby backup/compress test                                                                                                     &
78 del
< ij(CONNECTION1)> insert into ctest values(2000, 'restore was successfil') ;
79 del
< 1 row inserted/updated/deleted
80 del
< ij(CONNECTION1)> 
80 add
> org.apache.derby.shared.common.sanity.AssertFailure: ASSERT FAILED shiftUp failed, low must be between 0 and recordCount.  low = 140, recordCount = 2
> ERROR XJ040: Failed to start database 'wombat', see the next exception for details.
> ERROR XJ001: Java exception: 'ASSERT FAILED shiftUp failed, low must be between 0 and recordCount.  low = 140, recordCount = 2: org.apache.derby.shared.common.sanity.AssertFailure'.
> ij> select * from ctest;
> IJ ERROR: Unable to establish connection
> ij> insert into ctest values(2000, 'restore was successfil') ;
> IJ ERROR: Unable to establish connection
> ij> 
Test Failed.
*** End:   onlineBackupTest4 jdk1.5.0_04 storeall:storemore 2006-04-24 11:51:56 ***

> Make DatabaseMetaData.getProcedureColumns() JDBC4 compliant
> -----------------------------------------------------------
>
>          Key: DERBY-1094
>          URL: http://issues.apache.org/jira/browse/DERBY-1094
>      Project: Derby
>         Type: Sub-task

>   Components: JDBC
>     Versions: 10.2.0.0
>     Reporter: Dyre Tjeldvoll
>     Assignee: Dyre Tjeldvoll
>      Fix For: 10.2.0.0
>  Attachments: derby-1094.preliminary.diff, derby-1094.v1.diff, derby-1094.v1.stat, derby-1094.v2.diff, derbyall_report.v1.txt
>
> The result set returned by getProcedureColumns() must be extended with 7 additional columns in JDBC 4.0; COLUMN_DEF, SQL_DATA_TYPE, SQL_DATETIME_SUB, CHAR_OCTET_LENGTH, ORDINAL_POSITION, IS_NULLABLE and SPECIFIC_NAME. The returned result set should be ordered by PROCEDURE_SCHEMA, PROCEDURE_NAME and SPECIFIC_NAME

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
   http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
   http://www.atlassian.com/software/jira