Commit b1dd241e authored by prane's avatar prane

DriverITM is changed to getConnection()

git-svn-id: http://15.206.35.175/svn/proteus/business-java/trunk@175503 ce508802-f39f-4f6c-b175-0d175dae99d5
parent 8856108d
...@@ -35,7 +35,8 @@ public class CustomerMasterWF { ...@@ -35,7 +35,8 @@ public class CustomerMasterWF {
{ {
connDriver = new ConnDriver(); connDriver = new ConnDriver();
genericUtility = new E12GenericUtility(); genericUtility = new E12GenericUtility();
conn = connDriver.getConnectDB("DriverITM"); //conn = connDriver.getConnectDB("DriverITM");
conn = getConnection() ;
conn.setAutoCommit(false); conn.setAutoCommit(false);
connDriver = null; connDriver = null;
simpleDateFormat = new SimpleDateFormat(genericUtility.getApplDateTimeFormat()); simpleDateFormat = new SimpleDateFormat(genericUtility.getApplDateTimeFormat());
...@@ -177,7 +178,8 @@ public class CustomerMasterWF { ...@@ -177,7 +178,8 @@ public class CustomerMasterWF {
{ {
connDriver = new ConnDriver(); connDriver = new ConnDriver();
genericUtility = new E12GenericUtility(); genericUtility = new E12GenericUtility();
conn = connDriver.getConnectDB("DriverITM"); //conn = connDriver.getConnectDB("DriverITM");
conn = getConnection() ;
conn.setAutoCommit(false); conn.setAutoCommit(false);
connDriver = null; connDriver = null;
simpleDateFormat = new SimpleDateFormat(genericUtility.getApplDateTimeFormat()); simpleDateFormat = new SimpleDateFormat(genericUtility.getApplDateTimeFormat());
...@@ -294,7 +296,8 @@ public class CustomerMasterWF { ...@@ -294,7 +296,8 @@ public class CustomerMasterWF {
try try
{ {
connDriver = new ConnDriver(); connDriver = new ConnDriver();
conn = connDriver.getConnectDB("DriverITM"); //conn = connDriver.getConnectDB("DriverITM");
conn = getConnection() ;
conn.setAutoCommit(false); conn.setAutoCommit(false);
connDriver = null; connDriver = null;
processInfo = processId.split(":"); processInfo = processId.split(":");
...@@ -378,7 +381,8 @@ public class CustomerMasterWF { ...@@ -378,7 +381,8 @@ public class CustomerMasterWF {
try try
{ {
connDriver = new ConnDriver(); connDriver = new ConnDriver();
conn = connDriver.getConnectDB("DriverITM"); //conn = connDriver.getConnectDB("DriverITM");
conn = getConnection() ;
connDriver = null; connDriver = null;
sql = "select count(cust_code) as count from customer where cust_code = ? "; sql = "select count(cust_code) as count from customer where cust_code = ? ";
......
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