public class SybaseXADataSource extends StandardXADataSource
connectionCount, deadLockMaxWait, deadLockRetryWait, DEFAULT_DEADLOCKMAXWAIT, DEFAULT_DEADLOCKRETRYWAIT, DEFAULT_MAX_CON, DEFAULT_MIN_CON, maxCon, minCon, transactionManagerDEFAULT_PREPAREDSTMTCACHESIZElogWriter, password, user| Constructor and Description |
|---|
SybaseXADataSource() |
| Modifier and Type | Method and Description |
|---|---|
PooledConnection |
getPooledConnection()
Create a pooled connection using the default username and password.
|
PooledConnection |
getPooledConnection(String user,
String password)
Create a sybase pooled connection using the supplied username and password.
|
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, getPreparedStmtCacheSize, setPreparedStmtCacheSizeequals, getConnection, getConnection, getDriverName, getObjectInstance, 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 PooledConnection getPooledConnection() throws SQLException
getPooledConnection in interface ConnectionPoolDataSourcegetPooledConnection in class StandardConnectionPoolDataSourceSQLExceptionpublic PooledConnection getPooledConnection(String user, String password) throws SQLException
getPooledConnection in interface ConnectionPoolDataSourcegetPooledConnection in class StandardConnectionPoolDataSourceSQLExceptionCopyright © 2014–2015. All rights reserved.