Commit 1816b9dd authored by pgole's avatar pgole

Updated ejb for changing connection driver to getConnection method.


git-svn-id: http://15.206.35.175/svn/proteus/business-java/trunk@101910 ce508802-f39f-4f6c-b175-0d175dae99d5
parent d007442c
...@@ -87,7 +87,10 @@ public class WIPScanPvSolar extends ValidatorEJB implements WIPScanPvSolarRemote ...@@ -87,7 +87,10 @@ public class WIPScanPvSolar extends ValidatorEJB implements WIPScanPvSolarRemote
{ {
genutility= new E12GenericUtility(); genutility= new E12GenericUtility();
//genutility=GenericUtility.getInstance(); //genutility=GenericUtility.getInstance();
conn=connDriver.getConnectDB("DriverITM"); //Changes and Commented By Poonam on 08-06-2016 :START
//conn = connDriver.getConnectDB("DriverITM");
conn = getConnection();
//Changes and Commented By Poonam on 08-06-2016 :END
connDriver=null; connDriver=null;
userId=getValueFromXTRA_PARAMS(xtraParams,"loginCode"); userId=getValueFromXTRA_PARAMS(xtraParams,"loginCode");
System.out.println("user id "+userId); System.out.println("user id "+userId);
......
...@@ -721,7 +721,11 @@ public class WoTransferPrc extends ProcessEJB implements WoTransferPrcLocal,WoTr ...@@ -721,7 +721,11 @@ public class WoTransferPrc extends ProcessEJB implements WoTransferPrcLocal,WoTr
//genericUtility = new GenericUtility(); //genericUtility = new GenericUtility();
itmDBAccessEJB = new ITMDBAccessEJB(); itmDBAccessEJB = new ITMDBAccessEJB();
connDriver = new ConnDriver(); connDriver = new ConnDriver();
connOne = connDriver.getConnectDB("DriverITM");
//Changed by Poonam Gole for changing connection object :Start
//connOne = connDriver.getConnectDB("DriverITM");
connOne = getConnection() ;
//Changed by Poonam Gole for changing connection object :End
connDriver = null; connDriver = null;
connOne.setAutoCommit(false); connOne.setAutoCommit(false);
parentNodeList = detailDom.getElementsByTagName("Detail2"); 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