Commit 9c82b58f authored by kshinde's avatar kshinde

git-svn-id: http://15.206.35.175/svn/proteus/business-java/trunk@184668 ce508802-f39f-4f6c-b175-0d175dae99d5
parent d55533e2
......@@ -132,10 +132,11 @@ public class BankRecoWizIC extends ValidatorEJB implements BankRecoWizICLocal, B
try
{
ConnDriver connDriver = new ConnDriver();
conn = connDriver.getConnectDB("DriverITM");
conn.setAutoCommit(false);
connDriver = null;
// ConnDriver connDriver = new ConnDriver();
// conn = connDriver.getConnectDB("DriverITM");
// conn.setAutoCommit(false);
conn=getConnection();
//connDriver = null;
userId = getValueFromXTRA_PARAMS(xtraParams, "loginCode");
// genericUtility = GenericUtility.getInstance();
simpleDateFormat = new SimpleDateFormat(genericUtility.getApplDateFormat());
......@@ -2888,7 +2889,7 @@ public class BankRecoWizIC extends ValidatorEJB implements BankRecoWizICLocal, B
}
public String getFilterData(String xmlString)throws ITMException
public String getFilterData(String xmlString,String transDB)throws ITMException
{
Document dom = null, dom1 = null;
System.out.println("getFilterData!!!!!!!!!.......");
......@@ -2920,9 +2921,18 @@ public class BankRecoWizIC extends ValidatorEJB implements BankRecoWizICLocal, B
SimpleDateFormat sdf = new SimpleDateFormat(genericUtility.getDBDateFormat());
SimpleDateFormat sdf1 = new SimpleDateFormat("dd-MMM-yy");
System.out.println("called getFilterData.=================.");
conn = connDriver.getConnectDB("DriverITM");
/*conn = connDriver.getConnectDB("DriverITM");
conn.setAutoCommit(false);
connDriver = null;*/
if (transDB != null && transDB.trim().length() > 0)
{
conn = connDriver.getConnectDB(transDB);
connDriver = null;
}
else
{
conn=getConnection();
}
String refId="",refSer="";
System.out.println("xmlString :"+xmlString);
dom = genericUtility.parseString(xmlString);
......@@ -4164,8 +4174,9 @@ public class BankRecoWizIC extends ValidatorEJB implements BankRecoWizICLocal, B
try
{
ConnDriver connDriver = new ConnDriver();
/*ConnDriver connDriver = new ConnDriver();
conn1 = connDriver.getConnectDB("DriverITM");
*/ conn1=getConnection();
//if("customer".equalsIgnoreCase(sundryType))
sql = "select bank_code,bank_name from bank where bank_code like '"+keyString+"%' ";
/*else if("supplier".equalsIgnoreCase(sundryType))
......
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