All Superinterfaces:
CommonDataSource, Wrapper

  • Method Summary

    Create a new ConnectionBuilder instance

    Attempts to establish a connection with the data source that this DataSource object represents.

    Attempts to establish a connection with the data source that this DataSource object represents.

    int

    Gets the maximum time in seconds that this data source can wait while attempting to connect to a database.

    Retrieves the log writer for this DataSource object.

    void

    setLoginTimeout(int seconds)

    Sets the maximum time in seconds that this data source will wait while attempting to connect to a database.

    void

    Sets the log writer for this DataSource object to the given java.io.PrintWriter object.

    Methods declared in interface Wrapper

    isWrapperFor, unwrap

    boolean

    Returns true if this either implements the interface argument or is directly or indirectly a wrapper for an object that does.

    <T> T

    Returns an object that implements the given interface to allow access to non-standard methods, or standard methods not exposed by the proxy.

  • Method Details

    • getConnection

    • getConnection

    • getLogWriter

    • setLogWriter

    • setLoginTimeout

    • getLoginTimeout

    • createConnectionBuilder