Commit 06fe099c authored by msalla's avatar msalla

connection closed

git-svn-id: http://15.206.35.175/svn/proteus/business-java/trunk@200772 ce508802-f39f-4f6c-b175-0d175dae99d5
parent e04007b5
......@@ -677,6 +677,7 @@ public class RcptBackflushAct extends ActionHandlerEJB implements RcptBackflush
System.out.println("Closing Connection...");
conn.close();
conn = null;
} catch (Exception e) {
}
}
......@@ -721,6 +722,13 @@ public class RcptBackflushAct extends ActionHandlerEJB implements RcptBackflush
itemDescr = rs.getString(1);
}
//added- connection close-Monika-10-05-2019
rs.close();
rs = null;
pstmt.close();
pstmt = null;
//end
remainingQty = quantity; //added by rajendra
......@@ -827,6 +835,15 @@ public class RcptBackflushAct extends ActionHandlerEJB implements RcptBackflush
break;
}
}
//added- connection close-Monika-10-05-2019
rs.close();
rs = null;
pstmt.close();
pstmt = null;
//end
//added by rajendra on 27/10/09
if("X".equalsIgnoreCase(partQty) || partQty==null || partQty.trim().length()==0 )
{
......@@ -862,6 +879,15 @@ public class RcptBackflushAct extends ActionHandlerEJB implements RcptBackflush
{
conn.close();
conn = null;
//added- statement close-Monika-10-05-2019
rs.close();
rs = null;
pstmt.close();
pstmt = null;
//end
}
catch (Exception e){}
}
......
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