Commit d6996a9a authored by pchavan's avatar pchavan

git-svn-id: http://15.206.35.175/svn/proteus/business-java/trunk@197327 ce508802-f39f-4f6c-b175-0d175dae99d5
parent 73a6146c
...@@ -15420,6 +15420,23 @@ public class SalesOrderIC extends ValidatorEJB implements SalesOrderICLocal, Sal ...@@ -15420,6 +15420,23 @@ public class SalesOrderIC extends ValidatorEJB implements SalesOrderICLocal, Sal
e.printStackTrace(); e.printStackTrace();
throw new ITMException(e); throw new ITMException(e);
} }
//Added for Close Connection.
finally {
try {
if (rs != null) {
rs.close();
rs = null;
}
if (pstmt != null) {
pstmt.close();
pstmt = null;
}
} catch (Exception e) {
e.printStackTrace();
throw new ITMException(e);
}
}
//Added for Close Connection.
return schemeCode1; return schemeCode1;
} }
......
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