public class PGDataSource extends AbstractDataSource implements DataSource, Referenceable
| Constructor and Description |
|---|
PGDataSource()
Constructor
|
| Modifier and Type | Method and Description |
|---|---|
protected Reference |
createReference()
Create a reference using the correct ObjectFactory instance
|
Connection |
getConnection() |
Connection |
getConnection(String user,
String password) |
boolean |
isWrapperFor(Class<?> iface) |
<T> T |
unwrap(Class<T> iface) |
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, setUserclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetLoginTimeout, getLogWriter, getParentLogger, setLoginTimeout, setLogWritergetReferencepublic Connection getConnection() throws SQLException
getConnection in interface DataSourceSQLExceptionpublic Connection getConnection(String user, String password) throws SQLException
getConnection in interface DataSourceSQLExceptionpublic <T> T unwrap(Class<T> iface) throws SQLException
unwrap in interface WrapperSQLExceptionpublic boolean isWrapperFor(Class<?> iface) throws SQLException
isWrapperFor in interface WrapperSQLExceptionprotected Reference createReference()
createReference in class AbstractDataSourceCopyright © 2013–2017 impossibl.com. All rights reserved.