Commit 3444a52e authored by vvengurlekar's avatar vvengurlekar

BusinessLogicChkOverride.java - allow commit if error string is blank


git-svn-id: http://15.206.35.175/svn/proteus/business-java/trunk@192372 ce508802-f39f-4f6c-b175-0d175dae99d5
parent 80f4c8dd
...@@ -279,7 +279,9 @@ public class BusinessLogicChkOverride extends ActionHandlerEJB{ ...@@ -279,7 +279,9 @@ public class BusinessLogicChkOverride extends ActionHandlerEJB{
{ {
System.out.println("--going to commit tranaction--["+errString+"]"); System.out.println("--going to commit tranaction--["+errString+"]");
//if(errString.indexOf("OVRRIDSUCC") > -1 || errString.trim().length() == 0) //if(errString.indexOf("OVRRIDSUCC") > -1 || errString.trim().length() == 0)
if(errString.indexOf("OVRRIDSUCC") > -1) //Commented and added below if condition by Varsha V to consider empty error string as no error
//if(errString.indexOf("OVRRIDSUCC") > -1)
if((errString == null || errString.trim().length() == 0) || (errString.indexOf("OVRRIDSUCC") > -1))
{ {
conn.commit(); conn.commit();
System.out.println("--transaction commited--"); System.out.println("--transaction commited--");
......
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