Commit da6a0f71 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@195727 ce508802-f39f-4f6c-b175-0d175dae99d5
parent d881df09
......@@ -974,11 +974,15 @@ sql =" select m.ITEM_CODE, m.descr as PARENT_DESCR, m.unit, x.QUANTITY, x.ALLOC_
System.out.println("Pricelist found in pricelist master");
rate = rs.getDouble(1);
lsLotNoFrom = rs.getString(2);
rs.close();
//rs.close();
//pstmt.close();
//pstmt = null;
//rs = null;
}
rs.close();//[rs and pstmt closed and nulled by Pavan R]
rs = null;
pstmt.close();
pstmt = null;
rs = null;
}
}
if(rate<=0)
......
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