public class JDBCPooledDataSource extends JDBCCommonDataSource implements ConnectionPoolDataSource, Serializable, Referenceable, CommonDataSource
ConnectionPoolDataSource
.For use by connection pooling software, not by end users.
Constructor and Description |
---|
JDBCPooledDataSource() |
Modifier and Type | Method and Description |
---|---|
PooledConnection |
getPooledConnection() |
PooledConnection |
getPooledConnection(String user,
String password) |
Reference |
getReference()
Retrieves the Reference of this object.
|
getDatabase, getDatabaseName, getDataSourceName, getDescription, getLoginTimeout, getLogWriter, getNetworkProtocol, getParentLogger, getServerName, getUrl, getURL, getUser, setDatabase, setDatabaseName, setLoginTimeout, setLogWriter, setPassword, setProperties, setUrl, setURL, setUser
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
getLoginTimeout, getLogWriter, getParentLogger, setLoginTimeout, setLogWriter
public PooledConnection getPooledConnection() throws SQLException
getPooledConnection
in interface ConnectionPoolDataSource
SQLException
public PooledConnection getPooledConnection(String user, String password) throws SQLException
getPooledConnection
in interface ConnectionPoolDataSource
SQLException
public Reference getReference() throws NamingException
getReference
in interface Referenceable
NamingException
- If a naming exception was encountered
while retrieving the reference.Copyright © 2001 - 2017 HSQL Development Group.