Commit 1abd9062 authored by msingh's avatar msingh

Changed by Manish on 21/09/16


git-svn-id: http://15.206.35.175/svn/proteus/business-java/trunk@103406 ce508802-f39f-4f6c-b175-0d175dae99d5
parent ba899002
......@@ -853,10 +853,20 @@ public class PalletOutPos extends ValidatorEJB implements PalletOutPosLocal, Pal
}
// Changed by Sneha on 01-09-2016, for Closing the Open Cursor [End]
}
rs.close();
/*rs.close();
rs = null;
pstmt.close();
pstmt = null;*/
if( pstmt != null )
{
pstmt.close();
pstmt = null;
}
if ( rs != null )
{
rs.close();
rs = null;
}
System.out.println("keyString :"+keyString);
System.out.println("keyCol :"+keyCol);
......
......@@ -2529,10 +2529,20 @@ public class SalesReturnConf extends ActionHandlerEJB implements SalesReturnConf
}
// Changed by Sneha on 01-09-2016, for Closing the Open Cursor [End]
}
rs.close();
/*rs.close();
rs = null;
pstmt.close();
pstmt = null;
pstmt = null;*/
if(rs != null)
{
rs.close();
rs=null;
}
if(pstmt != null)
{
pstmt.close();
pstmt=null;
}
System.out.println("keyString :"+keyString);
System.out.println("keyCol :"+keyCol);
......@@ -2729,10 +2739,20 @@ public class SalesReturnConf extends ActionHandlerEJB implements SalesReturnConf
subjectCSR = checkNull(rs.getString(4));
bodyTextCSR = checkNull(rs.getString(5));
}
rs.close();
/*rs.close();
pstmt.close();
rs=null;
pstmt=null;
pstmt=null;*/
if( pstmt != null )
{
pstmt.close();
pstmt = null;
}
if ( rs != null )
{
rs.close();
rs = null;
}
System.out.println("bodyText-------"+bodyText);
System.out.println("formatCode-------"+formatCodeCSR);
......
......@@ -2050,10 +2050,20 @@ public class SapSorderEJB extends ActionHandlerEJB implements SapSorderEJBLocal,
}
// Changed by Sneha on 01-09-2016, for Closing the Open Cursor [End]
}
lrs.close();
/*lrs.close();
lrs = null;
lstmt.close();
lstmt = null;*/
if( lstmt != null )
{
lstmt.close();
lstmt = null;
}
if ( lrs != null )
{
lrs.close();
lrs = null;
}
tranDate = getCurrdateAppFormat();
......
......@@ -18273,18 +18273,6 @@ public class WaveGenerationPrc extends ProcessEJB implements WaveGenerationPrcLo
keyCol = rSet.getString("TRAN_ID_COL");
tranSer1 = rSet.getString("REF_SER");
}
// Changed by Sneha on 01-09-2016, for Closing the Open Cursor [Start]
if( pstmt != null )
{
pstmt.close();
pstmt = null;
}
if ( rSet != null )
{
rSet.close();
rSet = null;
}
// Changed by Sneha on 01-09-2016, for Closing the Open Cursor [End]
//Changed by Gulzar on 5/12/2012
/*
......
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