/** * Method declaration * * * @throws Exception */ public void rollback() { if (bDelete) { tTable.insertNoCheck(oRow, null, false); } else { tTable.deleteNoCheck(oRow, null, false); } }
/** * Method declaration * * * @param from * * @throws Exception */ public void moveData(Table from) { Index index = from.getPrimaryIndex(); Node n = index.first(); while (n != null) { if (Trace.STOP) { Trace.stop(); } object[] o = n.getData(); insertNoCheck(o, null); n = index.next(n); } index = getPrimaryIndex(); n = index.first(); while (n != null) { if (Trace.STOP) { Trace.stop(); } object[] o = n.getData(); from.deleteNoCheck(o, null); n = index.next(n); } }