Home » openjdk-7 » java » sql »

java.sql

Interfaces:

Array   The mapping in the Java programming language for the SQL type ARRAY code | html
Blob   The representation (mapping) in the JavaTM programming language of an SQL BLOB value.  code | html
CallableStatement   The interface used to execute SQL stored procedures.  code | html
Clob   The mapping in the JavaTM programming language for the SQL CLOB type.  code | html
Connection  

A connection (session) with a specific database. 

code | html
DatabaseMetaData   Comprehensive information about the database as a whole.  code | html
Driver   The interface that every driver class must implement.  code | html
NClob   The mapping in the JavaTM programming language for the SQL NCLOB type.  code | html
ParameterMetaData   An object that can be used to get information about the types and properties for each parameter marker in a PreparedStatement object.  code | html
PreparedStatement   An object that represents a precompiled SQL statement.  code | html
Ref   The mapping in the Java programming language of an SQL REF value, which is a reference to an SQL structured type value in the database.  code | html
ResultSet   A table of data representing a database result set, which is usually generated by executing a statement that queries the database.  code | html
ResultSetMetaData   An object that can be used to get information about the types and properties of the columns in a ResultSet object.  code | html
RowId   The representation (mapping) in the Java programming language of an SQL ROWID value.  code | html
SQLData   The interface used for the custom mapping of an SQL user-defined type (UDT) to a class in the Java programming language.  code | html
SQLInput   An input stream that contains a stream of values representing an instance of an SQL structured type or an SQL distinct type.  code | html
SQLOutput   The output stream for writing the attributes of a user-defined type back to the database.  code | html
SQLXML   The mapping in the JavaTM programming language for the SQL XML type.  code | html
Savepoint   The representation of a savepoint, which is a point within the current transaction that can be referenced from the Connection.rollback method.  code | html
Statement  

The object used for executing a static SQL statement and returning the results it produces. 

code | html
Struct  

The standard mapping in the Java programming language for an SQL structured type. 

code | html
Wrapper   Interface for JDBC classes which provide the ability to retrieve the delegate instance when the instance in question is in fact a proxy class.  code | html

Classes:

ClientInfoStatus   Enumeration for status of the reason that a property could not be set via a call to Connection.setClientInfo  code | html
PseudoColumnUsage   Enumeration for pseudo/hidden column usage.  code | html
RowIdLifetime   Enumeration for RowId life-time values.  code | html
BatchUpdateException   The subclass of SQLException thrown when an error occurs during a batch update operation.  code | html
DataTruncation   An exception thrown as a DataTruncation exception (on writes) or reported as a DataTruncation warning (on reads) when a data values is unexpectedly truncated for reasons other than its having execeeded MaxFieldSize code | html
Date  

A thin wrapper around a millisecond value that allows JDBC to identify this as an SQL DATE value. 

code | html
DriverInfo     code | html
DriverManager  

The basic service for managing a set of JDBC drivers.
NOTE: The DataSource interface, new in the JDBC 2.0 API, provides another way to connect to a data source. 

code | html
DriverPropertyInfo  

Driver properties for making a connection. 

code | html
SQLClientInfoException   The subclass of SQLException is thrown when one or more client info properties could not be set on a Connection code | html
SQLDataException   The subclass of SQLException thrown when the SQLState class value is '22', or under vendor-specified conditions.  code | html
SQLException  

An exception that provides information on a database access error or other errors. 

code | html
SQLFeatureNotSupportedException   The subclass of SQLException thrown when the SQLState class value is '0A' ( the value is 'zero' A).  code | html
SQLIntegrityConstraintViolationException   The subclass of SQLException thrown when the SQLState class value is '23', or under vendor-specified conditions.  code | html
SQLInvalidAuthorizationSpecException   The subclass of SQLException thrown when the SQLState class value is '28', or under vendor-specified conditions.  code | html
SQLNonTransientConnectionException   The subclass of SQLException thrown for the SQLState class value '08', or under vendor-specified conditions.  code | html
SQLNonTransientException   The subclass of SQLException thrown when an instance where a retry of the same operation would fail unless the cause of the SQLException is corrected.  code | html
SQLPermission   The permission for which the SecurityManager will check when code that is running in an applet, or an application with a SecurityManager enabled, calls the DriverManager.setLogWriter method, DriverManager.setLogStream (deprecated) method, {@code SyncFactory.setJNDIContext} method, {@code SyncFactory.setLogger} method, {@code Connection.setNetworktimeout} method, or the Connection.abort method.  code | html
SQLRecoverableException   The subclass of SQLException thrown in situations where a previously failed operation might be able to succeed if the application performs some recovery steps and retries the entire transaction or in the case of a distributed transaction, the transaction branch.  code | html
SQLSyntaxErrorException   The subclass of SQLException thrown when the SQLState class value is '42', or under vendor-specified conditions.  code | html
SQLTimeoutException  

The subclass of SQLException thrown when the timeout specified by Statement has expired. 

code | html
SQLTransactionRollbackException   The subclass of SQLException thrown when the SQLState class value is '40', or under vendor-specified conditions.  code | html
SQLTransientConnectionException   The subclass of SQLException for the SQLState class value '08', or under vendor-specified conditions.  code | html
SQLTransientException   The subclass of SQLException is thrown in situations where a previoulsy failed operation might be able to succeed when the operation is retried without any intervention by application-level functionality.  code | html
SQLWarning  

An exception that provides information on database access warnings. 

code | html
Time  

A thin wrapper around the java.util.Date class that allows the JDBC API to identify this as an SQL TIME value. 

code | html
Timestamp  

A thin wrapper around java.util.Date that allows the JDBC API to identify this as an SQL TIMESTAMP value. 

code | html
Types  

The class that defines the constants that are used to identify generic SQL types, called JDBC types. 

code | html