Commit ed38f228 authored by prane's avatar prane

DriverITM is changed to getConnection()

git-svn-id: http://15.206.35.175/svn/proteus/business-java/trunk@175551 ce508802-f39f-4f6c-b175-0d175dae99d5
parent 401f3f08
......@@ -40,7 +40,8 @@ public class PricelistGenerationWF {
}
else{
try {
conn = connDriver.getConnectDB("DriverITM");
//conn = connDriver.getConnectDB("DriverITM");
conn = getConnection();
connDriver = null;
conn.setAutoCommit(false);
empCodeAprv = empCodeAprv == null ? "" : empCodeAprv.trim();
......@@ -171,7 +172,8 @@ public class PricelistGenerationWF {
remarks = checkNull(remarks);
try
{
conn = connDriver.getConnectDB("DriverITM");
//conn = connDriver.getConnectDB("DriverITM");
conn = getConnection();
conn.setAutoCommit(false);
connDriver = null;
if ("C".equalsIgnoreCase(wfStatus) || "R".equalsIgnoreCase(wfStatus)) {
......@@ -248,7 +250,8 @@ public class PricelistGenerationWF {
{
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());
......@@ -390,7 +393,8 @@ public class PricelistGenerationWF {
{
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());
......@@ -507,7 +511,8 @@ public class PricelistGenerationWF {
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