|Contents | Prev | Next||JDBCTM Guide: Getting Started|
java.sqlpackage. This document contains the specification for the JDBC 2.0 Core API. The second component, termed the JDBC 2.0 Standard Extension API, comprises the contents of a new package,
javax.sql, which as its name implies will be delivered as a Java Standard Extension. The JDBC 2.0 Standard Extension API is described in a separate document.
java.sql package contains all of the additions that have been made to the existing
JDBC interfaces and classes, in addition to a few new classes and interfaces. The new
javax.sql package has been introduced to contain the parts of the JDBC 2.0 API
which are closely related to other pieces of the Java platform that are themselves standard
extensions, such as the Java Naming and Directory Interface (JNDI), and the Java
Transaction Service (JTS). In addition, some advanced features that are easily separable
from the JDBC Core API, such as connection pooling and rowsets, have also been added
javax.sql. Putting these advanced facilities into a standard extension instead of
into core will help keep the JDBC Core API small and focused.
Since standard extensions are downloadable, it will always be possible to deploy an application which uses the features in the JDBC standard extension that will "run anywhere", since if a standard extension isn't installed on a client machine, it can be downloaded along with the application that uses it.
The separate JDBC 2.0 Core API documentation contains the Java definitions of the
java.sql interfaces and classes listed above. The figure below shows the more important
core interfaces and their relationships. The important relationships between interfaces
have not changed with the introduction of the JDBC 2.0 API.
The list below contains the classes and interfaces that comprise the
A detailed specification of these new types is contained in a separate document.