| |
|
| javax.sql.ConnectionPoolDataSource
ConnectionPoolDataSource | public interface ConnectionPoolDataSource extends CommonDataSource(Code) | | A factory for PooledConnection
objects. An object that implements this interface will typically be
registered with a naming service that is based on the
JavaTM Naming and Directory Interface
(JNDI).
since: 1.4 |
getPooledConnection | PooledConnection getPooledConnection() throws SQLException(Code) | | Attempts to establish a physical database connection that can
be used as a pooled connection.
a PooledConnection object that is a physicalconnection to the database that thisConnectionPoolDataSource object represents exception: SQLException - if a database access error occurs exception: SQLFeatureNotSupportedException - if the JDBC driver does not supportthis method since: 1.4 |
getPooledConnection | PooledConnection getPooledConnection(String user, String password) throws SQLException(Code) | | Attempts to establish a physical database connection that can
be used as a pooled connection.
Parameters: user - the database user on whose behalf the connection is being made Parameters: password - the user's password a PooledConnection object that is a physicalconnection to the database that thisConnectionPoolDataSource object represents exception: SQLException - if a database access error occurs exception: SQLFeatureNotSupportedException - if the JDBC driver does not supportthis method since: 1.4 |
|
|
|