Commit a3212391 authored by prane's avatar prane

DriverITM is changed to getConnection()

git-svn-id: http://15.206.35.175/svn/proteus/business-java/trunk@175651 ce508802-f39f-4f6c-b175-0d175dae99d5
parent 951e3762
......@@ -155,7 +155,10 @@ public class MiscVoucherIC extends ValidatorEJB implements MiscVoucherICLocal, M
{
finCommon = new FinCommon();
validator = new ValidatorEJB();
conn = connDriver.getConnectDB("DriverITM");
//DriverITM changes to getConnction() by Pavan R
//conn = connDriver.getConnectDB("DriverITM");
conn = getConnection();
//End
SimpleDateFormat simpleDateFormat = new SimpleDateFormat(genericUtility.getApplDateFormat());
SimpleDateFormat dbDateFormat = new SimpleDateFormat(genericUtility.getDBDateFormat());
userId = getValueFromXTRA_PARAMS(xtraParams, "loginCode");
......@@ -2189,7 +2192,10 @@ public class MiscVoucherIC extends ValidatorEJB implements MiscVoucherICLocal, M
String bankName="";
try
{
conn = connDriver.getConnectDB("DriverITM");
//DriverITM changes to getConnction() by Pavan R
//conn = connDriver.getConnectDB("DriverITM");
conn = getConnection();
//End
conn.setAutoCommit(false);
connDriver = null;
finCommon = new FinCommon();
......
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