Uploaded image for project: 'JDK'
  1. JDK
  2. JDK-8369918

Add Support for the JDBC 4.5 MR

XMLWordPrintable

    • Icon: CSR CSR
    • Resolution: Approved
    • Icon: P4 P4
    • 26
    • core-libs
    • None
    • source, binary
    • minimal
    • The updates to the API should not have any impact WRT compatibility.
    • Java API
    • SE

      Summary

      Add support for JDBC 4.5, which is a maintenance release to the JDBC specification

      Problem

      Add a targeted set of features that were requested by several JDBC driver vendors

      Solution

      The JDBC 4.5 MR will provide the following updates to the JDBC specification:

      • Deprecate SQLPermission for removal

      • Enhance the Blob/Clob/Array/SQLXML/NClob interfaces to extend/support AutoClosable

      • Add the SQL types DECFLOAT, JSON to Types.Java and JDBCType.java

      • Add the quoted identifier methods that were added previously to the Statement interface in JDK 9 to the Connection interface

        • This is exact same verbiage & default methods used when these methods were added to the Statement interface
      • Clarify the Timestamp::hashCode method which incorrectly indicates that nanos are not used when calculating the hash

      Specification

      Please refer to the attached API diff of the javadocs which reflect the changes to the API

            lancea Lance Andersen
            lancea Lance Andersen
            Roger Riggs
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: