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 ...@@ -27,7 +27,7 @@ public class WoTrfWizPos extends ValidatorEJB implements WoTrfWizPosLocal, WoTrf
{ {
return ""; 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"); System.out.println("post save called )( 01102014");
String errString = ""; String errString = "";
...@@ -90,10 +90,10 @@ public class WoTrfWizPos extends ValidatorEJB implements WoTrfWizPosLocal, WoTrf ...@@ -90,10 +90,10 @@ public class WoTrfWizPos extends ValidatorEJB implements WoTrfWizPosLocal, WoTrf
try try
{ {
System.out.println("domString::{"+domString+"}"); System.out.println("domString::{"+domString+"}");
connDriver = new ConnDriver(); //connDriver = new ConnDriver();
conn = connDriver.getConnectDB("DriverITM"); //conn = connDriver.getConnectDB("DriverITM");
connDriver = null; //connDriver = null;
conn.setAutoCommit(false); //conn.setAutoCommit(false);
GenericUtility genericUtility = GenericUtility.getInstance(); GenericUtility genericUtility = GenericUtility.getInstance();
// SimpleDateFormat sdf = new SimpleDateFormat(genericUtility.getDBDateFormat()); // SimpleDateFormat sdf = new SimpleDateFormat(genericUtility.getDBDateFormat());
// Timestamp date1 = Timestamp.valueOf(sdf.format(utilDate).toString() + " 00:00:00.0"); // Timestamp date1 = Timestamp.valueOf(sdf.format(utilDate).toString() + " 00:00:00.0");
...@@ -470,7 +470,8 @@ public class WoTrfWizPos extends ValidatorEJB implements WoTrfWizPosLocal, WoTrf ...@@ -470,7 +470,8 @@ public class WoTrfWizPos extends ValidatorEJB implements WoTrfWizPosLocal, WoTrf
// 04/02/15 manoharan commit taken from finally // 04/02/15 manoharan commit taken from finally
if(!isError) if(!isError)
{ {
conn.commit(); //conn.commit();
errString = "";
} }
} }
catch(Exception e) 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