Java Platform 1.2

Package java.sql

Provides the JDBC package.

See:
          Description

Interface Summary
Array JDBC 2.0 The mapping in the Java programming language for the SQL type ARRAY.
Blob JDBC 2.0 The representation (mapping) in the JavaTM programming language of an SQL BLOB.
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 The standard mapping for an SQL structured type.
 

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 An exception thrown when an error occurs during a batch update operation.
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.

Since:
JDK1.1

Java Platform 1.2

Submit a bug or feature Version 1.2 of Java Platform API Specification
Java is a trademark or registered trademark of Sun Microsystems, Inc. in the US and other countries.
Copyright 1993-1998 Sun Microsystems, Inc. 901 San Antonio Road,
Palo Alto, California, 94303, U.S.A. All Rights Reserved.