| java.lang.Object org.apache.derby.client.net.NetXAConnection
NetXAConnection | public class NetXAConnection (Code) | | |
NetXAConnection | public NetXAConnection(NetLogWriter netLogWriter, String user, String password, org.apache.derby.jdbc.ClientBaseDataSource dataSource, int rmId, boolean isXAConn, ClientPooledConnection cpc) throws SqlException(Code) | | The construcor for the NetXAConnection. The parameter
is set to this from ClientXAConnection when
it creates an instance of NetXAConnection. This is then
passed on the underlying NetConnection constructor and is
used to raise StatementEvents from any PreparedStatement that
would be created from that NetConnection.
Parameters: netLogWriter - NetLogWriter object associated with this connection Parameters: user - user id for this connection Parameters: password - password for this connection Parameters: dataSource - The DataSource object passed from the ClientXAConnection object from which this constructor was called Parameters: rmId - The Resource manager ID for XA Connections Parameters: isXAConn - true if this is a XA connection Parameters: cpc - The ClientPooledConnection object from which this NetConnection constructor was called. This is usedto pass StatementEvents back to the pooledConnectionobject throws: SqlException - |
createNetConnection | protected NetConnection createNetConnection(NetLogWriter netLogWriter, String user, String password, org.apache.derby.jdbc.ClientBaseDataSource dataSource, int rmId, boolean isXAConn, ClientPooledConnection cpc) throws SqlException(Code) | | Creates NetConnection for the supported version of jdbc.
This method can be overwritten to return NetConnection
of the supported jdbc version.
Parameters: netLogWriter - NetLogWriter object associated with this connection Parameters: user - user id for this connection Parameters: password - password for this connection Parameters: dataSource - The DataSource object passed from the ClientXAConnection object from which this constructor was called Parameters: rmId - The Resource manager ID for XA Connections Parameters: isXAConn - true if this is a XA connection Parameters: cpc - The ClientPooledConnection object from which this NetConnection constructor was called. This is usedto pass StatementEvents back to the pooledConnectionobject NetConnection |
getCorrelatorToken | public byte[] getCorrelatorToken()(Code) | | |
getNetConnection | public NetConnection getNetConnection()(Code) | | Returns underlying net connection
NetConnection |
getUOWID | public byte[] getUOWID(Xid xid)(Code) | | |
setCorrelatorToken | public void setCorrelatorToken(byte[] crttoken)(Code) | | |
|
|