Commit 42dc9652 authored by manohar's avatar manohar

Commit taken out from finally


git-svn-id: http://15.206.35.175/svn/proteus/business-java/trunk@97111 ce508802-f39f-4f6c-b175-0d175dae99d5
parent 26023f24
...@@ -99,7 +99,9 @@ public class MiscPaySubAct extends ActionHandlerEJB implements MiscPaySubActLoca ...@@ -99,7 +99,9 @@ public class MiscPaySubAct extends ActionHandlerEJB implements MiscPaySubActLoca
if(rowcnt > 0) if(rowcnt > 0)
{ {
retString = itmDBAccessLocal.getErrorString("","SUBMITSUCC",""); retString = itmDBAccessLocal.getErrorString("","SUBMITSUCC","");
return retString; System.out.println(">>>>>>>>>>>>>>>Before conn.commit()");
conn.commit();
//return retString;
} }
} }
} }
...@@ -120,8 +122,6 @@ public class MiscPaySubAct extends ActionHandlerEJB implements MiscPaySubActLoca ...@@ -120,8 +122,6 @@ public class MiscPaySubAct extends ActionHandlerEJB implements MiscPaySubActLoca
{ {
try try
{ {
System.out.println(">>>>>>>>>>>>>>>Before conn.commit()");
conn.commit();
if(pstmt != null) if(pstmt != null)
{ {
pstmt.close(); pstmt.close();
...@@ -133,11 +133,11 @@ public class MiscPaySubAct extends ActionHandlerEJB implements MiscPaySubActLoca ...@@ -133,11 +133,11 @@ public class MiscPaySubAct extends ActionHandlerEJB implements MiscPaySubActLoca
conn = null; conn = null;
} }
} }
catch(Exception e) catch(Exception ef)
{ {
System.out.println(e.getMessage()); System.out.println(ef.getMessage());
e.printStackTrace(); ef.printStackTrace();
throw new ITMException(e); throw new ITMException(ef);
} }
} }
System.out.println("Returning Result ::"+retString); System.out.println("Returning Result ::"+retString);
......
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