Commit 2d1653ba authored by ssalve's avatar ssalve

Sarita : done changes to add getConnection instead getConnectionDB("DriverITM") on 27DEC2017

git-svn-id: http://15.206.35.175/svn/proteus/business-java/trunk@177261 ce508802-f39f-4f6c-b175-0d175dae99d5
parent c42ecdf7
......@@ -107,10 +107,12 @@ public class PalletizationConfIC extends ValidatorEJB implements PalletizationIC
System.out.println("DOM1----->>["+genericUtility.serializeDom(dom1).toString()+"]");
System.out.println("DOM2----->>["+genericUtility.serializeDom(dom2).toString()+"]");
ConnDriver connDriver = new ConnDriver();
//Added and replace by sarita on 27DEC2017
/*ConnDriver connDriver = new ConnDriver();
conn = connDriver.getConnectDB("DriverITM");
conn.setAutoCommit(false);
connDriver = null;
connDriver = null;*/
conn = getConnection();
if (objContext != null && objContext.trim().length() > 0)
{
......@@ -279,10 +281,11 @@ public class PalletizationConfIC extends ValidatorEJB implements PalletizationIC
try
{
conn = connDriver.getConnectDB("DriverITM");
//Added and replace by sarita on 27DEC2017
/*conn = connDriver.getConnectDB("DriverITM");
conn.setAutoCommit(false);
connDriver=null;
connDriver=null;*/
conn = getConnection();
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