Chapter 11. JDBC Reference

The java.sql package listed in Figure 11.1 contains the entire JDBC API. It first became part of the core Java libraries with the 1.1 release. Classes new as of JDK 1.2 are indicated by the “Availability” header. Deprecated methods are preceded by a diamond (

JDBC Reference

) mark. New JDK 1.2 methods in old JDK 1.1 classes are shown in bold. Table 11.1 shows the mapping of JDK version support to JDBC versions.

Table 11-1. JDK to JDBC Version Mapping

JDK Version

JDBC Version

1.0

1.1

1.1

1.2

1.2

2.0

Reference

Get Database Programming with JDBC & Java, Second Edition now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.