Commit 2bd65b68 authored by manohar's avatar manohar

Change not to commit rollback


git-svn-id: http://15.206.35.175/svn/proteus/business-java/trunk@95150 ce508802-f39f-4f6c-b175-0d175dae99d5
parent 940b26af
...@@ -150,13 +150,14 @@ public class MiscPayPostSave extends ValidatorEJB implements MiscPayPostSaveLoca ...@@ -150,13 +150,14 @@ public class MiscPayPostSave extends ValidatorEJB implements MiscPayPostSaveLoca
if( conn != null ) if( conn != null )
{ {
if( isError ) /*if( isError )
{ {
conn.rollback(); conn.rollback();
} }
else else
{ {
conn.commit(); conn.commit();
}*/
} }
if(pstmt != null) if(pstmt != null)
{ {
...@@ -164,7 +165,6 @@ public class MiscPayPostSave extends ValidatorEJB implements MiscPayPostSaveLoca ...@@ -164,7 +165,6 @@ public class MiscPayPostSave extends ValidatorEJB implements MiscPayPostSaveLoca
pstmt = null; pstmt = null;
} }
} }
}
catch(Exception e) catch(Exception e)
{ {
System.out.println("Exception :SavexPreSaveEJB : :==>\n"+e.getMessage()); System.out.println("Exception :SavexPreSaveEJB : :==>\n"+e.getMessage());
......
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