Commit ee19eb60 authored by manohar's avatar manohar

local commit commented and messge code CONFSUCC made empty string


git-svn-id: http://15.206.35.175/svn/proteus/business-java/trunk@97263 ce508802-f39f-4f6c-b175-0d175dae99d5
parent 267fb17e
......@@ -27,7 +27,7 @@ public class WoTrfWizPos extends ValidatorEJB implements WoTrfWizPosLocal, WoTrf
{
return "";
}
public String postSave(String domString, String tranId,String editFlag, String xtraParams, Connection conn1 ) throws RemoteException,ITMException
public String postSave(String domString, String tranId,String editFlag, String xtraParams, Connection conn ) throws RemoteException,ITMException
{
System.out.println("post save called )( 01102014");
String errString = "";
......@@ -90,10 +90,10 @@ public class WoTrfWizPos extends ValidatorEJB implements WoTrfWizPosLocal, WoTrf
try
{
System.out.println("domString::{"+domString+"}");
connDriver = new ConnDriver();
conn = connDriver.getConnectDB("DriverITM");
connDriver = null;
conn.setAutoCommit(false);
//connDriver = new ConnDriver();
//conn = connDriver.getConnectDB("DriverITM");
//connDriver = null;
//conn.setAutoCommit(false);
GenericUtility genericUtility = GenericUtility.getInstance();
// SimpleDateFormat sdf = new SimpleDateFormat(genericUtility.getDBDateFormat());
// Timestamp date1 = Timestamp.valueOf(sdf.format(utilDate).toString() + " 00:00:00.0");
......@@ -470,7 +470,8 @@ public class WoTrfWizPos extends ValidatorEJB implements WoTrfWizPosLocal, WoTrf
// 04/02/15 manoharan commit taken from finally
if(!isError)
{
conn.commit();
//conn.commit();
errString = "";
}
}
catch(Exception e)
......
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