Commit 03dead07 authored by prane's avatar prane

closed open cursors

git-svn-id: http://15.206.35.175/svn/proteus/business-java/trunk@213647 ce508802-f39f-4f6c-b175-0d175dae99d5
parent 0d15e1b7
...@@ -1189,7 +1189,7 @@ public class PriceListConf extends ActionHandlerEJB implements PriceListConfLoca ...@@ -1189,7 +1189,7 @@ public class PriceListConf extends ActionHandlerEJB implements PriceListConfLoca
pstmtSql.setDouble(7, minqty); pstmtSql.setDouble(7, minqty);
pstmtSql.setDouble(8, maxqty); pstmtSql.setDouble(8, maxqty);
rs = pstmtSql.executeQuery(); rs = pstmtSql.executeQuery();
while (rs.next()) if (rs.next())
{ {
currentlotnofr = rs.getString(1); currentlotnofr = rs.getString(1);
currentlotnoto = rs.getString(2); currentlotnoto = rs.getString(2);
...@@ -1529,6 +1529,11 @@ public class PriceListConf extends ActionHandlerEJB implements PriceListConfLoca ...@@ -1529,6 +1529,11 @@ public class PriceListConf extends ActionHandlerEJB implements PriceListConfLoca
* lotnoto=LotNoToa[temp2]+1; } * 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++) for (int i = 0; i < LotNoFroma.size(); i++)
{ {
lotnofr = LotNoFroma.get(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