Examples of rollbackToSavePoint()


Examples of org.apache.derby.iapi.store.access.TransactionController.rollbackToSavePoint()

                // back to a savepoint
                endTransactionActivationHandling(true);
            }
            else { closeConglomerates = false; }

            currentSavepointLevel = tc.rollbackToSavePoint( savepointName, closeConglomerates, kindOfSavepoint );
        }

        if (tc != null && refreshStyle && allDeclaredGlobalTempTables != null)
            tempTablesAndRollback();
    }
View Full Code Here

Examples of org.apache.derby.iapi.store.access.TransactionController.rollbackToSavePoint()

                    {
                        // Roll back to savepoint to undo any work done by
                        // the nested transaction. We cannot abort the nested
                        // transaction in order to achieve the same, since
                        // that would also abort the parent transaction.
                        nestedTC.rollbackToSavePoint(savepoint, false, null);
                    }

                    if (nestedTC != null && se.isLockTimeout())
          {
                        // Locks were set nowait, so a lock timeout here
View Full Code Here

Examples of org.apache.derby.iapi.store.access.TransactionController.rollbackToSavePoint()

                // back to a savepoint
                endTransactionActivationHandling(true);
            }
            else { closeConglomerates = false; }

            currentSavepointLevel = tc.rollbackToSavePoint( savepointName, closeConglomerates, kindOfSavepoint );
        }

        if (tc != null && refreshStyle && allDeclaredGlobalTempTables != null)
            tempTablesAndRollback();
    }
View Full Code Here

Examples of org.apache.derby.iapi.store.access.TransactionController.rollbackToSavePoint()

        // back to a savepoint
        resetActivations(true);
      }
      else { closeConglomerates = false; }

      currentSavepointLevel = tc.rollbackToSavePoint( savepointName, closeConglomerates, kindOfSavepoint );
    }

    if (tc != null && refreshStyle && allDeclaredGlobalTempTables != null)
      tempTablesAndRollback();
  }
View Full Code Here

Examples of org.apache.derby.iapi.store.access.TransactionController.rollbackToSavePoint()

        // back to a savepoint
        resetActivations(true);
      }
      else { closeConglomerates = false; }

      currentSavepointLevel = tc.rollbackToSavePoint( savepointName, closeConglomerates, kindOfSavepoint );
    }

    if (tc != null && refreshStyle && allDeclaredGlobalTempTables != null)
      tempTablesAndRollback();
  }
View Full Code Here

Examples of org.apache.derby.iapi.store.access.TransactionController.rollbackToSavePoint()

                // back to a savepoint
                endTransactionActivationHandling(true);
            }
            else { closeConglomerates = false; }

            currentSavepointLevel = tc.rollbackToSavePoint( savepointName, closeConglomerates, kindOfSavepoint );
        }

        if (tc != null && refreshStyle && allDeclaredGlobalTempTables != null)
            tempTablesAndRollback();
    }
View Full Code Here

Examples of org.apache.derby.iapi.store.access.TransactionController.rollbackToSavePoint()

        // back to a savepoint
        endTransactionActivationHandling(true);
      }
      else { closeConglomerates = false; }

      currentSavepointLevel = tc.rollbackToSavePoint( savepointName, closeConglomerates, kindOfSavepoint );
    }

    if (tc != null && refreshStyle && allDeclaredGlobalTempTables != null)
      tempTablesAndRollback();
  }
View Full Code Here

Examples of org.apache.derby.iapi.store.access.TransactionController.rollbackToSavePoint()

                // back to a savepoint
                endTransactionActivationHandling(true);
            }
            else { closeConglomerates = false; }

            currentSavepointLevel = tc.rollbackToSavePoint( savepointName, closeConglomerates, kindOfSavepoint );
        }

        if (tc != null && refreshStyle && allDeclaredGlobalTempTables != null)
            tempTablesAndRollback();
    }
View Full Code Here

Examples of org.apache.openjpa.persistence.OpenJPAEntityManager.rollbackToSavepoint()

            //FIXME jthomas - setDateField
            //pc.setDateField(randomDate());
            pm.setSavepoint("after" + i);
        }

        pm.rollbackToSavepoint("test");
        assertEquals("value", pc.getStringField());
        assertEquals(333, pc.getIntField());
        //FIXME jthomas - setDateField
        //assertEquals(date, pc.getDateField());
        endTx(pm);
View Full Code Here

Examples of org.apache.openjpa.persistence.OpenJPAEntityManager.rollbackToSavepoint()

        pm.setSavepoint("s1");
        pc = (ModRuntimeTest1) pm.find(ModRuntimeTest1.class, oid);
        assertTrue(pm.isTransactional(pc));
        pm.setSavepoint("s2");
        pc.setStringField("bar");
        pm.rollbackToSavepoint("s2");
        assertEquals("orig", pc.getStringField());
        assertTrue(pm.isTransactional(pc));

        rollbackTx(pm);
        endEm(pm);
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.