Commit 4a1cbe31 authored by cshah's avatar cshah

changes done for conn


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