Commit bba93a2f authored by prane's avatar prane

DriverITM is changed to getConnection()

git-svn-id: http://15.206.35.175/svn/proteus/business-java/trunk@175527 ce508802-f39f-4f6c-b175-0d175dae99d5
parent fefcfe41
......@@ -176,7 +176,8 @@ public class CustStockGWTIC extends ValidatorEJB implements CustStockGWTICLocal,
dbSysDate = Timestamp.valueOf(genericUtility.getValidDateString(sysDate, genericUtility.getApplDateFormat(), genericUtility.getDBDateFormat()) + " 00:00:00.0");
System.out.println("dbSysDate>>>>>>>"+dbSysDate);
//sdf = new SimpleDateFormat(genericUtility.getApplDateFormat());
conn = connDriver.getConnectDB("DriverITM");
//conn = connDriver.getConnectDB("DriverITM");
conn = getConnection();
DistCommon distCommon = new DistCommon();
userId = getValueFromXTRA_PARAMS(xtraParams, "loginCode");
//loginSiteCode = checkNull(genericUtility.getValueFromXTRA_PARAMS(xtraParams,"loginSiteCode"));
......@@ -1681,7 +1682,7 @@ public class CustStockGWTIC extends ValidatorEJB implements CustStockGWTICLocal,
ITMDBAccessEJB itmDBAccessLocal = new ITMDBAccessEJB();
ConnDriver connDriver = null;
connDriver = new ConnDriver();
conn = connDriver.getConnectDB("DriverITM");
//conn = connDriver.getConnectDB("DriverITM");
sdf = new SimpleDateFormat(genericUtility.getApplDateFormat());
chgDate = sdf.format(new java.util.Date());
chgUser = checkNull(genericUtility.getValueFromXTRA_PARAMS(xtraParams,"loginCode"));
......
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