On Fri, 10 Oct 2025 17:25:34 GMT, Lance Andersen <[email protected]> wrote:
>> 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:
>
> Spacing clean up in ConnectionTests
src/java.sql/share/classes/java/sql/JDBCType.java line 214:
> 212:
> 213: /**
> 214: * Identifies the generic SQL type {@code DECFLOAT}.
Suggestion:
* Identifies the generic SQL type {@code JSON}.
src/java.sql/share/classes/java/sql/SQLXML.java line 186:
> 184: * {@code SQLXML} object has been closed, will result in a {@link
> SQLException}
> 185: * being thrown.
> 186: * <P>
Suggestion:
* <p>
src/java.sql/share/classes/java/sql/Timestamp.java line 473:
> 471: * }
> 472: *
> 473: * @return a hash code value for this Timestamp.
Suggestion:
* @return a hash code value for this Timestamp.
-------------
PR Review Comment: https://git.openjdk.org/jdk/pull/27693#discussion_r2422745497
PR Review Comment: https://git.openjdk.org/jdk/pull/27693#discussion_r2422746464
PR Review Comment: https://git.openjdk.org/jdk/pull/27693#discussion_r2422747021