Commit fe860422 authored by ssalve's avatar ssalve

Sarita : Changes in GIOpen to resolve open cursor issues [15-11-2017]

git-svn-id: http://15.206.35.175/svn/proteus/business-java/trunk@173642 ce508802-f39f-4f6c-b175-0d175dae99d5
parent 85d579f6
......@@ -835,6 +835,28 @@ public class GlOpen extends ValidatorEJB implements GlOpenLocal,GlOpenRemote //
{
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