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
try
{
//conn = connDriver.getConnectDB("DriverITM");
conn = getConnection();
conn = connDriver.getConnectDB("DriverITM");
//conn = getConnection();
connDriver = null;
conn.setAutoCommit(false);
empCodeAprv = empCodeAprv == null ? "" : empCodeAprv.trim();
......
......@@ -35,8 +35,8 @@ public class CustomerMasterWF {
{
connDriver = new ConnDriver();
genericUtility = new E12GenericUtility();
//conn = connDriver.getConnectDB("DriverITM");
conn = getConnection() ;
conn = connDriver.getConnectDB("DriverITM");
//conn = getConnection() ;
conn.setAutoCommit(false);
connDriver = null;
simpleDateFormat = new SimpleDateFormat(genericUtility.getApplDateTimeFormat());
......@@ -178,8 +178,8 @@ public class CustomerMasterWF {
{
connDriver = new ConnDriver();
genericUtility = new E12GenericUtility();
//conn = connDriver.getConnectDB("DriverITM");
conn = getConnection() ;
conn = connDriver.getConnectDB("DriverITM");
//conn = getConnection() ;
conn.setAutoCommit(false);
connDriver = null;
simpleDateFormat = new SimpleDateFormat(genericUtility.getApplDateTimeFormat());
......@@ -296,8 +296,8 @@ public class CustomerMasterWF {
try
{
connDriver = new ConnDriver();
//conn = connDriver.getConnectDB("DriverITM");
conn = getConnection() ;
conn = connDriver.getConnectDB("DriverITM");
//conn = getConnection() ;
conn.setAutoCommit(false);
connDriver = null;
processInfo = processId.split(":");
......@@ -381,8 +381,8 @@ public class CustomerMasterWF {
try
{
connDriver = new ConnDriver();
//conn = connDriver.getConnectDB("DriverITM");
conn = getConnection() ;
conn = connDriver.getConnectDB("DriverITM");
//conn = getConnection() ;
connDriver = null;
sql = "select count(cust_code) as count from customer where cust_code = ? ";
......
......@@ -38,8 +38,8 @@ public class IndentReqConfWF
}
else{
try {
//conn = connDriver.getConnectDB("DriverITM");
conn = getConnection();
conn = connDriver.getConnectDB("DriverITM");
//conn = getConnection();
connDriver = null;
conn.setAutoCommit(false);
empCodeAprv = empCodeAprv == null ? "" : empCodeAprv.trim();
......@@ -185,8 +185,8 @@ public class IndentReqConfWF
try
{
//conn = connDriver.getConnectDB("DriverITM");
conn = getConnection();
conn = connDriver.getConnectDB("DriverITM");
//conn = getConnection();
conn.setAutoCommit(false);
connDriver = null;
if ("C".equalsIgnoreCase(wfStatus)) {
......
......@@ -40,8 +40,8 @@ public class PricelistGenerationWF {
}
else{
try {
//conn = connDriver.getConnectDB("DriverITM");
conn = getConnection();
conn = connDriver.getConnectDB("DriverITM");
//conn = getConnection();
connDriver = null;
conn.setAutoCommit(false);
empCodeAprv = empCodeAprv == null ? "" : empCodeAprv.trim();
......@@ -172,8 +172,8 @@ public class PricelistGenerationWF {
remarks = checkNull(remarks);
try
{
//conn = connDriver.getConnectDB("DriverITM");
conn = getConnection();
conn = connDriver.getConnectDB("DriverITM");
//conn = getConnection();
conn.setAutoCommit(false);
connDriver = null;
if ("C".equalsIgnoreCase(wfStatus) || "R".equalsIgnoreCase(wfStatus)) {
......@@ -250,8 +250,8 @@ public class PricelistGenerationWF {
{
connDriver = new ConnDriver();
genericUtility = new E12GenericUtility();
//conn = connDriver.getConnectDB("DriverITM");
conn = getConnection();
conn = connDriver.getConnectDB("DriverITM");
//conn = getConnection();
conn.setAutoCommit(false);
connDriver = null;
simpleDateFormat = new SimpleDateFormat(genericUtility.getApplDateTimeFormat());
......@@ -393,8 +393,8 @@ public class PricelistGenerationWF {
{
connDriver = new ConnDriver();
genericUtility = new E12GenericUtility();
//conn = connDriver.getConnectDB("DriverITM");
conn = getConnection();
conn = connDriver.getConnectDB("DriverITM");
//conn = getConnection();
conn.setAutoCommit(false);
connDriver = null;
simpleDateFormat = new SimpleDateFormat(genericUtility.getApplDateTimeFormat());
......@@ -511,8 +511,8 @@ public class PricelistGenerationWF {
try
{
connDriver = new ConnDriver();
//conn = connDriver.getConnectDB("DriverITM");
conn = getConnection();
conn = connDriver.getConnectDB("DriverITM");
//conn = getConnection();
conn.setAutoCommit(false);
connDriver = null;
processInfo = processId.split(":");
......
......@@ -47,8 +47,8 @@ public class SaleReturnConfWF implements SaleReturnConfWFRemote, SaleReturnConfW
}
else{
try {
//conn = connDriver.getConnectDB("DriverITM");
conn = getConnection();
conn = connDriver.getConnectDB("DriverITM");
//conn = getConnection();
connDriver = null;
conn.setAutoCommit(false);
empCodeAprv = empCodeAprv == null ? "" : empCodeAprv.trim();
......@@ -171,8 +171,8 @@ public class SaleReturnConfWF implements SaleReturnConfWFRemote, SaleReturnConfW
try
{
//conn = connDriver.getConnectDB("DriverITM");
conn = getConnection();
conn = connDriver.getConnectDB("DriverITM");
//conn = getConnection();
conn.setAutoCommit(false);
connDriver = null;
if ("C".equalsIgnoreCase(wfStatus)) {
......
......@@ -40,8 +40,8 @@ public class SalesReturnWF {
}
else{
try {
//conn = connDriver.getConnectDB("DriverITM");
conn = getConnection();
conn = connDriver.getConnectDB("DriverITM");
//conn = getConnection();
connDriver = null;
conn.setAutoCommit(false);
empCodeAprv = empCodeAprv == null ? "" : empCodeAprv.trim();
......@@ -173,8 +173,8 @@ public class SalesReturnWF {
try
{
//conn = connDriver.getConnectDB("DriverITM");
conn = getConnection();
conn = connDriver.getConnectDB("DriverITM");
//conn = getConnection();
conn.setAutoCommit(false);
connDriver = null;
if ("C".equalsIgnoreCase(wfStatus) || "R".equalsIgnoreCase(wfStatus) || "O".equalsIgnoreCase(wfStatus)) {
......@@ -251,8 +251,8 @@ public class SalesReturnWF {
{
connDriver = new ConnDriver();
genericUtility = new E12GenericUtility();
//conn = connDriver.getConnectDB("DriverITM");
conn = getConnection();
conn = connDriver.getConnectDB("DriverITM");
//conn = getConnection();
conn.setAutoCommit(false);
connDriver = null;
simpleDateFormat = new SimpleDateFormat(genericUtility.getApplDateTimeFormat());
......@@ -394,8 +394,8 @@ public class SalesReturnWF {
{
connDriver = new ConnDriver();
genericUtility = new E12GenericUtility();
//conn = connDriver.getConnectDB("DriverITM");
conn = getConnection();
conn = connDriver.getConnectDB("DriverITM");
//conn = getConnection();
conn.setAutoCommit(false);
connDriver = null;
simpleDateFormat = new SimpleDateFormat(genericUtility.getApplDateTimeFormat());
......@@ -512,8 +512,8 @@ public class SalesReturnWF {
try
{
connDriver = new ConnDriver();
//conn = connDriver.getConnectDB("DriverITM");
conn = getConnection();
conn = connDriver.getConnectDB("DriverITM");
//conn = getConnection();
conn.setAutoCommit(false);
connDriver = null;
processInfo = processId.split(":");
......
......@@ -59,8 +59,8 @@ public class POBWizWfConf
POBWizConfLocal pobWizConfLocal=null;
try
{
//conn = connDriver.getConnectDB("DriverITM");
conn = getConnection();
conn = connDriver.getConnectDB("DriverITM");
//conn = getConnection();
connDriver = null;
conn.setAutoCommit(false);
DistCommon distCommon= new DistCommon();
......
......@@ -26,8 +26,8 @@ public class PurchaseMilestoneWF
ConnDriver connDriver = new ConnDriver();
try
{
//conn = connDriver.getConnectDB("DriverITM");
conn = getConnection();
conn = connDriver.getConnectDB("DriverITM");
//conn = getConnection();
connDriver = null;
conn.setAutoCommit(false);
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