Commit 0364b900 authored by prane's avatar prane

closed open cursors

git-svn-id: http://15.206.35.175/svn/proteus/business-java/trunk@213766 ce508802-f39f-4f6c-b175-0d175dae99d5
parent 1f7318c2
......@@ -1191,7 +1191,7 @@ public class PriceListConf extends ActionHandlerEJB implements PriceListConfLoca
pstmtSql.setDouble(7, minqty);
pstmtSql.setDouble(8, maxqty);
rs = pstmtSql.executeQuery();
while (rs.next())
if (rs.next())
{
currentlotnofr = rs.getString(1);
currentlotnoto = rs.getString(2);
......@@ -1531,6 +1531,11 @@ public class PriceListConf extends ActionHandlerEJB implements PriceListConfLoca
* lotnoto=LotNoToa[temp2]+1; }
*/
}
//Added By Pavan Rane 05dec19 start[closed open cursors]
rs.close();
rs = null;
pstmtSql.close();
pstmtSql =null;
for (int i = 0; i < LotNoFroma.size(); i++)
{
lotnofr = LotNoFroma.get(i);
......
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