public class PGConnectionPoolDataSource extends AbstractDataSource implements ConnectionPoolDataSource, Referenceable
Constructor and Description |
---|
PGConnectionPoolDataSource()
Constructor
|
Modifier and Type | Method and Description |
---|---|
protected Reference |
createReference()
Create a reference using the correct ObjectFactory instance
|
PooledConnection |
getPooledConnection() |
PooledConnection |
getPooledConnection(String user,
String password) |
createConnection, getApplicationName, getClientEncoding, getDatabase, getHost, getHousekeeper, getLoginTimeout, getLogWriter, getNetworkTimeout, getParentLogger, getParsedSqlCacheSize, getPassword, getPort, getPreparedStatementCacheSize, getReference, getStrictMode, getUser, init, setApplicationName, setClientEncoding, setDatabase, setHost, setHousekeeper, setLoginTimeout, setLogWriter, setNetworkTimeout, setParsedSqlCacheSize, setPassword, setPort, setPreparedStatementCacheSize, setStrictMode, setUser
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
getLoginTimeout, getLogWriter, getParentLogger, setLoginTimeout, setLogWriter
getReference
public PooledConnection getPooledConnection() throws SQLException
getPooledConnection
in interface ConnectionPoolDataSource
SQLException
public PooledConnection getPooledConnection(String user, String password) throws SQLException
getPooledConnection
in interface ConnectionPoolDataSource
SQLException
protected Reference createReference()
createReference
in class AbstractDataSource
Copyright © 2013-2015 impossibl.com. All Rights Reserved.