Commit 2ffa26d3 authored by manohar's avatar manohar

passed connection closed wrongly, commmented


git-svn-id: http://15.206.35.175/svn/proteus/business-java/trunk@91110 ce508802-f39f-4f6c-b175-0d175dae99d5
parent 6ec7614f
...@@ -791,7 +791,9 @@ public class BankRecoPrc extends ProcessEJB implements BankRecoPrcLocal,BankReco ...@@ -791,7 +791,9 @@ public class BankRecoPrc extends ProcessEJB implements BankRecoPrcLocal,BankReco
System.out.println("updateCnt :"+updateCnt); System.out.println("updateCnt :"+updateCnt);
}//for end }//for end
conn.commit(); conn.commit();
errCode = "VMSUCC"; // 12/05/09 manoharan changed the message
//errCode = "VMSUCC";
errCode = "VTPRC1";
} }
else else
{ {
...@@ -808,7 +810,8 @@ public class BankRecoPrc extends ProcessEJB implements BankRecoPrcLocal,BankReco ...@@ -808,7 +810,8 @@ public class BankRecoPrc extends ProcessEJB implements BankRecoPrcLocal,BankReco
e.printStackTrace(); e.printStackTrace();
throw new ITMException(e); throw new ITMException(e);
} }
finally // 12/05/09 manoharan passed connection not to be closed
/*finally
{ {
try try
{ {
...@@ -817,7 +820,7 @@ public class BankRecoPrc extends ProcessEJB implements BankRecoPrcLocal,BankReco ...@@ -817,7 +820,7 @@ public class BankRecoPrc extends ProcessEJB implements BankRecoPrcLocal,BankReco
conn = null; conn = null;
} }
catch(SQLException se){} catch(SQLException se){}
} }*/
System.out.println("errString: "+errCode); System.out.println("errString: "+errCode);
return errCode; return errCode;
} }
......
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