Package javax.transaction.xa

Examples of javax.transaction.xa.XAResource.forget()


            } catch (XAException e) {
                if (e.errorCode != XAException.XAER_NOTA)
                    throw e;
            }
            try {
                xar.forget(xid11);
            } catch (XAException e) {
                if (e.errorCode != XAException.XAER_NOTA)
                    throw e;
            }
        } catch (SQLException e) {
View Full Code Here


   {
      XAResource xaResource = getDelegate(false);
      HornetQXAResourceWrapper.log.debug("Forget " + currentConnection + " xid ");
      try
      {
         xaResource.forget(xid);
      }
      catch (XAException e)
      {
         throw check(e);
      }
View Full Code Here

/*     */   {
/* 126 */     log.debug("Forget " + this.providerName + " xid ");
/* 127 */     XAResource xaResource = getDelegate();
/*     */     try
/*     */     {
/* 130 */       xaResource.forget(xid);
/*     */     }
/*     */     catch (XAException e)
/*     */     {
/* 134 */       throw check(e);
/*     */     }
View Full Code Here

/*     */   {
/* 148 */     log.debug("Forget " + this.providerName + " xid ");
/* 149 */     XAResource xaResource = getDelegate();
/*     */     try
/*     */     {
/* 152 */       xaResource.forget(xid);
/*     */     }
/*     */     catch (XAException e)
/*     */     {
/* 156 */       throw check(e);
/*     */     }
View Full Code Here

   {
      HornetQXAResourceWrapper.log.debug("Forget " + connectorFactoryClassName + " xid ");
      XAResource xaResource = getDelegate();
      try
      {
         xaResource.forget(xid);
      }
      catch (XAException e)
      {
         throw check(e);
      }
View Full Code Here

        } catch (SQLException sqlEx) {
          // we expect an exception here
          assertEquals("2D000", sqlEx.getSQLState());
        }
      } finally {
        xaRes1.forget(xid);
      }
    } finally {
      if (xaConn1 != null) {
        xaConn1.close();
      }
View Full Code Here

   {
      XAResource xaResource = getDelegate(false);
      HornetQXAResourceWrapper.log.debug("Forget " + xaResource + " xid ");
      try
      {
         xaResource.forget(xid);
      }
      catch (XAException e)
      {
         throw check(e);
      }
View Full Code Here

TOP
Copyright © 2018 www.massapi.com. 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.