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, setUserequals, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetLoginTimeout, getLogWriter, getParentLogger, setLoginTimeout, setLogWriterpublic PooledConnection getPooledConnection() throws SQLException
getPooledConnection in interface ConnectionPoolDataSourceSQLExceptionpublic PooledConnection getPooledConnection(String user, String password) throws SQLException
getPooledConnection in interface ConnectionPoolDataSourceSQLExceptionpublic Reference getReference() throws NamingException
getReference in interface ReferenceableNamingException - If a naming exception was encountered
while retrieving the reference.Copyright © 2001 - 2017 HSQL Development Group.