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:
- Serializable, Wrapper, Referenceable, ObjectFactory, CommonDataSource, ConnectionPoolDataSource, DataSource, XADataSource
public class SybaseXADataSource
- extends StandardXADataSource
- See Also:
- Serialized Form
| Fields inherited from class org.enhydra.jdbc.util.JdbcUtil |
log |
| Methods inherited from class org.enhydra.jdbc.standard.StandardXADataSource |
closeFreeConnection, dump, freeConnection, getAllConnections, getConnectionCount, getDeadLockMaxWait, getDeadLockRetryWait, getMaxCon, getMinCon, getObjectInstance, getReference, getTransactionManager, getXidConnections, getXidCount, processToWait, setDeadLockMaxWait, setDeadLockRetryWait, setDriverName, setMaxCon, setMinCon, setPassword, setTransactionManager, setTransactionManagerName, 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 |
SybaseXADataSource
public SybaseXADataSource()
getXAConnection
public XAConnection getXAConnection()
throws SQLException
- Creates an XA connection using the default username and password.
- Specified by:
getXAConnection in interface XADataSource- Overrides:
getXAConnection in class StandardXADataSource
- Throws:
SQLException
getXAConnection
public XAConnection getXAConnection(String user,
String password)
throws SQLException
- Creates an XA connection using the supplied username and password.
- Specified by:
getXAConnection in interface XADataSource- Overrides:
getXAConnection in class StandardXADataSource
- Throws:
SQLException
getPooledConnection
public PooledConnection getPooledConnection()
throws SQLException
- Create a pooled connection using the default username and password.
- Specified by:
getPooledConnection in interface ConnectionPoolDataSource- Overrides:
getPooledConnection in class StandardConnectionPoolDataSource
- Throws:
SQLException
getPooledConnection
public PooledConnection getPooledConnection(String user,
String password)
throws SQLException
- Create a sybase pooled connection using the supplied username and password.
- Specified by:
getPooledConnection in interface ConnectionPoolDataSource- Overrides:
getPooledConnection in class StandardConnectionPoolDataSource
- Throws:
SQLException
Copyright © 2011. All Rights Reserved.