diff --git a/calc/com/tenwa/reckon/executor/CashFlowExecutor.java b/calc/com/tenwa/reckon/executor/CashFlowExecutor.java index 7e329ddfe..e8f9d7053 100644 --- a/calc/com/tenwa/reckon/executor/CashFlowExecutor.java +++ b/calc/com/tenwa/reckon/executor/CashFlowExecutor.java @@ -36,7 +36,6 @@ public class CashFlowExecutor { this.add(cb, tcb); String irr = this.getIrr(cb,tcb); cb.setIrr(irr); - tx.commit(); return irr; } private String getIrr(ConditionBean cb ,TabCalBean tcb) throws Exception{ @@ -179,7 +178,6 @@ public class CashFlowExecutor { Sqlca = Transaction.createTransaction(tx); SqlObject asql = new SqlObject(sql); Sqlca.executeSQL(asql); - Sqlca.commit(); }