[ 
https://issues.apache.org/jira/browse/DERBY-6000?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Rick Hillegas updated DERBY-6000:
---------------------------------

    Attachment: derby-6000-06-aa-DatabaseMetaData.diff

Attaching derby-6000-06-aa-DatabaseMetaData.diff. This patch makes the JDBC 4.2 
changes to DatabaseMetaData. I will run regression tests.

This patch makes the following changes to the embedded and client drivers:

1) Changes the datatype of the CARDINALITY and PAGES columns returned by 
getIndexInfo(). The column types are changed from INT to BIGINT.

2) Adds a getMaxLogicalLOBSize() method. This method is supposed to return the 
maximum size of a LOB in bytes. For Derby that is the maximum size of a CLOB. A 
CLOB can have Integer.MAX_VALUE chars, which works out to Integer.MAX_VALUE * 2 
bytes.

3) Adds a supportsRefCursors() method. This returns false because Derby does 
not support the Types.REF_CURSOR type.


Touches the following files:

--------------

M       java/engine/org/apache/derby/iapi/reference/Limits.java
M       java/engine/org/apache/derby/impl/jdbc/metadata.properties
M       java/engine/org/apache/derby/impl/jdbc/EmbedDatabaseMetaData.java

Embedded changes.

--------------

M       java/client/org/apache/derby/client/am/LogicalDatabaseMetaData40.java
M       java/client/org/apache/derby/client/am/DatabaseMetaData.java

Client changes.

--------------

M       
java/testing/org/apache/derbyTesting/functionTests/tests/jdbcapi/Wrapper41DBMD.java
M       
java/testing/org/apache/derbyTesting/functionTests/tests/jdbcapi/DatabaseMetaDataTest.java
A       
java/testing/org/apache/derbyTesting/functionTests/tests/jdbcapi/Wrapper42DBMD.java

Tests.

                
> Implement support for JDBC 4.2
> ------------------------------
>
>                 Key: DERBY-6000
>                 URL: https://issues.apache.org/jira/browse/DERBY-6000
>             Project: Derby
>          Issue Type: Improvement
>          Components: JDBC
>            Reporter: Rick Hillegas
>         Attachments: derby-6000-01-aa-executeLargeUpdateEmbedded.diff, 
> derby-6000-02-ad-executeLargeUpdateClient.diff, 
> derby-6000-03-aa-executeLargeBatch.diff, 
> derby-6000-04-aa-setLargeMaxRows.diff, 
> derby-6000-05-aa-executeLargeUpdatePS.diff, 
> derby-6000-06-aa-DatabaseMetaData.diff, JDBC_4.2_Changes.html
>
>
> Open JDK 8 will include maintenance rev 4.2 of JDBC. The public discussion of 
> JDBC 4.2 will take place here: http://openjdk.java.net/jeps/170. We will want 
> to build Derby support for JDBC 4.2 after a public spec appears. At this 
> time, it is unclear what Derby release will carry this support.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

Reply via email to