Commit c403d6e6 authored by vkadam's avatar vkadam

Minor changes in commit conditions.


git-svn-id: http://15.206.35.175/svn/proteus/business-java/trunk@97173 ce508802-f39f-4f6c-b175-0d175dae99d5
parent 118e32d4
......@@ -148,9 +148,10 @@ QCTransferConfLocal, QCTransferConfRemote
// if(isLocal){
conn.rollback();
System.out.println("@@@@ Transaction rollback...["+errString+"]::errCode["+errCode+"]");
if(isLocal){
conn.close();
conn = null;
// }
}
}
else
{
......
......@@ -370,7 +370,8 @@ QcOdrProvisionalReleaseConfLocal, QcOdrProvisionalReleaseConfRemote
{
try
{
if (errString != null && errString.trim().length() > 0 && !("VTQCTRNSCC".equalsIgnoreCase(errCode)))
// if (errString != null && errString.trim().length() > 0 && !("VTQCTRNSCC".equalsIgnoreCase(errCode)))
if (errCode != null && errCode.trim().length() > 0 && !("VTQCTRNSCC".equalsIgnoreCase(errCode)))
{
conn.rollback();
System.out.println("@@@@ Transaction rollback...["+errString+"]::errCode["+errCode+"]");
......
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