public class IdbXADataSource extends StandardXADataSource implements XADataSource
connectionCount, deadLockMaxWait, deadLockRetryWait, DEFAULT_DEADLOCKMAXWAIT, DEFAULT_DEADLOCKRETRYWAIT, DEFAULT_MAX_CON, DEFAULT_MIN_CON, maxCon, minCon, transactionManagerDEFAULT_PREPAREDSTMTCACHESIZElogWriter, password, user| Constructor and Description |
|---|
IdbXADataSource()
Constructor.
|
| Modifier and Type | Method and Description |
|---|---|
Object |
getObjectInstance(Object refObj,
Name name,
Context nameCtx,
Hashtable env)
The factory interface.
|
XAConnection |
getXAConnection()
Creates an XA connection using the default username and password.
|
XAConnection |
getXAConnection(String user,
String password)
Creates an XA connection using the supplied username and password.
|
closeFreeConnection, dump, freeConnection, getAllConnections, getConnectionCount, getDeadLockMaxWait, getDeadLockRetryWait, getFreeConnection, getMaxCon, getMinCon, getTransactionManager, getXidConnections, getXidCount, processToWait, setDeadLockMaxWait, setDeadLockRetryWait, setDriverName, setMaxCon, setMinCon, setPassword, setTransactionManager, setUrl, setUser, toStringgetMasterPrepStmtCache, getPooledConnection, getPooledConnection, getPreparedStmtCacheSize, setPreparedStmtCacheSizeequals, getConnection, getConnection, getDriverName, getParentLogger, getReference, getTransactionIsolation, getUrl, hashCode, isWrapperFor, setTransactionIsolation, unwrapgetDescription, getLoginTimeout, getLogWriter, getPassword, getThreadFactory, getUser, isDebug, isVerbose, setDebug, setDescription, setLoginTimeout, setLogWriter, setThreadFactory, setVerbose, shutdownclone, finalize, getClass, notify, notifyAll, wait, wait, waitgetLoginTimeout, getLogWriter, getParentLogger, setLoginTimeout, setLogWriterpublic XAConnection getXAConnection() throws SQLException
getXAConnection in interface XADataSourcegetXAConnection in class StandardXADataSourceSQLExceptionpublic XAConnection getXAConnection(String user, String password) throws SQLException
getXAConnection in interface XADataSourcegetXAConnection in class StandardXADataSourceSQLExceptionpublic Object getObjectInstance(Object refObj, Name name, Context nameCtx, Hashtable env) throws Exception
getObjectInstance in interface ObjectFactorygetObjectInstance in class StandardDataSourceExceptionCopyright © 2014–2015. All rights reserved.