Commit 1a1a9bd8 authored by msingh's avatar msingh

Changed by Manish on 01/04/16 for maximum cursor issue for DDUK .


git-svn-id: http://15.206.35.175/svn/proteus/business-java/trunk@101068 ce508802-f39f-4f6c-b175-0d175dae99d5
parent d847c4f7
......@@ -1011,6 +1011,16 @@ public class ConsolidatToDoc {
//Changed by Manish 0n 15/03/16 for max cursor issue for DDUK[start]
if(rsItem != null)
{
rsItem.close();
rsItem = null;
}
if(pstmtItem != null)
{
pstmtItem.close();
pstmtItem = null;
}
if(rsSordDet != null)
{
rsSordDet.close();
......
......@@ -3485,6 +3485,16 @@ public class ScheduleAWMSInOutTasks implements Schedule
despDetPstmt.clearBatch();
pstmt.clearParameters();
rs.close();rs = null;
if(rsItem != null)
{
rsItem.close();
rsItem = null;
}
if(pstmtItem != null)
{
pstmtItem.close();
pstmtItem = null;
}
}
sql = "SELECT LINE_NO,GROSS_WEIGHT,TARE_WEIGHT,NETT_WEIGHT,NO_ART FROM DESPATCHDET WHERE DESP_ID = ?";
......
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