No cache version.
Caching disabled. Default setting for this page:enabled (code LNG204)If the display is too slow, you can disable the user mode to view the cached version.
-
- All Superinterfaces:
- CommonDataSource
public interface ConnectionPoolDataSource extends CommonDataSource
A factory forPooledConnection
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
-
-
Method Summary
Methods Modifier and Type Method and Description PooledConnection
getPooledConnection()
Attempts to establish a physical database connection that can be used as a pooled connection.PooledConnection
getPooledConnection(String user, String password)
Attempts to establish a physical database connection that can be used as a pooled connection.-
Methods inherited from interface javax.sql.CommonDataSource
getLoginTimeout, getLogWriter, getParentLogger, setLoginTimeout, setLogWriter
-
-
-
-
Method Detail
-
getPooledConnection
PooledConnection getPooledConnection() throws SQLException
Attempts to establish a physical database connection that can be used as a pooled connection.- Returns:
- a
PooledConnection
object that is a physical connection to the database that thisConnectionPoolDataSource
object represents - Throws:
SQLException
- if a database access error occursSQLFeatureNotSupportedException
- if the JDBC driver does not support this method- Since:
- 1.4
-
getPooledConnection
PooledConnection getPooledConnection(String user, String password) throws SQLException
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 madepassword
- the user's password- Returns:
- a
PooledConnection
object that is a physical connection to the database that thisConnectionPoolDataSource
object represents - Throws:
SQLException
- if a database access error occursSQLFeatureNotSupportedException
- if the JDBC driver does not support this method- Since:
- 1.4
-
-
Can not display this page of the Infobrol website
Type of error (18-01)
Unknown format specifier "&"Please try again in a few minutes…
Steph