Docjar: A Java Source and Docuemnt Enginecom.*    java.*    javax.*    org.*    all    new    plug-in

Quick Search    Search Deep

java.sql: Javadoc index of package java.sql.


Package Samples:

java.sql

Classes:

DriverManager: This class manages the JDBC drivers in the system. It maintains a registry of drivers and locates the appropriate driver to handle a JDBC database URL. On startup, DriverManager loads all the managers specified by the system property jdbc.drivers . The value of this property should be a colon separated list of fully qualified driver class names. Additional drivers can be loaded at any time by simply loading the driver class with class.forName(String) . The driver should automatically register itself in a static initializer. The methods in this class are all static . This class cannot be instantiated ...
Driver: This interface specifies a mechanism for accessing a JDBC database driver. When the class implementing this method is loaded, it should register an instance of itself with the DriverManager in a static initializer. Because the DriverManager might attempt to use several drivers to find one that can connect to the requested database, this driver should not cause large numbers of classes and code to be loaded. If another driver is the one that ends up performing the request, any loading done by this driver would be wasted.
ResultSet: This interface provides access to the data set returned by a SQL statement. An instance of this interface is returned by the various execution methods in the Statement . This class models a cursor, which can be stepped through one row at a time. Methods are provided for accessing columns by column name or by index. Note that a result set is invalidated if the statement that returned it is closed.
Timestamp: This class is a wrapper around java.util.Date to allow the JDBC driver to identify the value as a SQL Timestamp. Note that this class also adds an additional field for nano-seconds, and so is not completely identical to java.util.Date as the java.sql.Date and java.sql.Time classes are.
PreparedStatement: This interface provides a mechanism for executing pre-compiled statements. This provides greater efficiency when calling the same statement multiple times. Parameters are allowed in a statement, providings for maximum reusability. Note that in this class parameter indices start at 1, not 0.
ResultSetMetaData: This interface provides a mechanism for obtaining information about the columns that are present in a ResultSet . Note that in this class column indices start at 1, not 0.
SQLInput: This interface provides methods for reading values from a stream that is connected to a SQL structured or distinct type. It is used for custom mapping of user defined data types.
BatchUpdateException: This class extends SQLException to count the successful updates in each statement in a batch that was successfully updated prior to the error.
SQLOutput: This interface provides methods for writing Java types to a SQL stream. It is used for implemented custom type mappings for user defined data types.
DriverPropertyInfo: This class holds a driver property that can be used for querying or setting driver configuration parameters.
Date: This class is a wrapper around java.util.Date to allow the JDBC driver to identify the value as a SQL Date.
Time: This class is a wrapper around java.util.Date to allow the JDBC driver to identify the value as a SQL Time.
Ref: This interface provides a mechanism for obtaining information about a SQL structured type
Clob: This interface contains methods for accessing a SQL CLOB (Character Large OBject) type.
Blob: This interface specified methods for accessing a SQL BLOB (Binary Large OBject) type.
DataTruncation: This exception is thrown when a piece of data is unexpectedly truncated in JDBC.
Struct: This interface implements the standard type mapping for a SQL structured type.
Connection: This interface provides methods for managing a connection to a database.
Types: This class contains constants that are used to identify SQL data types.
SQLData: This interface is used for mapping SQL data to user defined datatypes.
CallableStatement: This interface provides a mechanism for calling stored procedures.
Statement: This interface provides a mechanism for executing SQL statements.
Array: This interface provides methods for accessing SQL array types.
SQLWarning: This exception is thrown when a database warning occurs.
SQLException: This exception is thrown when a database error occurs.

Home | Contact Us | Privacy Policy | Terms of Service