public interface OracleConnectionPoolDataSource extends OracleDataSource, OracleConnectionPoolDataSource
CONNECTION_PROPERTIES, DATA_SOURCE_NAME, DATABASE_NAME, DESCRIPTION, EXPLICIT_CACHING_ENABLED, IMPLICIT_CACHING_ENABLED, MAX_STATEMENTS, NETWORK_PROTOCOL, PASSWORD, PORT_NUMBER, ROLE_NAME, SERVER_NAME, URL, USER
Modifier and Type | Method and Description |
---|---|
javax.sql.PooledConnection |
getPooledConnection()
Attempts to establish a database connection.
|
javax.sql.PooledConnection |
getPooledConnection(java.lang.String user,
java.lang.String passwd)
Attempts to establish a database connection.
|
clearReplayStatistics, getConnectionInitializationCallback, getExplicitCachingEnabled, getImplicitCachingEnabled, getMaxStatements, getReplayStatistics, getRoleName, registerConnectionInitializationCallback, setExplicitCachingEnabled, setImplicitCachingEnabled, setMaxStatements, setRoleName, unregisterConnectionInitializationCallback
createConnectionBuilder, setExecutorService
createShardingKeyBuilder, getConnectionProperties, getConnectionProperty, getDatabaseName, getDataSourceName, getDescription, getNetworkProtocol, getPortNumber, getServerName, getURL, getUser, setConnectionProperties, setConnectionProperty, setDatabaseName, setDataSourceName, setDescription, setHostnameResolver, setNetworkProtocol, setPassword, setPortNumber, setServerName, setSingleShardTransactionSupport, setSSLContext, setTokenSupplier, setURL, setUser
getLoginTimeout, getLogWriter, getParentLogger, setLoginTimeout, setLogWriter
createPooledConnectionBuilder
javax.sql.PooledConnection getPooledConnection() throws java.sql.SQLException
getPooledConnection
in interface javax.sql.ConnectionPoolDataSource
java.sql.SQLException
- if a database-access error occurs.javax.sql.PooledConnection getPooledConnection(java.lang.String user, java.lang.String passwd) throws java.sql.SQLException
getPooledConnection
in interface javax.sql.ConnectionPoolDataSource
user
- The database user on whose behalf the Connection is
being made.passwd
- The user's passwordjava.sql.SQLException
- if a database-access error occurs.