Commit 518e7a68 authored by prane's avatar prane

DriverITM is changed to getConnection()

git-svn-id: http://15.206.35.175/svn/proteus/business-java/trunk@175538 ce508802-f39f-4f6c-b175-0d175dae99d5
parent d745d50c
...@@ -79,8 +79,9 @@ public class SecSalesGenIc extends ValidatorEJB implements SecSalesGenIcRemote,S ...@@ -79,8 +79,9 @@ public class SecSalesGenIc extends ValidatorEJB implements SecSalesGenIcRemote,S
loginSiteCode = "",countryCode="",isPrdClosed="",childNodeName = "", sql = ""; loginSiteCode = "",countryCode="",isPrdClosed="",childNodeName = "", sql = "";
try { try {
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();
String userId = genericUtility.getValueFromXTRA_PARAMS(xtraParams, "loginCode"); String userId = genericUtility.getValueFromXTRA_PARAMS(xtraParams, "loginCode");
loginSiteCode = checkNull(genericUtility.getValueFromXTRA_PARAMS(xtraParams,"loginSiteCode")); loginSiteCode = checkNull(genericUtility.getValueFromXTRA_PARAMS(xtraParams,"loginSiteCode"));
System.out.println("**************loginCode************" + userId); System.out.println("**************loginCode************" + userId);
...@@ -399,8 +400,9 @@ public class SecSalesGenIc extends ValidatorEJB implements SecSalesGenIcRemote,S ...@@ -399,8 +400,9 @@ public class SecSalesGenIc extends ValidatorEJB implements SecSalesGenIcRemote,S
String loginSiteCode = genericUtility.getValueFromXTRA_PARAMS(xtraParams,"loginSiteCode"); String loginSiteCode = genericUtility.getValueFromXTRA_PARAMS(xtraParams,"loginSiteCode");
try try
{ {
ConnDriver connDriver = new ConnDriver(); //ConnDriver connDriver = new ConnDriver();
conn = connDriver.getConnectDB("DriverITM"); //conn = connDriver.getConnectDB("DriverITM");
conn = getConnection();
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