Commit 690fd3f9 authored by ssalve's avatar ssalve

Sarita : Done changes to resolve issues related open cursor on [16NOV2017]

git-svn-id: http://15.206.35.175/svn/proteus/business-java/trunk@173657 ce508802-f39f-4f6c-b175-0d175dae99d5
parent d37d6533
...@@ -633,6 +633,18 @@ public class PoRcpConf extends ActionHandlerEJB implements PoRcpConfLocal, PoRcp ...@@ -633,6 +633,18 @@ public class PoRcpConf extends ActionHandlerEJB implements PoRcpConfLocal, PoRcp
rs = null; rs = null;
} }
} }
//Added by sarita on 15NOV2017 for open cursor issue [start]
if(pstmtSql != null)
{
pstmtSql.close();
pstmtSql = null;
}
if (rs != null)
{
rs.close();
rs = null;
}
//Added by sarita on 15NOV2017 for open cursor issue [end]
if ((retString != null) && (retString.trim().length() > 0)) if ((retString != null) && (retString.trim().length() > 0))
{ {
...@@ -1353,6 +1365,10 @@ public class PoRcpConf extends ActionHandlerEJB implements PoRcpConfLocal, PoRcp ...@@ -1353,6 +1365,10 @@ public class PoRcpConf extends ActionHandlerEJB implements PoRcpConfLocal, PoRcp
rsItemLotPack.close(); rsItemLotPack.close();
rsItemLotPack = null; rsItemLotPack = null;
pstmtItemLotPack.clearParameters(); pstmtItemLotPack.clearParameters();
//Added by sarita on 15NOV2017 for open cursor issue[start]
pstmtItemLotPack.close();
pstmtItemLotPack = null;
//Added by sarita on 15NOV2017 for open cursor issue[end]
} }
mfgItemCode = rs.getString("item_code__mfg"); mfgItemCode = rs.getString("item_code__mfg");
stdRate = rs.getDouble("std_rate"); stdRate = rs.getDouble("std_rate");
......
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