JEP 170: JDBC 4.2

OwnerLance Andersen
Created2011/06/14 20:00
Updated2014/07/10 20:33
TypeFeature
StatusCompleted
Componentcore-libs
ScopeSE
JSRs114 MR, 221 MR
Discussionjdbc dash spec dash discuss at openjdk dot java dot net
EffortS
DurationS
Priority4
Endorsed byMark Reinhold
Release8
Issue8046160
DependsJEP 150: Date & Time API

Summary

Minor enhancements to JDBC to improve usability and portability

Motivation

Improve the ability to leverage new data types and continue to make improvements in areas that have been requested by JDBC application programmers and driver vendors.

Description

Changes under consideration for JDBC 4.2 include:

Testing

Changes will be mostly additions to existing interfaces.

The JCK will need to tests added for any concrete methods/classes, e.g., PreparedStatement.setObject(int pos, Object val, SQLType type).

Risks and Assumptions

The primary risk of this change is that any change affecting method type-inference has the potential for backwards incompatibility.

Dependences

JSR 310, the new Date and Time API (JEP 150).

Impact