public class PGDataSource extends com.impossibl.postgres.jdbc.AbstractGeneratedDataSource implements DataSource, Referenceable
settings| 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) |
String |
getDescription() |
boolean |
isWrapperFor(Class<?> iface) |
<T> T |
unwrap(Class<T> iface) |
getApiTrace, getApiTraceFile, getApplicationName, getDatabaseName, getDatabaseUrl, getDataSourceName, getDescriptionCacheSize, getFetchSize, getFieldFormat, getFieldLengthMax, getHousekeeper, getLoginTimeout, getMoneyFractionalDigits, getNetworkTimeout, getParamFormat, getParsedSqlCacheSize, getPassword, getPortNumber, getPreparedStatementCacheSize, getPreparedStatementCacheThreshold, getProtocolBufferPooling, getProtocolEncoding, getProtocolIoMode, getProtocolIoThreads, getProtocolMessageSizeMax, getProtocolSocketRecvBufferSize, getProtocolSocketSendBufferSize, getProtocolTrace, getProtocolTraceFile, getProtocolVersion, getReadOnly, getRegistrySharing, getServerAddresses, getServerLocalName, getServerName, getSqlTrace, getSqlTraceFile, getSslCaCertificateFile, getSslCertificateFile, getSslHomeDir, getSslKeyFile, getSslKeyPassword, getSslKeyPasswordCallback, getSslMode, getStrictMode, getUser, setApiTrace, setApiTraceFile, setApplicationName, setDatabaseName, setDatabaseUrl, setDataSourceName, setDescriptionCacheSize, setFetchSize, setFieldFormat, setFieldLengthMax, setHousekeeper, setLoginTimeout, setMoneyFractionalDigits, setNetworkTimeout, setParamFormat, setParsedSqlCacheSize, setPassword, setPortNumber, setPreparedStatementCacheSize, setPreparedStatementCacheThreshold, setProtocolBufferPooling, setProtocolEncoding, setProtocolIoMode, setProtocolIoThreads, setProtocolMessageSizeMax, setProtocolSocketRecvBufferSize, setProtocolSocketSendBufferSize, setProtocolTrace, setProtocolTraceFile, setProtocolVersion, setReadOnly, setRegistrySharing, setServerAddresses, setServerLocalName, setServerName, setSqlTrace, setSqlTraceFile, setSslCaCertificateFile, setSslCertificateFile, setSslHomeDir, setSslKeyFile, setSslKeyPassword, setSslKeyPasswordCallback, setSslMode, setStrictMode, setUsercreateConnection, getClientEncoding, getHost, getLogWriter, getParentLogger, getPort, getReference, getUrl, init, setClientEncoding, setHost, setLoginTimeout, setLogWriter, setPort, setUrlclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetLoginTimeout, getLogWriter, getParentLogger, setLoginTimeout, setLogWritergetReferencepublic String getDescription()
getDescription in class AbstractDataSourcepublic 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 AbstractDataSource