Commit 2de82e63 authored by mnair's avatar mnair

multi tenancy compatible by changing the connection to usr getConnection

git-svn-id: http://15.206.35.175/svn/proteus/business-java/trunk@186345 ce508802-f39f-4f6c-b175-0d175dae99d5
parent 2a6be945
...@@ -110,8 +110,14 @@ public class WorkorderRelease extends ProcessEJB implements WorkorderReleaseLoca ...@@ -110,8 +110,14 @@ public class WorkorderRelease extends ProcessEJB implements WorkorderReleaseLoca
{ {
System.out.println("Enter in process ======================"); System.out.println("Enter in process ======================");
connDriver = new ConnDriver();
conn = connDriver.getConnectDB( "DriverITM" ); /*connDriver = new ConnDriver();
conn = connDriver.getConnectDB( "DriverITM" );*/
//changes by mayur on 12-June-2018--[start]
conn = getConnection();
//changes by mayur on 12-June-2018--end
conn.setAutoCommit( false ); conn.setAutoCommit( false );
connDriver = null; connDriver = null;
//oracleConnection = new ConnDriver().getOracleConnection("DriverITM"); //oracleConnection = new ConnDriver().getOracleConnection("DriverITM");
......
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