Commit 3412760b authored by dpawar's avatar dpawar

close connection


git-svn-id: http://15.206.35.175/svn/proteus/business-java/trunk@96339 ce508802-f39f-4f6c-b175-0d175dae99d5
parent 85ffe584
...@@ -748,6 +748,17 @@ public class DespatchPos extends ValidatorEJB implements DespatchPosLocal, Despa ...@@ -748,6 +748,17 @@ public class DespatchPos extends ValidatorEJB implements DespatchPosLocal, Despa
d.printStackTrace(); d.printStackTrace();
} }
} }
if(conn!=null){
try
{
conn.close();
conn=null;
}
catch(Exception e){
e.printStackTrace();
}
}
} }
return ""; return "";
......
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