public class JtdsXAConnection extends Object implements XAConnection
| Constructor and Description |
|---|
JtdsXAConnection(Connection connection) |
| Modifier and Type | Method and Description |
|---|---|
void |
addConnectionEventListener(ConnectionEventListener listener) |
void |
addStatementEventListener(StatementEventListener listener) |
void |
close() |
Connection |
getConnection() |
XAResource |
getXAResource() |
void |
removeConnectionEventListener(ConnectionEventListener listener) |
void |
removeStatementEventListener(StatementEventListener listener) |
public JtdsXAConnection(Connection connection) throws SQLException
SQLExceptionpublic Connection getConnection() throws SQLException
getConnection in interface PooledConnectionSQLExceptionpublic void close()
throws SQLException
close in interface PooledConnectionSQLExceptionpublic void addConnectionEventListener(ConnectionEventListener listener)
addConnectionEventListener in interface PooledConnectionpublic void removeConnectionEventListener(ConnectionEventListener listener)
removeConnectionEventListener in interface PooledConnectionpublic void addStatementEventListener(StatementEventListener listener)
addStatementEventListener in interface PooledConnectionpublic void removeStatementEventListener(StatementEventListener listener)
removeStatementEventListener in interface PooledConnectionpublic XAResource getXAResource() throws SQLException
getXAResource in interface XAConnectionSQLExceptionCopyright © 2013–2018 Alibaba Group. All rights reserved.