Commit f9c99ad7 authored by sgadve's avatar sgadve

Closing the connection and prepared statement

git-svn-id: http://15.206.35.175/svn/proteus/business-java/trunk@200178 ce508802-f39f-4f6c-b175-0d175dae99d5
parent a1da051d
...@@ -4183,6 +4183,26 @@ public class ChrgBckLocConf extends ActionHandlerEJB implements ChrgBckLocConfLo ...@@ -4183,6 +4183,26 @@ public class ChrgBckLocConf extends ActionHandlerEJB implements ChrgBckLocConfLo
{ {
System.out.println("Excption in ChrgBckLocConf.insertSchemeTrace():"); System.out.println("Excption in ChrgBckLocConf.insertSchemeTrace():");
} }
finally
{
try
{
if(schemeTracePstmt!=null)
{
schemeTracePstmt.close();
schemeTracePstmt=null;
}
if(con!=null)
{
con.close();
con = null;
}
}
catch(Exception e)
{
System.out.println("Exception closing connection"+e);
}
}
} }
//Added by Saiprasad G. on 24-JAN-19 END [For inserting the data in scheme trace] //Added by Saiprasad G. on 24-JAN-19 END [For inserting the data in scheme trace]
......
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