Commit 1f64ab2c authored by prane's avatar prane

getConnection() is updated instead of DriverITM

git-svn-id: http://15.206.35.175/svn/proteus/business-java/trunk@175497 ce508802-f39f-4f6c-b175-0d175dae99d5
parent ef04ba8f
......@@ -115,7 +115,8 @@ public class POBWizIC extends ValidatorEJB implements POBWizICLocal, POBWizICRem
try
{
System.out.println("@@@@@@@@ wfvaldata called");
conn = connDriver.getConnectDB("DriverITM");
//conn = connDriver.getConnectDB("DriverITM");
conn = getConnection() ;
connDriver = null;
userId = getValueFromXTRA_PARAMS(xtraParams, "loginCode");
loginEmpCode = genericUtility.getValueFromXTRA_PARAMS(xtraParams, "loginEmpCode");
......@@ -771,7 +772,8 @@ public class POBWizIC extends ValidatorEJB implements POBWizICLocal, POBWizICRem
Calendar currentDate = Calendar.getInstance();
SimpleDateFormat sdf = new SimpleDateFormat(genericUtility.getApplDateFormat());
String sysDate = sdf.format(currentDate.getTime());
conn = connDriver.getConnectDB("DriverITM");
//conn = connDriver.getConnectDB("DriverITM");
conn = getConnection() ;
conn.setAutoCommit(false);
connDriver = null;
DistCommon distCommon = new DistCommon();
......
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