db-derby-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Rick Hillegas (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (DERBY-6000) Implement support for JDBC 4.2
Date Tue, 26 Feb 2013 19:28:13 GMT

     [ 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-19-ab-miscBuddyTestingFixes.diff

Attaching derby-6000-19-ab-miscBuddyTestingFixes.diff. This patch addresses concerns raised
by buddy testing. Those concerns are described here: http://wiki.apache.org/db-derby/TenTenOneBuddyTesting
. I am running tests now.

This patch makes the following changes:

1) Implementations of the new CallableStatement overloads were made more readable by removing
try-catch blocks and factoring a status check into a common helper method.

2) DERBY-6088 is addressed by adding a failure condition to PreparedStatementTest42.

3) Driver.acceptsURL() and connect() now throw a SQLException if the url is null, per the
JDBC 4.2 spec clarification.

4) The list of illegal JDBC types is longer now.

Touches the following files:

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

M       java/client/org/apache/derby/client/am/PreparedStatement.java
M       java/client/org/apache/derby/client/am/CallableStatement42.java
M       java/client/org/apache/derby/client/am/PreparedStatement42.java

Changes for (1).

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

M       java/engine/org/apache/derby/impl/jdbc/ConnectionChild.java
M       java/testing/org/apache/derbyTesting/functionTests/tests/jdbc4/PreparedStatementTest42.java
M       java/client/org/apache/derby/client/am/Agent.java

Changes for (2) and (4).

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

M       java/engine/org/apache/derby/jdbc/JDBC.java
M       java/engine/org/apache/derby/jdbc/InternalDriver.java
M       java/engine/org/apache/derby/mbeans/JDBCMBean.java
M       java/testing/org/apache/derbyTesting/functionTests/tests/jdbcapi/DriverTest.java
M       java/client/org/apache/derby/jdbc/ClientDriver.java

Changes for (3).

                
> 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, derby-6000-07-ab-batchUpdateException.diff, derby-6000-08-aa-batchUpdateExceptionConstructor.diff,
derby-6000-09-ac-setObjectPS.diff, derby-6000-10-aa-rename_getMaxLogicalLobSize.diff, derby-6000-11-aa-ResultSet.updateObject.diff,
derby-6000-12-aa-CallableStatement.registerOutParameter.diff, derby-6000-12-ab-CallableStatement.registerOutParameter.diff,
derby-6000-13-aa-fixJavadoc.diff, derby-6000-14-aa-unsupportedVetter.diff, derby-6000-15-aa-CallableStatement.setObject.diff,
derby-6000-16-aa-fixJavadocOnJava8.diff, derby-6000-17-aa-getMaxLogicalLobSize.diff, derby-6000-18-aa-checkForClosedBeforeForwarding.diff,
derby-6000-19-ab-miscBuddyTestingFixes.diff, JDBC_4.2_Changes.html, 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

Mime
View raw message