Commit 5db796b3 authored by prane's avatar prane

Previous of DriverITM is changed to getConnection() are rollbacked.

git-svn-id: http://15.206.35.175/svn/proteus/business-java/trunk@175673 ce508802-f39f-4f6c-b175-0d175dae99d5
parent 058fd05d
...@@ -34,12 +34,12 @@ public class PriceListMasterWF ...@@ -34,12 +34,12 @@ public class PriceListMasterWF
try try
{ {
//connDriver = new ConnDriver(); connDriver = new ConnDriver();
genericUtility = new E12GenericUtility(); genericUtility = new E12GenericUtility();
//conn = connDriver.getConnectDB("DriverITM"); conn = connDriver.getConnectDB("DriverITM");
conn = getConnection(); //conn = getConnection();
conn.setAutoCommit(false); conn.setAutoCommit(false);
//connDriver = null; connDriver = null;
simpleDateFormat = new SimpleDateFormat(genericUtility.getApplDateTimeFormat()); simpleDateFormat = new SimpleDateFormat(genericUtility.getApplDateTimeFormat());
currDate = simpleDateFormat.format(Calendar.getInstance().getTime() ); currDate = simpleDateFormat.format(Calendar.getInstance().getTime() );
currDate = genericUtility.getValidDateTimeString( currDate, genericUtility.getApplDateTimeFormat(),genericUtility.getDBDateTimeFormat() ) ; currDate = genericUtility.getValidDateTimeString( currDate, genericUtility.getApplDateTimeFormat(),genericUtility.getDBDateTimeFormat() ) ;
...@@ -177,12 +177,12 @@ public class PriceListMasterWF ...@@ -177,12 +177,12 @@ public class PriceListMasterWF
try try
{ {
//connDriver = new ConnDriver(); connDriver = new ConnDriver();
genericUtility = new E12GenericUtility(); genericUtility = new E12GenericUtility();
//conn = connDriver.getConnectDB("DriverITM"); conn = connDriver.getConnectDB("DriverITM");
conn = getConnection(); //conn = getConnection();
conn.setAutoCommit(false); conn.setAutoCommit(false);
//connDriver = null; connDriver = null;
simpleDateFormat = new SimpleDateFormat(genericUtility.getApplDateTimeFormat()); simpleDateFormat = new SimpleDateFormat(genericUtility.getApplDateTimeFormat());
currDate = simpleDateFormat.format( Calendar.getInstance().getTime() ); currDate = simpleDateFormat.format( Calendar.getInstance().getTime() );
currDate = genericUtility.getValidDateTimeString( currDate, genericUtility.getApplDateTimeFormat(),genericUtility.getDBDateTimeFormat() ) ; currDate = genericUtility.getValidDateTimeString( currDate, genericUtility.getApplDateTimeFormat(),genericUtility.getDBDateTimeFormat() ) ;
...@@ -297,11 +297,11 @@ public class PriceListMasterWF ...@@ -297,11 +297,11 @@ public class PriceListMasterWF
try try
{ {
//connDriver = new ConnDriver(); connDriver = new ConnDriver();
//conn = connDriver.getConnectDB("DriverITM"); conn = connDriver.getConnectDB("DriverITM");
conn = getConnection(); //conn = getConnection();
conn.setAutoCommit(false); conn.setAutoCommit(false);
//connDriver = null; connDriver = null;
processInfo = processId.split(":"); processInfo = processId.split(":");
prcId = checkNull(processInfo[0]); prcId = checkNull(processInfo[0]);
instanceId = checkNull(processInfo[1]); instanceId = checkNull(processInfo[1]);
...@@ -388,11 +388,11 @@ public class PriceListMasterWF ...@@ -388,11 +388,11 @@ public class PriceListMasterWF
try try
{ {
//connDriver = new ConnDriver(); connDriver = new ConnDriver();
genericUtility = new E12GenericUtility(); genericUtility = new E12GenericUtility();
//conn = connDriver.getConnectDB("DriverITM"); conn = connDriver.getConnectDB("DriverITM");
conn = getConnection(); //conn = getConnection();
//connDriver = null; connDriver = null;
simpleDateFormat = new SimpleDateFormat(genericUtility.getApplDateTimeFormat()); simpleDateFormat = new SimpleDateFormat(genericUtility.getApplDateTimeFormat());
currDate = simpleDateFormat.format( Calendar.getInstance().getTime() ); currDate = simpleDateFormat.format( Calendar.getInstance().getTime() );
currDate = genericUtility.getValidDateTimeString( currDate, genericUtility.getApplDateTimeFormat(),genericUtility.getDBDateTimeFormat() ) ; currDate = genericUtility.getValidDateTimeString( currDate, genericUtility.getApplDateTimeFormat(),genericUtility.getDBDateTimeFormat() ) ;
......
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