Android Guides | Samples

Java.Sql Namespace

Remarks

 

Classes

TypeReason
BatchUpdateExceptionThis exception is thrown if a problem occurs during a batch update operation.
ClientInfoStatusAn enumeration to describe the reason why a property cannot be set by calling Connection.setClientInfo.
ConnectionA connection represents a link from a Java application to a database.
ConnectionConsts
DatabaseMetaDataAn interface which provides comprehensive information about the database management system and its supported features.
DatabaseMetaDataConsts
DataTruncationAn 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).
DateA class which can consume and produce dates in SQL Date format.
DriverManagerProvides facilities for managing JDBC drivers.
DriverPropertyInfoA class holding information about driver properties of a database connection.
IArrayA Java representation of the SQL ARRAY type.
IBlobA Java interface representing the SQL BLOB type.
ICallableStatementAn interface used to call Stored Procedures.
IClobA Java interface mapping for the SQL CLOB type.
IConnectionA connection represents a link from a Java application to a database.
IDatabaseMetaDataAn interface which provides comprehensive information about the database management system and its supported features.
IDriverAn interface to a JDBC driver.
IDriverExtensions
INClob [Android Documentation]
IParameterMetaDataAn interface used to get information about the types and properties of parameters in a PreparedStatement.
IPreparedStatementAn interface for a precompiled SQL Statement.
IRefThis interface represents an SQL Ref - a data object containing a cursor or pointer to a result table.
IResultSetAn interface for an object which represents a database table entry, returned as the result of the query to the database.
IResultSetMetaDataProvides information about the columns returned in a ResultSet.
IRowIdMaps SQL's ROWID type into Java.
ISavepointA savepoint is an instant during the current transaction that can be utilized by a rollback via the Java.Sql.Connection.rollback() command.
ISQLDataAn interface for the custom mapping of an SQL User Defined Type (UDT) to a Java class.
ISQLInputThe 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.
ISQLOutputThe interface for an output stream used to write attributes of an SQL User Defined Type (UDT) to the database.
ISQLXMLMaps SQL's XML type into Java.
IStatementInterface used for executing static SQL statements to retrieve query results.
IStructAn interface which provides facilities for manipulating an SQL structured type as a Java object.
IWrapperThis class is an actual usage of the wrapper pattern for JDBC classes.
ParameterMetaDataAn interface used to get information about the types and properties of parameters in a PreparedStatement.
ParameterMetaDataConsts
ResultSetAn interface for an object which represents a database table entry, returned as the result of the query to the database.
ResultSetConsts
ResultSetMetaDataProvides information about the columns returned in a ResultSet.
ResultSetMetaDataConsts
RowIdLifetimeAn enumeration to describe the life-time of RowID.
SQLClientInfoExceptionAn exception, which is subclass of SQLException, is thrown when one or more client info properties could not be set on a Connection.
SQLDataExceptionAn exception, which is subclass of SQLException, is thrown when various data errors arise.
SQLExceptionAn exception that indicates a failed JDBC operation.
SQLFeatureNotSupportedExceptionAn exception, which is subclass of SQLNonTransientException, is thrown when various the JDBC driver does not support an optional JDBC feature.
SQLIntegrityConstraintViolationExceptionAn exception, which is subclass of SQLNonTransientException, is thrown when various the an integrity constraint (foreign key, primary key or unique key) has been violated.
SQLInvalidAuthorizationSpecExceptionAn exception, which is subclass of SQLNonTransientException, is thrown when the authorization credentials presented during connection establishment are not valid.
SQLNonTransientConnectionExceptionAn exception, which is subclass of SQLException, is thrown when the connection operation that failed will not succeed when the operation is retried without the cause of the failure being corrected.
SQLNonTransientException [Android Documentation]
SQLPermissionLegacy security code; do not use.
SQLRecoverableException [Android Documentation]
SQLSyntaxErrorException [Android Documentation]
SQLTimeoutException [Android Documentation]
SQLTransactionRollbackException [Android Documentation]
SQLTransientConnectionException [Android Documentation]
SQLTransientException [Android Documentation]
SQLWarningAn exception class that holds information about Database access warnings.
StatementInterface used for executing static SQL statements to retrieve query results.
StatementConsts
TimeJava representation of an SQL TIME value.
TimestampA Java representation of the SQL TIMESTAMP type.
TypesA class which defines constants used to identify generic SQL types, also called JDBC types.