Commit c0879ba5 authored by prane's avatar prane

DriverITM is changed to getConnection()

git-svn-id: http://15.206.35.175/svn/proteus/business-java/trunk@175556 ce508802-f39f-4f6c-b175-0d175dae99d5
parent e5a38848
......@@ -150,7 +150,8 @@ public class ChargeBack implements ChargeBackLocal, ChargeBackRemote // added fo
try
{
ConnDriver connDriver = new ConnDriver();
conn = connDriver.getConnectDB("DriverITM");
//conn = connDriver.getConnectDB("DriverITM");
conn = getConnection();
loginSite = genericUtility.getValueFromXTRA_PARAMS(xtraParams,"loginSiteCode");
empCode = genericUtility.getValueFromXTRA_PARAMS(xtraParams,"loginEmpCode");
userId = genericUtility.getValueFromXTRA_PARAMS(xtraParams,"userId");
......@@ -653,7 +654,8 @@ public class ChargeBack implements ChargeBackLocal, ChargeBackRemote // added fo
try
{
ConnDriver connDriver = new ConnDriver();
conn = connDriver.getConnectDB("DriverITM");
//conn = connDriver.getConnectDB("DriverITM");
conn = getConnection();
stmt = conn.createStatement();
sql = "SELECT FIN_ENTITY FROM SITE WHERE SITE_CODE ='"+as_login_site+"'";
rs = stmt.executeQuery(sql);
......
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