public class PGXADataSource extends AbstractDataSource implements XADataSource, Referenceable
Constructor and Description |
---|
PGXADataSource()
Constructor
|
Modifier and Type | Method and Description |
---|---|
protected Reference |
createReference()
Create a reference using the correct ObjectFactory instance
|
XAConnection |
getXAConnection() |
XAConnection |
getXAConnection(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 XAConnection getXAConnection() throws SQLException
getXAConnection
in interface XADataSource
SQLException
public XAConnection getXAConnection(String user, String password) throws SQLException
getXAConnection
in interface XADataSource
SQLException
protected Reference createReference()
createReference
in class AbstractDataSource
Copyright © 2013–2017 impossibl.com. All rights reserved.