Commit 2c33f5e2 authored by caluka's avatar caluka

connection roll backed in catch block when any trigger fires in stock update


git-svn-id: http://15.206.35.175/svn/proteus/business-java/trunk@101050 ce508802-f39f-4f6c-b175-0d175dae99d5
parent 67a0d810
......@@ -141,6 +141,15 @@ QCTransferConfLocal, QCTransferConfRemote
} catch (Exception e)
{
e.printStackTrace();
try
{
System.out.println("@@@@@@@connection roll back@@@@");
conn.rollback();
} catch (SQLException e1)
{
// TODO Auto-generated catch block
e1.printStackTrace();
}
throw new ITMException(e);
}
finally
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment