public class CUBRIDXAConnection extends CUBRIDPooledConnection implements XAConnection
cubConnection, isClosed, storedConnection, u_con
Modifier | Constructor and Description |
---|---|
protected |
CUBRIDXAConnection(CUBRIDXADataSource xads,
String serverName,
int portNumber,
String databaseName,
String username,
String passwd) |
Modifier and Type | Method and Description |
---|---|
Connection |
getConnection() |
XAResource |
getXAResource() |
addConnectionEventListener, addStatementEventListener, close, removeConnectionEventListener, removeStatementEventListener
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
addConnectionEventListener, addStatementEventListener, close, removeConnectionEventListener, removeStatementEventListener
protected CUBRIDXAConnection(CUBRIDXADataSource xads, String serverName, int portNumber, String databaseName, String username, String passwd) throws SQLException
SQLException
public XAResource getXAResource() throws SQLException
getXAResource
in interface XAConnection
SQLException
public Connection getConnection() throws SQLException
getConnection
in interface PooledConnection
getConnection
in class CUBRIDPooledConnection
SQLException
Copyright © 2016. All rights reserved.