Commit 7b77f7b5 authored by ssalve's avatar ssalve

Sarita: Done changes for getConnectDB("DriverITM") to getConnectDB(userInfo.getTranDB) on 27DEC2017

git-svn-id: http://15.206.35.175/svn/proteus/business-java/trunk@177298 ce508802-f39f-4f6c-b175-0d175dae99d5
parent 15bdaf93
......@@ -9,6 +9,7 @@ import ibase.system.config.AppConnectParm;
import ibase.system.config.ConnDriver;
import ibase.utility.CommonConstants;
import ibase.utility.E12GenericUtility;
import ibase.webitm.ejb.ValidatorEJB;
import ibase.webitm.ejb.wms.DDProductWizRemote;
import ibase.webitm.utility.ITMException;
......@@ -182,7 +183,10 @@ public class ItemDetailsBean
try
{
ConnDriver connDriver = new ConnDriver();
conn = connDriver.getConnectDB("DriverITM");
//Added & replace by sarita on 27DEC2017
//conn = connDriver.getConnectDB("DriverITM");
conn = connDriver.getConnectDB(userInfo.getTransDB());
String sql = "SELECT Attrib_Id, TRIM(Descr),trim(sh_descr) FROM itm_attrib_val WHERE Attrib_Code=? ORDER BY sort_order";
pstmt = conn.prepareStatement(sql);
pstmt.setString(1, sizeCode);
......
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