Commit 71ac3bf6 authored by prane's avatar prane

DriverITM is changed to getConnection()

git-svn-id: http://15.206.35.175/svn/proteus/business-java/trunk@175510 ce508802-f39f-4f6c-b175-0d175dae99d5
parent 15c9b85e
...@@ -84,8 +84,9 @@ public class Es3HDataIC extends ValidatorEJB implements Es3HDataICRemote,Es3HDat ...@@ -84,8 +84,9 @@ public class Es3HDataIC extends ValidatorEJB implements Es3HDataICRemote,Es3HDat
try { try {
SimpleDateFormat sdf = new SimpleDateFormat(genericUtility.getApplDateFormat()); SimpleDateFormat sdf = new SimpleDateFormat(genericUtility.getApplDateFormat());
System.out.println("************xtraParams*************" + xtraParams); System.out.println("************xtraParams*************" + xtraParams);
connDriver = new ConnDriver(); //connDriver = new ConnDriver();
conn = connDriver.getConnectDB("DriverITM"); //conn = connDriver.getConnectDB("DriverITM");
conn = getConnection();
System.out.println("In wfValData Distribution receipt:::"); System.out.println("In wfValData Distribution receipt:::");
String userId = genericUtility.getValueFromXTRA_PARAMS(xtraParams, "loginCode"); String userId = genericUtility.getValueFromXTRA_PARAMS(xtraParams, "loginCode");
...@@ -435,8 +436,9 @@ public class Es3HDataIC extends ValidatorEJB implements Es3HDataICRemote,Es3HDat ...@@ -435,8 +436,9 @@ public class Es3HDataIC extends ValidatorEJB implements Es3HDataICRemote,Es3HDat
try try
{ {
try { try {
ConnDriver connDriver = new ConnDriver(); //ConnDriver connDriver = new ConnDriver();
conn = connDriver.getConnectDB("DriverITM"); //conn = connDriver.getConnectDB("DriverITM");
conn = getConnection();
} catch (Exception e) { } catch (Exception e) {
System.out.println("Exception :Es3HDataUpdPrc :ejbCreate :==>" + e); System.out.println("Exception :Es3HDataUpdPrc :ejbCreate :==>" + e);
e.printStackTrace(); e.printStackTrace();
......
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