Examples of xaRollback()


Examples of net.sf.ehcache.statistics.LiveCacheStatisticsWrapper.xaRollback()

     * @param xid a XID
     * @throws XAException when an error occurs
     */
    public void rollbackInternal(Xid xid) throws XAException {
        LiveCacheStatisticsWrapper liveCacheStatisticsWrapper = (LiveCacheStatisticsWrapper) cache.getLiveCacheStatistics();
        liveCacheStatisticsWrapper.xaRollback();
        XidTransactionID xidTransactionID = transactionIDFactory.createXidTransactionID(xid);
        Set<SoftLock> softLocks = softLockFactory.collectAllSoftLocksForTransactionID(xidTransactionID);
        for (SoftLock softLock : softLocks) {
            if (softLock.isExpired()) {
                softLock.lock();
View Full Code Here

Examples of org.apache.derby.iapi.sql.conn.LanguageConnectionContext.xaRollback()

    {
            setupContextStack();
      try
      {
                LanguageConnectionContext lcc = getLanguageConnection();
                lcc.xaRollback();
                InterruptStatus.restoreIntrFlagIfSeen(lcc);
      } catch (StandardException t)
      {
        throw handleException(t);
      }
View Full Code Here

Examples of org.apache.derby.iapi.sql.conn.LanguageConnectionContext.xaRollback()

                    (XATransactionController)lcc.getTransactionExecute();

                try {
                    lcc.checkIntegrity();
                } catch (StandardException e) {
                    lcc.xaRollback();
                    throw e;
                }

        int ret = tc.xa_prepare();
View Full Code Here

Examples of org.apache.derby.iapi.sql.conn.LanguageConnectionContext.xaRollback()

    {
            setupContextStack();
      try
      {
                LanguageConnectionContext lcc = getLanguageConnection();
                lcc.xaRollback();
                InterruptStatus.restoreIntrFlagIfSeen(lcc);
      } catch (StandardException t)
      {
        throw handleException(t);
      }
View Full Code Here

Examples of org.apache.derby.iapi.sql.conn.LanguageConnectionContext.xaRollback()

    {
            setupContextStack();
      try
      {
                LanguageConnectionContext lcc = getLanguageConnection();
                lcc.xaRollback();
                InterruptStatus.restoreIntrFlagIfSeen(lcc);
      } catch (StandardException t)
      {
        throw handleException(t);
      }
View Full Code Here

Examples of org.apache.derby.iapi.sql.conn.LanguageConnectionContext.xaRollback()

    {
            setupContextStack();
      try
      {
                LanguageConnectionContext lcc = getLanguageConnection();
                lcc.xaRollback();
                InterruptStatus.restoreIntrFlagIfSeen(lcc);
      } catch (StandardException t)
      {
        throw handleException(t);
      }
View Full Code Here

Examples of org.apache.derby.iapi.sql.conn.LanguageConnectionContext.xaRollback()

    {
            setupContextStack();
      try
      {
                LanguageConnectionContext lcc = getLanguageConnection();
                lcc.xaRollback();
                InterruptStatus.restoreIntrFlagIfSeen(lcc);
      } catch (StandardException t)
      {
        throw handleException(t);
      }
View Full Code Here

Examples of org.apache.derby.iapi.sql.conn.LanguageConnectionContext.xaRollback()

    {
            setupContextStack();
      try
      {
                LanguageConnectionContext lcc = getLanguageConnection();
                lcc.xaRollback();
                InterruptStatus.restoreIntrFlagIfSeen(lcc);
      } catch (StandardException t)
      {
        throw handleException(t);
      }
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.