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-4869) Implement JDBC 4.1, the api increment introduced by Java 7
Date Fri, 04 Feb 2011 20:17:31 GMT

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

Rick Hillegas updated DERBY-4869:
---------------------------------

    Attachment: derby-4869-24-ab-getParentLogger.diff

Attaching derby-4869-24-ab-getParentLogger.diff. This patch adds the new getParentLogger()
method to Derby's JDBC 4.0 implementations of java.sql.Driver and javax.sql.CommonDataSource.
I will run regression tests.

For the moment, these methods throw SQLFeatureNotSupportedException. Some day we may decide
to implement JDBC support for the Logger idiom.

The two drivers which we actually register with DriverManager are AutoloadedDriver (in the
embedded case) and ClientDriver (in the client/server case). The new method could not be put
into these existing classes because the new method must raise a Java 6 exception. This patch
introduces subclasses of these drivers for use on Java 6 and higher platforms. A little static
inititialization sorts out which drivers to load based on the platform.



Touches the following files:

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

M      java/engine/org/apache/derby/jdbc/AutoloadedDriver.java
A      java/engine/org/apache/derby/jdbc/AutoloadedDriver40.java
M      tools/jar/extraDBMSclasses.properties

Changes to the embedded driver.

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

M      java/client/org/apache/derby/jdbc/ClientDriver.java
A      java/client/org/apache/derby/jdbc/ClientDriver40.java
M      tools/jar/dnc.properties

Changes to the client/server driver.

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

M      java/engine/org/apache/derby/jdbc/EmbeddedXADataSource40.java
M      java/engine/org/apache/derby/jdbc/EmbeddedDataSource40.java
M      java/engine/org/apache/derby/jdbc/EmbeddedConnectionPoolDataSource40.java

Changes to the embedded DataSources.

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

M      java/client/org/apache/derby/jdbc/ClientXADataSource40.java
M      java/client/org/apache/derby/jdbc/ClientConnectionPoolDataSource40.java
M      java/client/org/apache/derby/jdbc/ClientDataSource40.java

Changes to the client/server DataSources

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

M      java/testing/org/apache/derbyTesting/functionTests/tests/jdbc4/_Suite.java
A      java/testing/org/apache/derbyTesting/functionTests/tests/jdbc4/Driver40Test.java
A      java/testing/org/apache/derbyTesting/functionTests/tests/jdbc4/Wrapper41DataSource.java
A      java/testing/org/apache/derbyTesting/functionTests/tests/jdbc4/Wrapper41Driver.java
M      java/testing/org/apache/derbyTesting/functionTests/tests/jdbc4/DataSourceTest.java
M      java/testing/org/apache/derbyTesting/functionTests/tests/jdbcapi/DriverTest.java

New tests.


> Implement JDBC 4.1, the api increment introduced by Java 7
> ----------------------------------------------------------
>
>                 Key: DERBY-4869
>                 URL: https://issues.apache.org/jira/browse/DERBY-4869
>             Project: Derby
>          Issue Type: Improvement
>          Components: JDBC
>            Reporter: Rick Hillegas
>            Assignee: Rick Hillegas
>         Attachments: JDBC_4.1_Changes.html, derby-4869-01-ac-rs-getObject.diff, derby-4869-01-ad-rs-getObject.diff,
derby-4869-02-aa-cs-ps-addBatch.diff, derby-4869-02-ab-cs-ps-addBatch.diff, derby-4869-03-aa-rs-getObject-errorCleanup.diff,
derby-4869-04-aa-rs-getObject-simplification.diff, derby-4869-05-aa-rs-getObject-exception.diff,
derby-4869-06-aa-cs-getObject.diff, derby-4869-06-ab-cs-getObject.diff, derby-4869-07-aa-timedisplacement.diff,
derby-4869-08-ac-nullHandling.diff, derby-4869-09-ac-abort.diff, derby-4869-10-aa-abortSecurityTest.diff,
derby-4869-11-aa-abortHidePrivates.diff, derby-4869-12-aa-xaAndPooledAborts.diff, derby-4869-13-aa-xaAndPooledAbortsSecurityManager.diff,
derby-4869-14-ac-closeOnCompletion.diff, derby-4869-15-aa-autoGenKeys.diff, derby-4869-16-aa-clarifyStatementSpec.diff,
derby-4869-17-aa-statementTimeoutException.diff, derby-4869-18-aa-getSetSchema.diff, derby-4869-19-aa-getSetNetworkTimeout.diff,
derby-4869-20-aa-setSchemaFastPath.diff, derby-4869-21-aa-implicitlyClosedResultSets.diff,
derby-4869-21-ab-implicitlyClosedResultSets.diff, derby-4869-22-aa-unstableStatementTest.diff,
derby-4869-23-aa-dbmd.diff, derby-4869-24-ab-getParentLogger.diff, derby-4869-exp-01-aa-noTryCatch.diff,
disable-tests.diff, timezone.diff
>
>
> This is a master issue logged to track our work implementing JDBC 4.1, the changes to
the java.sql and javax.sql packages introduced by Java 7.

-- 
This message is automatically generated by JIRA.
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

       

Mime
View raw message