Commit af1695f2 authored by prane's avatar prane

DriverITM is changed to getConnection()

git-svn-id: http://15.206.35.175/svn/proteus/business-java/trunk@175562 ce508802-f39f-4f6c-b175-0d175dae99d5
parent 7e657ad0
......@@ -77,8 +77,9 @@ public class SecSalesGenPrc extends ProcessEJB implements SecSalesGenPrcLocal,Se
SimpleDateFormat sdf=null;
String loginSiteCode = genericUtility.getValueFromXTRA_PARAMS(xtraParams,"loginSiteCode");
try {
ConnDriver con = new ConnDriver();
conn = con.getConnectDB("DriverITM");
//ConnDriver con = new ConnDriver();
//conn = con.getConnectDB("DriverITM");
conn = getConnection();
sdf = new SimpleDateFormat(genericUtility.getApplDateFormat());
System.out.println("In getdata Station update process:::");
prdCode = checkNull(genericUtility.getColumnValue("prd_code", dom));
......@@ -297,8 +298,9 @@ public class SecSalesGenPrc extends ProcessEJB implements SecSalesGenPrcLocal,Se
try
{
ConnDriver connDriver = new ConnDriver();
conn = connDriver.getConnectDB("DriverITM");
//ConnDriver connDriver = new ConnDriver();
//conn = connDriver.getConnectDB("DriverITM");
conn = getConnection();
conn.setAutoCommit(false);
parentNodeList = detailDom.getElementsByTagName("Detail2");
......
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