* Fix for bug [1628515]
This commit is contained in:
parent
f477e3f81d
commit
0d5c83cf4d
|
@ -86,7 +86,17 @@ public abstract class SvrProcess implements ProcessCall
|
|||
if (localTrx)
|
||||
{
|
||||
if (success)
|
||||
m_trx.commit();
|
||||
{
|
||||
try
|
||||
{
|
||||
m_trx.commit(true);
|
||||
} catch (SQLException e)
|
||||
{
|
||||
log.log(Level.SEVERE, "Commit failed.", e);
|
||||
m_pi.addSummary("Commit Failed.");
|
||||
m_pi.setError(true);
|
||||
}
|
||||
}
|
||||
else
|
||||
m_trx.rollback();
|
||||
m_trx.close();
|
||||
|
|
Loading…
Reference in New Issue