JavaTM 2 Platform
Standard Edition

Package java.sql

Provides the JDBC package.


Interface Summary
Array JDBC 2.0
Blob JDBC 2.0
CallableStatement The interface used to execute SQL stored procedures.
Clob JDBC 2.0 The mapping in the JavaTM programming language for the SQL CLOB type.
Connection A connection (session) with a specific database.
DatabaseMetaData Comprehensive information about the database as a whole.
Driver The interface that every driver class must implement.
PreparedStatement An object that represents a precompiled SQL statement.
Ref JDBC 2.0 A reference to an SQL structured type value in the database.
ResultSet A ResultSet provides access to a table of data.
ResultSetMetaData An object that can be used to find out about the types and properties of the columns in a ResultSet.
SQLData JDBC 2.0 The interface used for the custom mapping of SQL user-defined types.
SQLInput JDBC 2.0 A input stream that contains a stream of values representing an instance of an SQL structured or distinct type.
SQLOutput JDBC 2.0 The output stream for writing the attributes of a user-defined type back to the database.
Statement The object used for executing a static SQL statement and obtaining the results produced by it.
Struct JDBC 2.0

Class Summary
Date A thin wrapper around a millisecond value that allows JDBC to identify this as a SQL DATE.
DriverManager The basic service for managing a set of JDBC drivers.
DriverPropertyInfo Driver properties for making a connection.
Time A thin wrapper around java.util.Date that allows JDBC to identify this as a SQL TIME value.
Timestamp This class is a thin wrapper around java.util.Date that allows JDBC to identify this as a SQL TIMESTAMP value.
Types The class that defines constants that are used to identify generic SQL types, called JDBC types.

Exception Summary
BatchUpdateException JDBC 2.0
DataTruncation An exception that reports a DataTruncation warning (on reads) or throws a DataTruncation exception (on writes) when JDBC unexpectedly truncates a data value.
SQLException An exception that provides information on a database access error.
SQLWarning An exception that provides information on database access warnings.

Package java.sql Description

Provides the JDBC package. JDBC is a standard API for executing SQL statements. It contains classes and interfaces for creating SQL statements, and retrieving the results of executing those statements against relational databases. JDBC has a framework whereby different ``drivers'' can be installed dynamically to access different databases.


JavaTM 2 Platform
Standard Edition

Submit a bug or feature
Java, Java 2D, and JDBC are a trademarks or registered trademarks of Sun Microsystems, Inc. in the US and other countries.
Copyright 1993-1999 Sun Microsystems, Inc. 901 San Antonio Road,
Palo Alto, California, 94303, U.S.A. All Rights Reserved.