Since: API Level 1
package

java.sql

Classes | Description

Provides a compatibility interface for accessing SQL-based databases.

more...

Interfaces

Array A Java representation of the SQL ARRAY type. 
Blob A Java interface representing the SQL BLOB type. 
CallableStatement An interface used to call Stored Procedures
Clob A Java interface mapping for the SQL CLOB type. 
Connection A connection represents a link from a Java application to a database. 
DatabaseMetaData An interface which provides comprehensive information about the database management system and its supported features. 
Driver An interface to a JDBC driver. 
ParameterMetaData An interface used to get information about the types and properties of parameters in a PreparedStatement
PreparedStatement An interface for a precompiled SQL Statement. 
Ref This interface represents an SQL Ref - a data object containing a cursor or pointer to a result table. 
ResultSet An interface for an object which represents a database table entry, returned as the result of the query to the database. 
ResultSetMetaData Provides information about the columns returned in a ResultSet
Savepoint A savepoint is an instant during the current transaction that can be utilized by a rollback via the rollback() command. 
SQLData An interface for the custom mapping of an SQL User Defined Type (UDT) to a Java class. 
SQLInput The SQLInput interface defines operations which apply to a type of input stream which carries a series of values representing an instance of an SQL structured type or SQL distinct type. 
SQLOutput The interface for an output stream used to write attributes of an SQL User Defined Type (UDT) to the database. 
Statement Interface used for executing static SQL statements to retrieve query results. 
Struct An interface which provides facilities for manipulating an SQL structured type as a Java object. 

Classes

Date A class which can consume and produce dates in SQL Date format. 
DriverManager Provides facilities for managing JDBC drivers. 
DriverPropertyInfo A class holding information about driver properties of a database connection. 
SQLPermission A Permission relating to security access control in the java.sql package. 
Time Java representation of an SQL TIME value. 
Timestamp A Java representation of the SQL TIMESTAMP type. 
Types A class which defines constants used to identify generic SQL types, also called JDBC types. 

Exceptions

BatchUpdateException This exception is thrown if a problem occurs during a batch update operation. 
DataTruncation An exception which is thrown when a JDBC driver unexpectedly truncates a data value either when reading (resulting in warning), or when writing data (resulting in an error). 
SQLException An Exception class that is used in conjunction with JDBC operations. 
SQLWarning An exception class that holds information about Database access warnings.