Commit baa96609 authored by smanohar's avatar smanohar

connection made multi tenancy compatible

git-svn-id: http://15.206.35.175/svn/proteus/business-java/trunk@217948 ce508802-f39f-4f6c-b175-0d175dae99d5
parent e68ca4c9
......@@ -191,7 +191,7 @@ public class WOrderIssueAct extends ActionHandlerEJB implements WOrderIssueActL
ConnDriver connDriver = new ConnDriver();
try
{
conn = connDriver.getConnectDB("DriverITM");
conn = getConnection();//connDriver.getConnectDB("DriverITM"); // 16-mar-2020 manoharan
tranType = genericUtility.getColumnValue("tran_type", dom1);
tranIdReq = genericUtility.getColumnValue("tran_id__req", dom1);
// System.out.println("tranType before null :::: " + tranType + "tranIdReq :::: " + tranIdReq); //COMMENTED BY ALKA 19/07/07 AS NOT REQUIRED
......@@ -314,7 +314,7 @@ public class WOrderIssueAct extends ActionHandlerEJB implements WOrderIssueActL
ConnDriver connDriver = new ConnDriver();
MfgCommon mfgCommon = new MfgCommon();
try {
conn = connDriver.getConnectDB("DriverITM");
conn = getConnection();;//connDriver.getConnectDB("DriverITM"); // 16-mar-2020 manoharan
effDate = genericUtility.getColumnValue("eff_date", dom1);
siteCode = genericUtility.getColumnValue("site_code", dom1);
......@@ -780,7 +780,7 @@ public class WOrderIssueAct extends ActionHandlerEJB implements WOrderIssueActL
//GenericUtility genericUtility = GenericUtility.getInstance();
E12GenericUtility genericUtility = new E12GenericUtility();
try {
conn = connDriver.getConnectDB("DriverITM");
conn = conn = getConnection();//connDriver.getConnectDB("DriverITM"); // 16-mar-2020 manoharan
woIss = genericUtility.getColumnValue("tran_id", dom1);
siteCode = genericUtility.getColumnValue("site_code", dom1);
......@@ -1065,7 +1065,7 @@ public class WOrderIssueAct extends ActionHandlerEJB implements WOrderIssueActL
try
{
conn = connDriver.getConnectDB("DriverITM");
conn = conn = getConnection();//connDriver.getConnectDB("DriverITM"); // 16-mar-2020 manoharan
System.out.println("[Allocating .....]");
......@@ -2868,7 +2868,7 @@ public class WOrderIssueAct extends ActionHandlerEJB implements WOrderIssueActL
try
{
ConnDriver connDriver = new ConnDriver();
conn = connDriver.getConnectDB("DriverITM");
conn = conn = getConnection();//connDriver.getConnectDB("DriverITM"); // 16-mar-2020 manoharan
conn.setAutoCommit(false);
connDriver = null;
......
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