Commit d847c4f7 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@101067 ce508802-f39f-4f6c-b175-0d175dae99d5
parent 3468acc9
......@@ -894,7 +894,12 @@ public class DockTranPos extends ValidatorEJB implements DockTranPosLocal, DockT
//Changed by Sneha on 08/07/15 [End]
pstmt.executeUpdate();
pstmt.close(); pstmt = null;
if(pstmt != null)
{
pstmt.close();
pstmt = null;
}
docktranID = generateTranId( "w_dock_tran_upd",siteCode,conn );
......
......@@ -255,7 +255,12 @@ public class PickIssPos extends ValidatorEJB implements PickIssPosLocal, PickIss
pstmt.setString(1,locCodeTo);
pstmt.setString(2,tranId);
updCnt = pstmt.executeUpdate();
pstmt.close(); pstmt = null;
if(pstmt != null)
{
pstmt.close();
pstmt = null;
}
if(updCnt > 0)
{
System.out.println("---row updated sucessfully of master pick---->"+updCnt);
......
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