RFR: 8369432: Add Support for JDBC 4.5 MR [v5]

Lance Andersen lancea at openjdk.org
Wed Oct 15 12:22:42 UTC 2025


> This PR adds support for the upcoming JDBC 4.5 MR which provides 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
>   - It is the 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
> 
> Tiers 1-3 have been run

Lance Andersen has updated the pull request incrementally with one additional commit since the last revision:

  Address additional spacing comments and add Util class for hosting shared default methods

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

Changes:
  - all: https://git.openjdk.org/jdk/pull/27693/files
  - new: https://git.openjdk.org/jdk/pull/27693/files/1c1c8047..85db0021

Webrevs:
 - full: https://webrevs.openjdk.org/?repo=jdk&pr=27693&range=04
 - incr: https://webrevs.openjdk.org/?repo=jdk&pr=27693&range=03-04

  Stats: 379 lines in 5 files changed: 307 ins; 37 del; 35 mod
  Patch: https://git.openjdk.org/jdk/pull/27693.diff
  Fetch: git fetch https://git.openjdk.org/jdk.git pull/27693/head:pull/27693

PR: https://git.openjdk.org/jdk/pull/27693


More information about the core-libs-dev mailing list