Commit 3daf2177 authored by prane's avatar prane

DriverITM is changed to getConnection()

git-svn-id: http://15.206.35.175/svn/proteus/business-java/trunk@175559 ce508802-f39f-4f6c-b175-0d175dae99d5
parent 1e388305
......@@ -40,7 +40,8 @@ public class SalesReturnWF {
}
else{
try {
conn = connDriver.getConnectDB("DriverITM");
//conn = connDriver.getConnectDB("DriverITM");
conn = getConnection();
connDriver = null;
conn.setAutoCommit(false);
empCodeAprv = empCodeAprv == null ? "" : empCodeAprv.trim();
......@@ -172,7 +173,8 @@ public class SalesReturnWF {
try
{
conn = connDriver.getConnectDB("DriverITM");
//conn = connDriver.getConnectDB("DriverITM");
conn = getConnection();
conn.setAutoCommit(false);
connDriver = null;
if ("C".equalsIgnoreCase(wfStatus) || "R".equalsIgnoreCase(wfStatus) || "O".equalsIgnoreCase(wfStatus)) {
......@@ -249,7 +251,8 @@ public class SalesReturnWF {
{
connDriver = new ConnDriver();
genericUtility = new E12GenericUtility();
conn = connDriver.getConnectDB("DriverITM");
//conn = connDriver.getConnectDB("DriverITM");
conn = getConnection();
conn.setAutoCommit(false);
connDriver = null;
simpleDateFormat = new SimpleDateFormat(genericUtility.getApplDateTimeFormat());
......@@ -391,7 +394,8 @@ public class SalesReturnWF {
{
connDriver = new ConnDriver();
genericUtility = new E12GenericUtility();
conn = connDriver.getConnectDB("DriverITM");
//conn = connDriver.getConnectDB("DriverITM");
conn = getConnection();
conn.setAutoCommit(false);
connDriver = null;
simpleDateFormat = new SimpleDateFormat(genericUtility.getApplDateTimeFormat());
......@@ -508,7 +512,8 @@ public class SalesReturnWF {
try
{
connDriver = new ConnDriver();
conn = connDriver.getConnectDB("DriverITM");
//conn = connDriver.getConnectDB("DriverITM");
conn = getConnection();
conn.setAutoCommit(false);
connDriver = null;
processInfo = processId.split(":");
......
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