Package org.apache.derby.iapi.store.access.xa

Examples of org.apache.derby.iapi.store.access.xa.XAXactId


  public final synchronized void end(Xid xid, int flags) throws XAException
  {
    checkXAActive();

    // ensure immtable and correct equals method.
    XAXactId xid_im = new XAXactId(xid);

    boolean endingCurrentXid = false;

    // must match the Xid from start()
    if (currentXid != null) {
View Full Code Here


  public final synchronized int prepare(Xid xid) throws XAException
  {
    checkXAActive();

    // ensure immtable and correct equals method.
    XAXactId xid_im = new XAXactId(xid);

    XATransactionState tranState = getTransactionState(xid_im);

    if (tranState == null) {
      XAResourceManager rm = ra.getXAResourceManager();
View Full Code Here

  public final synchronized void commit(Xid xid, boolean onePhase) throws XAException
  {
    checkXAActive();

    // ensure immtable and correct equals method.
    XAXactId xid_im = new XAXactId(xid);

    XATransactionState tranState = getTransactionState(xid_im);

    if (tranState == null) {
View Full Code Here

  public final synchronized void rollback(Xid xid) throws XAException
  {
    checkXAActive();

    // ensure immtable and correct equals method.
    XAXactId xid_im = new XAXactId(xid);

    XATransactionState tranState = getTransactionState(xid_im);

    if (tranState == null) {
      XAResourceManager rm = ra.getXAResourceManager();
View Full Code Here

  public final synchronized void forget(Xid xid) throws XAException {

    checkXAActive();

    // ensure immtable and correct equals method.
    XAXactId xid_im = new XAXactId(xid);

    XATransactionState tranState = getTransactionState(xid_im);
    if (tranState == null) {
      XAResourceManager rm = ra.getXAResourceManager();
View Full Code Here

     */   
    public final synchronized void commit(Xid xid, boolean onePhase)
                                            throws XAException {
        checkXAActive();
        // ensure immtable and correct equals method.
        XAXactId xid_im = new XAXactId(xid);
        XATransactionState tranState = getTransactionState(xid_im);
       
        if (tranState == null) {
            XAResourceManager rm = ra.getXAResourceManager();
            ContextManager inDoubtCM = rm.find(xid);
View Full Code Here

        } catch (SQLException sqle) {
            throw wrapInXAException(sqle);
        }
       
        // ensure immtable and correct equals method.
        XAXactId xid_im = new XAXactId(xid);
       
        boolean endingCurrentXid = false;
       
        // must match the Xid from start()
        if (currentXid != null) {
View Full Code Here

     */
    public final synchronized int prepare(Xid xid) throws XAException {
        checkXAActive();
       
        // ensure immtable and correct equals method.
        XAXactId xid_im = new XAXactId(xid);
       
        XATransactionState tranState = getTransactionState(xid_im);
       
        if (tranState == null) {
            XAResourceManager rm = ra.getXAResourceManager();
View Full Code Here

    public final synchronized void forget(Xid xid) throws XAException {
       
        checkXAActive();
       
        // ensure immtable and correct equals method.
        XAXactId xid_im = new XAXactId(xid);
       
        XATransactionState tranState = getTransactionState(xid_im);
        if (tranState == null) {
            XAResourceManager rm = ra.getXAResourceManager();
           
View Full Code Here

     */
    public final synchronized void rollback(Xid xid) throws XAException {
        checkXAActive();
       
        // ensure immtable and correct equals method.
        XAXactId xid_im = new XAXactId(xid);
       
        XATransactionState tranState = getTransactionState(xid_im);
       
        if (tranState == null) {
            XAResourceManager rm = ra.getXAResourceManager();
View Full Code Here

TOP

Related Classes of org.apache.derby.iapi.store.access.xa.XAXactId

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.