Commit e059f18b authored by mchaudhari's avatar mchaudhari

remove commit from finally


git-svn-id: http://15.206.35.175/svn/proteus/business-java/trunk@94587 ce508802-f39f-4f6c-b175-0d175dae99d5
parent fc67e82c
......@@ -63,8 +63,7 @@ public class BomPostSave extends ValidatorEJB implements BomPostSaveLocal,BomPos
pstmt1.setString(3, tranId);
cnt1 = pstmt1.executeUpdate();
System.out.println(">>>>>>>successfully updated record bom post save cnt1:" + cnt1);
pstmt1.close();
pstmt1 = null;
conn.commit();
}catch(Exception e)
{
try {
......@@ -84,7 +83,8 @@ public class BomPostSave extends ValidatorEJB implements BomPostSaveLocal,BomPos
{
try {
System.out.println(">>>>>>>>>>>>In finally Before Commit>>>");
conn.commit();
pstmt1.close();
pstmt1 = null;
} catch (SQLException e) {
// TODO Auto-generated catch block
e.printStackTrace();
......
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