Commit 8d2d971a authored by prane's avatar prane

cusrsor and statement closed and nulled for multitenancy

git-svn-id: http://15.206.35.175/svn/proteus/business-java/trunk@195722 ce508802-f39f-4f6c-b175-0d175dae99d5
parent cf9a976f
...@@ -5045,6 +5045,8 @@ public class PostOrderProcess extends ProcessEJB implements PostOrderProcessLoca ...@@ -5045,6 +5045,8 @@ public class PostOrderProcess extends ProcessEJB implements PostOrderProcessLoca
pstmt.setString(3,keyfld1);*/ pstmt.setString(3,keyfld1);*/
// commented by arun pal 01-12-17 // commented by arun pal 01-12-17
updCnt = pstmt.executeUpdate(); updCnt = pstmt.executeUpdate();
pstmt.close();//[pstmt closed and nulled by Pavan R]
pstmt = null;
// System.out.println("updCnt :"+updCnt); // System.out.println("updCnt :"+updCnt);
...@@ -5333,6 +5335,7 @@ public class PostOrderProcess extends ProcessEJB implements PostOrderProcessLoca ...@@ -5333,6 +5335,7 @@ public class PostOrderProcess extends ProcessEJB implements PostOrderProcessLoca
pstmt.setString(11,chgTerm); pstmt.setString(11,chgTerm);
cnt = pstmt.executeUpdate(); cnt = pstmt.executeUpdate();
pstmt.close(); pstmt.close();
pstmt = null;//[pstmt set to null by Pavan R]
/*System.out.println("cnt :"+cnt); /*System.out.println("cnt :"+cnt);
System.out.println("tranId!!! :"+tranId);*/ System.out.println("tranId!!! :"+tranId);*/
//if lds_hdr_edit.retrieve(ls_tran_id) > 0 then //if lds_hdr_edit.retrieve(ls_tran_id) > 0 then
......
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