public class InformixXADataSource extends StandardXADataSource
connectionCount, deadLockMaxWait, deadLockRetryWait, DEFAULT_DEADLOCKMAXWAIT, DEFAULT_DEADLOCKRETRYWAIT, DEFAULT_MAX_CON, DEFAULT_MIN_CON, maxCon, minCon, transactionManager
DEFAULT_PREPAREDSTMTCACHESIZE
logWriter, password, user
Constructor and Description |
---|
InformixXADataSource() |
Modifier and Type | Method and Description |
---|---|
javax.sql.PooledConnection |
getPooledConnection()
Create a pooled connection using the default username and password.
|
javax.sql.PooledConnection |
getPooledConnection(java.lang.String user,
java.lang.String password)
Create a informix pooled connection using the supplied username and password.
|
javax.sql.XAConnection |
getXAConnection()
Creates an XA connection using the default username and password.
|
javax.sql.XAConnection |
getXAConnection(java.lang.String user,
java.lang.String password)
Creates an XA connection using the supplied username and password.
|
closeFreeConnection, dump, freeConnection, getAllConnections, getConnectionCount, getDeadLockMaxWait, getDeadLockRetryWait, getMaxCon, getMinCon, getTransactionManager, getXidConnections, getXidCount, processToWait, setDeadLockMaxWait, setDeadLockRetryWait, setDriverName, setMaxCon, setMinCon, setPassword, setTransactionManager, setUrl, setUser, toString
getMasterPrepStmtCache, getParentLogger, getPreparedStmtCacheSize, setPreparedStmtCacheSize
equals, getConnection, getConnection, getDriverName, getObjectInstance, getReference, getTransactionIsolation, getUrl, hashCode, isWrapperFor, setTransactionIsolation, unwrap
getDescription, getLoginTimeout, getLogWriter, getPassword, getThreadFactory, getUser, isDebug, isVerbose, setDebug, setDescription, setLoginTimeout, setLogWriter, setThreadFactory, setVerbose, shutdown
public javax.sql.XAConnection getXAConnection() throws java.sql.SQLException
getXAConnection
in interface javax.sql.XADataSource
getXAConnection
in class StandardXADataSource
java.sql.SQLException
public javax.sql.XAConnection getXAConnection(java.lang.String user, java.lang.String password) throws java.sql.SQLException
getXAConnection
in interface javax.sql.XADataSource
getXAConnection
in class StandardXADataSource
java.sql.SQLException
public javax.sql.PooledConnection getPooledConnection() throws java.sql.SQLException
getPooledConnection
in interface javax.sql.ConnectionPoolDataSource
getPooledConnection
in class StandardConnectionPoolDataSource
java.sql.SQLException
public javax.sql.PooledConnection getPooledConnection(java.lang.String user, java.lang.String password) throws java.sql.SQLException
getPooledConnection
in interface javax.sql.ConnectionPoolDataSource
getPooledConnection
in class StandardConnectionPoolDataSource
java.sql.SQLException