* Fix for bug [1628515]

This commit is contained in:
Heng Sin Low 2007-01-05 22:08:22 +00:00
parent 6759d3dcd0
commit 8ae3f949ae
3 changed files with 5 additions and 5 deletions

View File

@ -1312,10 +1312,10 @@ public final class MSetup
else
log.log(Level.SEVERE, "CashBook NOT inserted");
//
m_trx.commit();
boolean success = m_trx.commit();
m_trx.close();
log.info("fini");
return true;
log.info("finish");
return success;
} // createEntities
/**

View File

@ -171,7 +171,7 @@ public class AllocationReset extends SvrProcess
success = true;
}
if (success)
m_trx.commit();
success = m_trx.commit();
else
m_trx.rollback();
return success;

View File

@ -715,7 +715,7 @@ public class MWFActivity extends X_AD_WF_Activity implements Runnable
//setWFState (done ? StateEngine.STATE_Completed : StateEngine.STATE_Suspended);
//end vpj-cd e-evolution 03/08/2005 PostgreSQL
/**** Trx End ****/
m_trx.commit();
m_trx.commit(true);
m_trx.close();
m_trx = null;
//begin vpj-cd e-evolution 03/08/2005 PostgreSQL