Commit e7840eaa authored by kshinde's avatar kshinde

git-svn-id: http://15.206.35.175/svn/proteus/business-java/trunk@183224 ce508802-f39f-4f6c-b175-0d175dae99d5
parent 8aeb6eb7
......@@ -77,19 +77,24 @@ conn = getConnection();
{
System.out.println("The Selected transaction is already confirmed");
errString = itmDBAccessEJB.getErrorString("","VTMCONF1","","",conn);
return errString;
//return errString;
}
else
{
errString = this.gbfRetrieveJournal(tranId,xtraParams,conn);
if(errString != null && errString.trim().length() > 0)
{
return errString;
//return errString;
}
}
} //end of try
catch(Exception e)
{
try
{
conn.rollback();
}
catch(Exception t){}
System.out.println("Exception ::"+e.getMessage());
throw new ITMException(e);
}
......@@ -422,10 +427,15 @@ conn = getConnection();
}
journalMap.clear();
jourdetMap.clear();
return errString ;
}//end of try
catch(ITMException ie)
{
try
{
conn.rollback();
}
catch(Exception t){}
errString = itmDBAccessEJB.getErrorString("","VTDESNCONF","","",conn);
System.out.println("Returnng String From gbfRetrieveJournal :"+errString);
throw new ITMException(ie);
......@@ -454,8 +464,10 @@ conn = getConnection();
catch(Exception e)
{
System.out.println("Exception : "+e);e.printStackTrace();
throw new ITMException(e);
}
}
return errString ;
}// end of gbf_retrieve_journal
//gbf_post_journal - start - Normal Posting
String gbfPostJournal(String tranId,HashMap journalMap,ArrayList jourdetList,String xtraParams,Connection conn)throws RemoteException,ITMException
......@@ -1080,7 +1092,7 @@ conn = getConnection();
errString = itmDBAccessEJB.getErrorString("","CONFSUCCES","");
System.out.println("JV Confirmed .."+errString);
} // end of else
return errString;
}// end ofTry - gbfPostJournal
catch(SQLException e)
{
......@@ -1109,6 +1121,7 @@ conn = getConnection();
throw new ITMException(e);
}
}
return errString;
}//method end //gbf_post_journal - end
String otherSitePostJournal(String tranId,HashMap journalMap,ArrayList jourdetList,String xtraParams,Connection conn)throws RemoteException,ITMException
......
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