Commit 59ce5104 authored by smestry's avatar smestry

Updated the EJB for Open Cursor


git-svn-id: http://15.206.35.175/svn/proteus/business-java/trunk@103364 ce508802-f39f-4f6c-b175-0d175dae99d5
parent d36ed3fc
......@@ -1897,10 +1897,10 @@ private void insertSReturnDet(HashMap saleReturnDetMap,Connection conn)
tranSer1 = rs.getString(3);
}
// Changed by Sneha on 01-09-2016, for Closing the Open Cursor [Start]
if( pstmt != null )
if( stmt != null )
{
pstmt.close();
pstmt = null;
stmt.close();
stmt = null;
}
if ( rs != null )
{
......
......@@ -1377,15 +1377,15 @@ public class PODProcess extends ProcessEJB implements PODProcessLocal,
varValue = rs1.getString(1);
}
// Changed by Sneha on 12-09-2016, for Closing the Open Cursor [Start]
if ( pstmt != null )
if ( pstmt1 != null )
{
pstmt.close();
pstmt = null;
pstmt1.close();
pstmt1 = null;
}
if ( rs != null )
if ( rs1 != null )
{
rs.close();
rs = null;
rs1.close();
rs1 = null;
}
// Changed by Sneha on 12-09-2016, for Closing the Open Cursor [End]
......
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