Commit 5ebe1c51 authored by ssalve's avatar ssalve

Sarita: Done changed for genericUtility to E12GenericUtility and getConnection on 09MARCH2018

git-svn-id: http://15.206.35.175/svn/proteus/business-java/trunk@181793 ce508802-f39f-4f6c-b175-0d175dae99d5
parent e29d5a1a
package ibase.webitm.ejb.fin;
import ibase.system.config.ConnDriver;
//import ibase.utility.E12GenericUtility;
import ibase.utility.E12GenericUtility;
import ibase.webitm.ejb.ValidatorEJB;
import ibase.webitm.ejb.fin.FinCommon;
import ibase.webitm.utility.ITMException;
......@@ -10,7 +10,7 @@ import java.sql.PreparedStatement;
import java.sql.ResultSet;
import java.text.SimpleDateFormat;
import java.util.ArrayList;
import ibase.webitm.utility.GenericUtility;
//import ibase.webitm.utility.GenericUtility;
import javax.ejb.Stateless;
import org.w3c.dom.CDATASection;
......@@ -22,8 +22,9 @@ import org.w3c.dom.NodeList;
public class BankIC extends ValidatorEJB implements BankICRemote, BankICLocal
{
//changes and commented by sarita on 01/06/2017
//E12GenericUtility genericUtility = new E12GenericUtility();
GenericUtility genericUtility = GenericUtility.getInstance();
//changed by sarita on 09MAR2018
E12GenericUtility genericUtility = new E12GenericUtility();
//GenericUtility genericUtility = GenericUtility.getInstance();
FinCommon finCommon = new FinCommon();
public String wfValData(String xmlString, String xmlString1, String xmlString2, String objContext, String editFlag, String xtraParams) throws RemoteException,ITMException
......@@ -65,8 +66,9 @@ public class BankIC extends ValidatorEJB implements BankICRemote, BankICLocal
public String wfValData(Document dom, Document dom1, Document dom2, String objContext, String editFlag, String xtraParams) throws RemoteException,ITMException
{
//changes and commented by sarita on 01/06/2017
//E12GenericUtility genericUtility = new E12GenericUtility();
GenericUtility genericUtility = GenericUtility.getInstance();
//changed by sarita on 09MARCH2018
E12GenericUtility genericUtility = new E12GenericUtility();
//GenericUtility genericUtility = GenericUtility.getInstance();
int childNodeLength = 0;
int currentFormNo=0;
int ctr=0,cnt=0;
......@@ -95,11 +97,12 @@ public class BankIC extends ValidatorEJB implements BankICRemote, BankICLocal
try
{
//changes and commented by sarita for DBConnection on 01/06/2017 :START
//conn = getConnection();
connDriver = new ConnDriver();
//changed by sarita on 09MARCH2018
conn = getConnection();
/*connDriver = new ConnDriver();
conn = connDriver.getConnectDB("DriverITM");
conn.setAutoCommit(false);
connDriver = null;
connDriver = null;*/
//changes and commented by sarita for DBConnection on 01/06/2017 :END
userId = genericUtility.getValueFromXTRA_PARAMS(xtraParams, "loginCode");
......@@ -612,11 +615,12 @@ public class BankIC extends ValidatorEJB implements BankICRemote, BankICLocal
try
{
//changes and commented by sarita for DBConnection on 01/06/2017 :START
//conn = getConnection();
connDriver = new ConnDriver();
//changed by sarita on 09MARCH2018
conn = getConnection();
/*connDriver = new ConnDriver();
conn = connDriver.getConnectDB("DriverITM");
conn.setAutoCommit(false);
connDriver = null;
connDriver = null;*/
//changes and commented by sarita for DBConnection on 01/06/2017 :END
sdf = new SimpleDateFormat(genericUtility.getApplDateFormat());
if(objContext != null && objContext.trim().length()>0)
......
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