public class JtdsXAConnection extends Object implements XAConnection
| 构造器和说明 |
|---|
JtdsXAConnection(Connection connection) |
| 限定符和类型 | 方法和说明 |
|---|---|
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 在接口中 PooledConnectionSQLExceptionpublic void close()
throws SQLException
close 在接口中 PooledConnectionSQLExceptionpublic void addConnectionEventListener(ConnectionEventListener listener)
addConnectionEventListener 在接口中 PooledConnectionpublic void removeConnectionEventListener(ConnectionEventListener listener)
public void addStatementEventListener(StatementEventListener listener)
addStatementEventListener 在接口中 PooledConnectionpublic void removeStatementEventListener(StatementEventListener listener)
removeStatementEventListener 在接口中 PooledConnectionpublic XAResource getXAResource() throws SQLException
getXAResource 在接口中 XAConnectionSQLExceptionCopyright © 2013-2014 Alibaba Group. All Rights Reserved.