Commit d3f4c0f2 authored by prane's avatar prane

DriverITM is changed to getConnection()

git-svn-id: http://15.206.35.175/svn/proteus/business-java/trunk@175532 ce508802-f39f-4f6c-b175-0d175dae99d5
parent 07095e5f
...@@ -123,8 +123,9 @@ public class PorderClosePrc extends ProcessEJB implements PorderClosePrcLocal, ...@@ -123,8 +123,9 @@ public class PorderClosePrc extends ProcessEJB implements PorderClosePrcLocal,
try { try {
ConnDriver connDriver = new ConnDriver(); //ConnDriver connDriver = new ConnDriver();
conn = connDriver.getConnectDB("DriverITM"); //conn = connDriver.getConnectDB("DriverITM");
conn = getConnection();
conn.setAutoCommit(false); conn.setAutoCommit(false);
connDriver = null; connDriver = null;
} catch (Exception e) { } catch (Exception e) {
...@@ -515,8 +516,9 @@ public class PorderClosePrc extends ProcessEJB implements PorderClosePrcLocal, ...@@ -515,8 +516,9 @@ public class PorderClosePrc extends ProcessEJB implements PorderClosePrcLocal,
Connection conn = null; Connection conn = null;
try { try {
ConnDriver connDriver = new ConnDriver(); //ConnDriver connDriver = new ConnDriver();
conn = connDriver.getConnectDB("DriverITM"); //conn = connDriver.getConnectDB("DriverITM");
conn = getConnection();
conn.setAutoCommit(false); conn.setAutoCommit(false);
connDriver = null; connDriver = null;
......
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