Commit d8d35d8b authored by smestry's avatar smestry

Updated the java file for closing cusrsor


git-svn-id: http://15.206.35.175/svn/proteus/business-java/trunk@103898 ce508802-f39f-4f6c-b175-0d175dae99d5
parent 5291d22f
...@@ -1892,19 +1892,20 @@ public class ConsolidatToDoc { ...@@ -1892,19 +1892,20 @@ public class ConsolidatToDoc {
} }
pstmt.clearParameters(); pstmt.clearParameters();
// Changed by Sneha on 12-09-2016, for Closing the Open Cursor [Start]
if ( pstmt != null ) }
{ // Changed by Sneha on 12-09-2016, for Closing the Open Cursor [Start]
pstmt.close(); if ( pstmt != null )
pstmt = null; {
} pstmt.close();
if ( rs != null ) pstmt = null;
{ }
rs.close(); if ( rs != null )
rs = null; {
} rs.close();
// Changed by Sneha on 12-09-2016, for Closing the Open Cursor [End] rs = 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