void function ( Xid arg0 , boolean arg1 ) { System . err . println ( "srini_string" + ( arg1 ? "srini_string" : "srini_string" ) + "srini_string" + arg0 ) ; JDBCXAResource loc0 = xaDataSource . getResource ( arg0 ) ; if ( loc0 == null ) { throw new XAException ( "srini_string" + arg0 ) ; } loc0 . commitThis ( arg1 ) ; }
per the jdbc 3.0 spec , this commits the transaction for the specified xid , not necessarily for the transaction associated with this xaresource object . concode_field_sep boolean originalAutoCommitMode concode_elem_sep int XA_STATE_INITIAL concode_elem_sep int XA_STATE_DISPOSED concode_elem_sep int XA_STATE_PREPARED concode_elem_sep JDBCXADataSource xaDataSource concode_elem_sep JDBCConnection connection concode_elem_sep int XA_STATE_STARTED concode_elem_sep int XA_STATE_ENDED concode_elem_sep int state concode_elem_sep Xid xid concode_field_sep void rollback concode_elem_sep int getTransactionTimeout concode_elem_sep int prepare concode_elem_sep void validateXid concode_elem_sep Xid[] recover concode_elem_sep void commitThis concode_elem_sep boolean setTransactionTimeout concode_elem_sep void rollbackThis concode_elem_sep void start concode_elem_sep boolean withinGlobalTransaction concode_elem_sep void forget concode_elem_sep JDBCXADataSource getXADataSource concode_elem_sep void dispose concode_elem_sep void end concode_elem_sep boolean isSameRM