Commit 85d579f6 authored by ssalve's avatar ssalve

Sarita : Changes in finCommon to resolve open cursor issue [15-11-2017]

git-svn-id: http://15.206.35.175/svn/proteus/business-java/trunk@173641 ce508802-f39f-4f6c-b175-0d175dae99d5
parent cab4dc11
......@@ -1982,6 +1982,28 @@ public class FinCommon
{
rs4.close(); //Rakesh
}
//Added by sarita on 15NOV2017 for open cursor issue[start]
if(statement1 != null)
{
statement1.close();
statement1 = null;
}
if(stmt2 != null)
{
stmt2.close();
stmt2 = null;
}
if(stmt3 != null)
{
stmt3.close();
stmt3 = null;
}
if(stmt4 != null)
{
stmt4.close();
stmt4 = null;
}
//Added by sarita on 15NOV2017 for open cursor issue[end]
if(connectionState == true)
{
con.close();
......
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