javax.sql.CommonDataSource |
Known Indirect Subclasses |
Interface that defines the methods which are common between DataSource, XADataSource and ConnectionPoolDataSource.
Public Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
Retrieves a log writer which is a character output stream to which all
logging and tracing messages for this data source will be printed.
| |||||||||||
While attempting to connect to a database, this method get the maximum
time in seconds that this data source can wait.
| |||||||||||
Set a log writer which is a character output stream to which all logging
and tracing messages for this data source will be printed.
| |||||||||||
While attempting to connect to a database, this method set the maximum
time in seconds that this data source can wait.
|
Retrieves a log writer which is a character output stream to which all logging and tracing messages for this data source will be printed.
SQLException | An exception threw when a data base access error occurs. |
---|
While attempting to connect to a database, this method get the maximum time in seconds that this data source can wait.
SQLException | An exception threw when a data base access error occurs. |
---|
Set a log writer which is a character output stream to which all logging and tracing messages for this data source will be printed.
out | The PrintWriter object for this DataSource. |
---|
SQLException |
---|
While attempting to connect to a database, this method set the maximum time in seconds that this data source can wait.
seconds | An integer value to indicate the maximum time. |
---|
SQLException | An exception threw when a data base access error occurs. |
---|