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
SQLException
public Connection getConnection() throws SQLException
getConnection
在接口中 PooledConnection
SQLException
public void close() throws SQLException
close
在接口中 PooledConnection
SQLException
public void addConnectionEventListener(ConnectionEventListener listener)
addConnectionEventListener
在接口中 PooledConnection
public void removeConnectionEventListener(ConnectionEventListener listener)
public void addStatementEventListener(StatementEventListener listener)
addStatementEventListener
在接口中 PooledConnection
public void removeStatementEventListener(StatementEventListener listener)
removeStatementEventListener
在接口中 PooledConnection
public XAResource getXAResource() throws SQLException
getXAResource
在接口中 XAConnection
SQLException
Copyright © 2012-2013 Alibaba Group. All Rights Reserved.