db-derby-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Rick Hillegas (Updated) (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (DERBY-5488) Add remaining JDBC 4.1 bits which did not appear in the Java 7 javadoc.
Date Mon, 14 Nov 2011 15:43:57 GMT

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

Rick Hillegas updated DERBY-5488:
---------------------------------

    Attachment: derby-5488-09-aa-jdbcMinorVersion.diff

Attaching derby-5488-09-aa-jdbcMinorVersion.diff. This patch adjusts the JDBC level reported
by Derby's drivers when running on Java 6 or later. The new version is 4.1. I am running tests
now.

Note that 4.1 is the version returned if you are running on Java 6 or Java 7.

If you run on Java 6, you can still call the 4.1 methods via reflection. For this reason I
believe it makes sense to report 4.1 as the JDBC level on Java 6 even though the platform
itself only recognizes the 4.0 methods.

Touches the following files:

---------

M       java/engine/org/apache/derby/impl/jdbc/EmbedDatabaseMetaData40.java

Change to embedded DatabaseMetaData.getJDBCMinorVersion().

---------

M       java/client/org/apache/derby/client/net/NetDatabaseMetaData40.java

Change to network DatabaseMetaData.getJDBCMinorVersion().

---------

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

Change to metadata test.

                
> Add remaining JDBC 4.1 bits which did not appear in the Java 7 javadoc.
> -----------------------------------------------------------------------
>
>                 Key: DERBY-5488
>                 URL: https://issues.apache.org/jira/browse/DERBY-5488
>             Project: Derby
>          Issue Type: Improvement
>          Components: JDBC, SQL
>    Affects Versions: 10.9.0.0
>            Reporter: Rick Hillegas
>            Assignee: Rick Hillegas
>         Attachments: JDBC_4.1_Supplement.html, derby-5488-01-aa-objectMappingAndConversion.diff,
derby-5488-02-aa-fixBigInteger.diff, derby-5488-03-ac-moveDecimalSetterGetterAndTest.diff,
derby-5488-04-aa-fixBigIntegerDecimal.diff, derby-5488-05-ad-limitOffset.diff, derby-5488-06-aa-limitOffsetTests.diff,
derby-5488-07-aa-booleanObjects.diff, derby-5488-08-aa-extraLimitOffsetTest.diff, derby-5488-09-aa-jdbcMinorVersion.diff,
z.java
>
>
> In addition to the JDBC 4.1 bits which were visible in the Java 7 javadoc, a couple other
items appear in the JDBC 4.1 Maintenance Review spec. This spec has been published on the
JCP website at http://download.oracle.com/otndocs/jcp/jdbc-4_1-mrel-eval-spec/index.html.
I will attach a functional spec for the remaining bits.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

Mime
View raw message