Commit b4a0a261 authored by ssalve's avatar ssalve

Sarita : Done changes for getConnection and E12GenericUtility on 17 MAY 2019

git-svn-id: http://15.206.35.175/svn/proteus/business-java/trunk@200889 ce508802-f39f-4f6c-b175-0d175dae99d5
parent f7df4212
......@@ -8,6 +8,8 @@ import ibase.webitm.utility.ITMException;
import ibase.webitm.ejb.*;
import ibase.webitm.utility.GenericUtility;
import ibase.system.config.*;
import ibase.utility.E12GenericUtility;
import javax.ejb.Stateless; // added for ejb3
import ibase.webitm.ejb.adm.AdmCommon;
......@@ -40,7 +42,10 @@ public class FullFinalUnConfirm extends ActionHandlerEJB implements FullFinalUnC
{
String retString = null;
GenericUtility genericUtility = GenericUtility.getInstance();
//Commented and Added by sarita on 17 MAY 2019 [START]
//GenericUtility genericUtility = GenericUtility.getInstance();
E12GenericUtility genericUtility = new E12GenericUtility();
//Commented and Added by sarita on 17 MAY 2019 [END]
try
{
retString = actionUnConfirm(tranId, xtraParams, forcedFlag);
......@@ -66,13 +71,19 @@ public class FullFinalUnConfirm extends ActionHandlerEJB implements FullFinalUnC
ResultSet rs = null;
int updCnt = 0;
java.sql.Date currDate = null;
ConnDriver connDriver = new ConnDriver();
//ConnDriver connDriver = new ConnDriver(); Commented by sarita on 17 MAY 2019
ITMDBAccessEJB itmDBAccessEJB = new ITMDBAccessEJB();
GenericUtility genericUtility = GenericUtility.getInstance();
// Commented and Added by sarita on 17 MAY 2019 [START]
//GenericUtility genericUtility = GenericUtility.getInstance();
E12GenericUtility genericUtility = new E12GenericUtility();
// Commented and Added by sarita on 17 MAY 2019 [END]
AdmCommon admCommon = new AdmCommon();
try
{
conn = connDriver.getConnectDB("DriverITM");
//Commented and Added by sarita to use getConnection instead connDriver on 17 MAY 2019 [START]
//conn = connDriver.getConnectDB("DriverITM");
conn = getConnection();
//Commented and Added by sarita to use getConnection instead connDriver on 17 MAY 2019 [END]
stmt = conn.createStatement();
System.out.println("Tran ID : "+ tranId);
sql = "SELECT CONFIRMED, EMP_CODE, IT_AMT, TOTAL_AMT FROM FULLFINAL_HDR WHERE TRAN_ID = ?";
......
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