Commit 22d3cc0e authored by prane's avatar prane

DriverITM is changed to getConnection()

git-svn-id: http://15.206.35.175/svn/proteus/business-java/trunk@175544 ce508802-f39f-4f6c-b175-0d175dae99d5
parent cc433125
...@@ -97,7 +97,8 @@ public class PrdTableGenIC extends ValidatorEJB implements PrdTableGenICLocal,Pr ...@@ -97,7 +97,8 @@ public class PrdTableGenIC extends ValidatorEJB implements PrdTableGenICLocal,Pr
try try
{ {
System.out.println("@@@@@@@@ wfvaldata called"); System.out.println("@@@@@@@@ wfvaldata called");
conn = connDriver.getConnectDB("DriverITM"); //conn = connDriver.getConnectDB("DriverITM");
conn = getConnection();
connDriver = null; connDriver = null;
userId = getValueFromXTRA_PARAMS(xtraParams, "loginCode"); userId = getValueFromXTRA_PARAMS(xtraParams, "loginCode");
valEjb = new ValidatorEJB(); valEjb = new ValidatorEJB();
...@@ -1133,7 +1134,8 @@ public class PrdTableGenIC extends ValidatorEJB implements PrdTableGenICLocal,Pr ...@@ -1133,7 +1134,8 @@ public class PrdTableGenIC extends ValidatorEJB implements PrdTableGenICLocal,Pr
timestamp = new Timestamp(System.currentTimeMillis()); timestamp = new Timestamp(System.currentTimeMillis());
currDate = (sdf.format(timestamp).toString()).trim(); currDate = (sdf.format(timestamp).toString()).trim();
System.out.println("Current Date>>>>>>>>>" + currDate); System.out.println("Current Date>>>>>>>>>" + currDate);
conn = connDriver.getConnectDB("DriverITM"); //conn = connDriver.getConnectDB("DriverITM");
conn = getConnection();
conn.setAutoCommit(false); conn.setAutoCommit(false);
connDriver = null; connDriver = null;
if (objContext != null && objContext.trim().length() > 0) if (objContext != null && objContext.trim().length() > 0)
......
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