Commit 35ed6823 authored by agaikwad's avatar agaikwad

Closed PreparedStatement Object of Updatetable Method


git-svn-id: http://15.206.35.175/svn/proteus/business-java/trunk@98608 ce508802-f39f-4f6c-b175-0d175dae99d5
parent e1ededfa
......@@ -866,8 +866,9 @@ public class BankRecoPrc extends ProcessEJB implements BankRecoPrcLocal,BankReco
pstmt1.setString(1, uniqueKey);
pstmt1.setString(2, tranIdList.get(intcnt).toString());
pstmt1.setDouble(3, amt);
insertCnt = pstmt1.executeUpdate();
pstmt1.close();
pstmt1 = null;
System.out.println("insertCnt :"+insertCnt);
System.out.println("cnt :"+cnt);
/* -- Commented and Changes below by Gulzar 15/11/06
......@@ -894,11 +895,16 @@ public class BankRecoPrc extends ProcessEJB implements BankRecoPrcLocal,BankReco
pstmt2.setString(5, tranIdList.get(intcnt).toString());
updateCnt = pstmt2.executeUpdate();
System.out.println("updateCnt :"+updateCnt);
pstmt2.close();
pstmt2 = null;
}//for end
conn.commit();
// 12/05/09 manoharan changed the message
//errCode = "VMSUCC";
errCode = "VTPRC1";
pstmt.close();
pstmt = null;
}
else
{
......
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