Commit ff76b7f0 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@195724 ce508802-f39f-4f6c-b175-0d175dae99d5
parent fc1f0ce5
...@@ -1017,6 +1017,8 @@ public class PostOrderActivity { ...@@ -1017,6 +1017,8 @@ public class PostOrderActivity {
System.out.println("@@@@Commented by mayur on 28-02-18@@@"); System.out.println("@@@@Commented by mayur on 28-02-18@@@");
System.out.println("suppCodeMfg["+suppCodeMfg+"]"); System.out.println("suppCodeMfg["+suppCodeMfg+"]");
} }
rs1.close(); rs1 = null;//[rs1 and pstmt1 closed and nulled by Pavan R]
pstmt1.close(); pstmt1 = null;
isItemLotAvail=false; isItemLotAvail=false;
sql=" select supp_code__mfg from item_lot_info " sql=" select supp_code__mfg from item_lot_info "
+ " where item_code = ? and lot_no = ?"; + " where item_code = ? and lot_no = ?";
...@@ -4898,7 +4900,8 @@ public class PostOrderActivity { ...@@ -4898,7 +4900,8 @@ public class PostOrderActivity {
if (rs8 != null) if (rs8 != null)
{ {
rs8.close(); rs8.close();
rs9=null; //rs9=null;
rs8=null; //[nulled rs8 by Pavan R]
} }
if (pstmt9 != null) if (pstmt9 != null)
{ {
......
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