Commit f824430f 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@175648 ce508802-f39f-4f6c-b175-0d175dae99d5
parent b6f725e0
...@@ -24,8 +24,8 @@ public class AdjustmentIssueWF ...@@ -24,8 +24,8 @@ public class AdjustmentIssueWF
try try
{ {
//conn = connDriver.getConnectDB("DriverITM"); conn = connDriver.getConnectDB("DriverITM");
conn = getConnection(); //conn = getConnection();
connDriver = null; connDriver = null;
conn.setAutoCommit(false); conn.setAutoCommit(false);
empCodeAprv = empCodeAprv == null ? "" : empCodeAprv.trim(); empCodeAprv = empCodeAprv == null ? "" : empCodeAprv.trim();
......
...@@ -35,8 +35,8 @@ public class CustomerMasterWF { ...@@ -35,8 +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 = getConnection() ;
conn.setAutoCommit(false); conn.setAutoCommit(false);
connDriver = null; connDriver = null;
simpleDateFormat = new SimpleDateFormat(genericUtility.getApplDateTimeFormat()); simpleDateFormat = new SimpleDateFormat(genericUtility.getApplDateTimeFormat());
...@@ -178,8 +178,8 @@ public class CustomerMasterWF { ...@@ -178,8 +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 = getConnection() ;
conn.setAutoCommit(false); conn.setAutoCommit(false);
connDriver = null; connDriver = null;
simpleDateFormat = new SimpleDateFormat(genericUtility.getApplDateTimeFormat()); simpleDateFormat = new SimpleDateFormat(genericUtility.getApplDateTimeFormat());
...@@ -296,8 +296,8 @@ public class CustomerMasterWF { ...@@ -296,8 +296,8 @@ public class CustomerMasterWF {
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(":");
...@@ -381,8 +381,8 @@ public class CustomerMasterWF { ...@@ -381,8 +381,8 @@ public class CustomerMasterWF {
try try
{ {
connDriver = new ConnDriver(); connDriver = new ConnDriver();
//conn = connDriver.getConnectDB("DriverITM"); conn = connDriver.getConnectDB("DriverITM");
conn = getConnection() ; //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 = ? ";
......
...@@ -38,8 +38,8 @@ public class IndentReqConfWF ...@@ -38,8 +38,8 @@ public class IndentReqConfWF
} }
else{ else{
try { try {
//conn = connDriver.getConnectDB("DriverITM"); conn = connDriver.getConnectDB("DriverITM");
conn = getConnection(); //conn = getConnection();
connDriver = null; connDriver = null;
conn.setAutoCommit(false); conn.setAutoCommit(false);
empCodeAprv = empCodeAprv == null ? "" : empCodeAprv.trim(); empCodeAprv = empCodeAprv == null ? "" : empCodeAprv.trim();
...@@ -185,8 +185,8 @@ public class IndentReqConfWF ...@@ -185,8 +185,8 @@ public class IndentReqConfWF
try try
{ {
//conn = connDriver.getConnectDB("DriverITM"); conn = connDriver.getConnectDB("DriverITM");
conn = getConnection(); //conn = getConnection();
conn.setAutoCommit(false); conn.setAutoCommit(false);
connDriver = null; connDriver = null;
if ("C".equalsIgnoreCase(wfStatus)) { if ("C".equalsIgnoreCase(wfStatus)) {
......
...@@ -40,8 +40,8 @@ public class PricelistGenerationWF { ...@@ -40,8 +40,8 @@ public class PricelistGenerationWF {
} }
else{ else{
try { try {
//conn = connDriver.getConnectDB("DriverITM"); conn = connDriver.getConnectDB("DriverITM");
conn = getConnection(); //conn = getConnection();
connDriver = null; connDriver = null;
conn.setAutoCommit(false); conn.setAutoCommit(false);
empCodeAprv = empCodeAprv == null ? "" : empCodeAprv.trim(); empCodeAprv = empCodeAprv == null ? "" : empCodeAprv.trim();
...@@ -172,8 +172,8 @@ public class PricelistGenerationWF { ...@@ -172,8 +172,8 @@ public class PricelistGenerationWF {
remarks = checkNull(remarks); remarks = checkNull(remarks);
try try
{ {
//conn = connDriver.getConnectDB("DriverITM"); conn = connDriver.getConnectDB("DriverITM");
conn = getConnection(); //conn = getConnection();
conn.setAutoCommit(false); conn.setAutoCommit(false);
connDriver = null; connDriver = null;
if ("C".equalsIgnoreCase(wfStatus) || "R".equalsIgnoreCase(wfStatus)) { if ("C".equalsIgnoreCase(wfStatus) || "R".equalsIgnoreCase(wfStatus)) {
...@@ -250,8 +250,8 @@ public class PricelistGenerationWF { ...@@ -250,8 +250,8 @@ public class PricelistGenerationWF {
{ {
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());
...@@ -393,8 +393,8 @@ public class PricelistGenerationWF { ...@@ -393,8 +393,8 @@ public class PricelistGenerationWF {
{ {
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());
...@@ -511,8 +511,8 @@ public class PricelistGenerationWF { ...@@ -511,8 +511,8 @@ public class PricelistGenerationWF {
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(":");
......
...@@ -47,8 +47,8 @@ public class SaleReturnConfWF implements SaleReturnConfWFRemote, SaleReturnConfW ...@@ -47,8 +47,8 @@ public class SaleReturnConfWF implements SaleReturnConfWFRemote, SaleReturnConfW
} }
else{ else{
try { try {
//conn = connDriver.getConnectDB("DriverITM"); conn = connDriver.getConnectDB("DriverITM");
conn = getConnection(); //conn = getConnection();
connDriver = null; connDriver = null;
conn.setAutoCommit(false); conn.setAutoCommit(false);
empCodeAprv = empCodeAprv == null ? "" : empCodeAprv.trim(); empCodeAprv = empCodeAprv == null ? "" : empCodeAprv.trim();
...@@ -171,8 +171,8 @@ public class SaleReturnConfWF implements SaleReturnConfWFRemote, SaleReturnConfW ...@@ -171,8 +171,8 @@ public class SaleReturnConfWF implements SaleReturnConfWFRemote, SaleReturnConfW
try try
{ {
//conn = connDriver.getConnectDB("DriverITM"); conn = connDriver.getConnectDB("DriverITM");
conn = getConnection(); //conn = getConnection();
conn.setAutoCommit(false); conn.setAutoCommit(false);
connDriver = null; connDriver = null;
if ("C".equalsIgnoreCase(wfStatus)) { if ("C".equalsIgnoreCase(wfStatus)) {
......
...@@ -40,8 +40,8 @@ public class SalesReturnWF { ...@@ -40,8 +40,8 @@ public class SalesReturnWF {
} }
else{ else{
try { try {
//conn = connDriver.getConnectDB("DriverITM"); conn = connDriver.getConnectDB("DriverITM");
conn = getConnection(); //conn = getConnection();
connDriver = null; connDriver = null;
conn.setAutoCommit(false); conn.setAutoCommit(false);
empCodeAprv = empCodeAprv == null ? "" : empCodeAprv.trim(); empCodeAprv = empCodeAprv == null ? "" : empCodeAprv.trim();
...@@ -173,8 +173,8 @@ public class SalesReturnWF { ...@@ -173,8 +173,8 @@ public class SalesReturnWF {
try try
{ {
//conn = connDriver.getConnectDB("DriverITM"); conn = connDriver.getConnectDB("DriverITM");
conn = getConnection(); //conn = getConnection();
conn.setAutoCommit(false); conn.setAutoCommit(false);
connDriver = null; connDriver = null;
if ("C".equalsIgnoreCase(wfStatus) || "R".equalsIgnoreCase(wfStatus) || "O".equalsIgnoreCase(wfStatus)) { if ("C".equalsIgnoreCase(wfStatus) || "R".equalsIgnoreCase(wfStatus) || "O".equalsIgnoreCase(wfStatus)) {
...@@ -251,8 +251,8 @@ public class SalesReturnWF { ...@@ -251,8 +251,8 @@ public class SalesReturnWF {
{ {
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());
...@@ -394,8 +394,8 @@ public class SalesReturnWF { ...@@ -394,8 +394,8 @@ public class SalesReturnWF {
{ {
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());
...@@ -512,8 +512,8 @@ public class SalesReturnWF { ...@@ -512,8 +512,8 @@ public class SalesReturnWF {
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(":");
......
...@@ -59,8 +59,8 @@ public class POBWizWfConf ...@@ -59,8 +59,8 @@ public class POBWizWfConf
POBWizConfLocal pobWizConfLocal=null; POBWizConfLocal pobWizConfLocal=null;
try try
{ {
//conn = connDriver.getConnectDB("DriverITM"); conn = connDriver.getConnectDB("DriverITM");
conn = getConnection(); //conn = getConnection();
connDriver = null; connDriver = null;
conn.setAutoCommit(false); conn.setAutoCommit(false);
DistCommon distCommon= new DistCommon(); DistCommon distCommon= new DistCommon();
......
...@@ -26,8 +26,8 @@ public class PurchaseMilestoneWF ...@@ -26,8 +26,8 @@ public class PurchaseMilestoneWF
ConnDriver connDriver = new ConnDriver(); ConnDriver connDriver = new ConnDriver();
try try
{ {
//conn = connDriver.getConnectDB("DriverITM"); conn = connDriver.getConnectDB("DriverITM");
conn = getConnection(); //conn = getConnection();
connDriver = null; connDriver = null;
conn.setAutoCommit(false); conn.setAutoCommit(false);
empCodeAprv = empCodeAprv == null ? "" : empCodeAprv.trim(); empCodeAprv = empCodeAprv == null ? "" : empCodeAprv.trim();
......
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