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, getDefaultFetchSize, getHost, getHousekeeper, getLoginTimeout, getLogWriter, getNetworkTimeout, getParentLogger, getParsedSqlCacheSize, getPassword, getPort, getPreparedStatementCacheSize, getReceiveBufferSize, getReference, getSendBufferSize, getSslCertificateFile, getSslKeyFile, getSslMode, getSslPassword, getSslRootCertificateFile, getStrictMode, getUser, init, setApplicationName, setClientEncoding, setDatabase, setDefaultFetchSize, setHost, setHousekeeper, setLoginTimeout, setLogWriter, setNetworkTimeout, setParsedSqlCacheSize, setPassword, setPort, setPreparedStatementCacheSize, setReceiveBufferSize, setSendBufferSize, setSslCertificateFile, setSslKeyFile, setSslMode, setSslPassword, setSslRootCertificateFile, 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–2017 impossibl.com. All rights reserved.