Commit 9377229e authored by ssalve's avatar ssalve

Sarita : Done changes to resolve open cursor issue on [16NOV2017]

git-svn-id: http://15.206.35.175/svn/proteus/business-java/trunk@173653 ce508802-f39f-4f6c-b175-0d175dae99d5
parent c8bbe5d5
......@@ -385,8 +385,26 @@ public class EnquiryAct extends ActionHandlerEJB implements EnquiryActLocal, Enq
valueXmlString.append("<term_code>").append("<![CDATA[").append(rs.getString(1).trim()).append("]]>").append("</term_code>\r\n");
valueXmlString.append("</Detail>\r\n");
}
}
stmt.close();
//Added by sarita on 15NOV2017 for Closing the Open Cursor [Start]
if ( rs != null )
{
rs.close();
rs = null;
}
//Added by sarita on 15NOV2017 for Closing the Open Cursor [end]
}
//commented and added by sarita for Closing the Open Cursor [Start]
//stmt.close();
if ( rs != null )
{
rs.close();
rs = null;
}
if( stmt != null)
{
stmt.close();
stmt = null;
}
valueXmlString.append("</Root>\r\n");
}
catch (SQLException sqx)
......
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