Commit 02b4d7cd authored by cshah's avatar cshah

changes done for conn


git-svn-id: http://15.206.35.175/svn/proteus/business-java/trunk@91477 ce508802-f39f-4f6c-b175-0d175dae99d5
parent 7a6b3c25
...@@ -88,11 +88,14 @@ public class JvConfirm extends ActionHandlerEJB implements JvConfirmLocal,JvCon ...@@ -88,11 +88,14 @@ public class JvConfirm extends ActionHandlerEJB implements JvConfirmLocal,JvCon
{ {
if(errString != null && errString.trim().length() > 0) if(errString != null && errString.trim().length() > 0)
{ {
conn.rollback(); if(errString.indexOf("CONFSUCCES") > -1)
} {
else conn.commit();
{ }
conn.commit(); else
{
conn.rollback();
}
} }
if(rs != null) if(rs != null)
{ {
......
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