org.enhydra.jdbc.sybase
Class SybaseXADataSource
java.lang.Object
org.enhydra.jdbc.util.JdbcUtil
org.enhydra.jdbc.core.CoreDataSource
org.enhydra.jdbc.standard.StandardDataSource
org.enhydra.jdbc.standard.StandardConnectionPoolDataSource
org.enhydra.jdbc.standard.StandardXADataSource
org.enhydra.jdbc.sybase.SybaseXADataSource
- All Implemented Interfaces:
- java.io.Serializable, java.sql.Wrapper, javax.naming.Referenceable, javax.naming.spi.ObjectFactory, javax.sql.CommonDataSource, javax.sql.ConnectionPoolDataSource, javax.sql.DataSource, javax.sql.XADataSource
public class SybaseXADataSource
- extends StandardXADataSource
- See Also:
- Serialized Form
Fields inherited from class org.enhydra.jdbc.util.JdbcUtil |
log |
Method Summary |
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 sybase 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. |
Methods inherited from class org.enhydra.jdbc.standard.StandardXADataSource |
closeFreeConnection, dump, freeConnection, getAllConnections, getConnectionCount, getDeadLockMaxWait, getDeadLockRetryWait, getMaxCon, getMinCon, getTransactionManager, getXidConnections, getXidCount, processToWait, setDeadLockMaxWait, setDeadLockRetryWait, setDriverName, setMaxCon, setMinCon, setPassword, setTransactionManager, setUrl, setUser, toString |
Methods inherited from class org.enhydra.jdbc.core.CoreDataSource |
getDescription, getLoginTimeout, getLogWriter, getPassword, getThreadFactory, getUser, isDebug, isVerbose, setDebug, setDescription, setLoginTimeout, setLogWriter, setThreadFactory, setVerbose, shutdown |
Methods inherited from class java.lang.Object |
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
Methods inherited from interface javax.sql.CommonDataSource |
getLoginTimeout, getLogWriter, setLoginTimeout, setLogWriter |
Methods inherited from interface java.sql.Wrapper |
isWrapperFor, unwrap |
SybaseXADataSource
public SybaseXADataSource()
getXAConnection
public javax.sql.XAConnection getXAConnection()
throws java.sql.SQLException
- Creates an XA connection using the default username and password.
- Specified by:
getXAConnection
in interface javax.sql.XADataSource
- Overrides:
getXAConnection
in class StandardXADataSource
- Throws:
java.sql.SQLException
getXAConnection
public javax.sql.XAConnection getXAConnection(java.lang.String user,
java.lang.String password)
throws java.sql.SQLException
- Creates an XA connection using the supplied username and password.
- Specified by:
getXAConnection
in interface javax.sql.XADataSource
- Overrides:
getXAConnection
in class StandardXADataSource
- Throws:
java.sql.SQLException
getPooledConnection
public javax.sql.PooledConnection getPooledConnection()
throws java.sql.SQLException
- Create a pooled connection using the default username and password.
- Specified by:
getPooledConnection
in interface javax.sql.ConnectionPoolDataSource
- Overrides:
getPooledConnection
in class StandardConnectionPoolDataSource
- Throws:
java.sql.SQLException
getPooledConnection
public javax.sql.PooledConnection getPooledConnection(java.lang.String user,
java.lang.String password)
throws java.sql.SQLException
- Create a sybase pooled connection using the supplied username and password.
- Specified by:
getPooledConnection
in interface javax.sql.ConnectionPoolDataSource
- Overrides:
getPooledConnection
in class StandardConnectionPoolDataSource
- Throws:
java.sql.SQLException