API Overview API Index Package Overview Direct link to this page
JDK 1.6
  javax.sql. CommonDataSource View Source
Author(s)
Since
Version
Serial
Hierarchy
 CommonDataSource
Subinterfaces
Description
public interface CommonDataSource
  Interface that defines the methods which are common between DataSource, XADataSource and ConnectionPoolDataSource.
See also:   
Methods
Hide/Show inherited methods
public int getLoginTimeout () throws SQLException
  Gets the maximum time in seconds that this data source can wait while attempting to connect to a database.
public PrintWriter getLogWriter () throws SQLException
  Retrieves the log writer for this DataSource object.
public void setLoginTimeout (int seconds) throws SQLException
  Sets the maximum time in seconds that this data source will wait while attempting to connect to a database.
public void setLogWriter (PrintWriter out) throws SQLException
  Sets the log writer for this DataSource object to the given java.io.PrintWriter object.
Fields
Hide/Show inherited fields
Generated By: JavaOnTracks Doclet 0.1.4     ©Thibaut Colar