Commit 15f3e60d authored by manohar's avatar manohar

bug fixing


git-svn-id: http://15.206.35.175/svn/proteus/business-java/trunk@91260 ce508802-f39f-4f6c-b175-0d175dae99d5
parent a53554fb
...@@ -77,6 +77,7 @@ public class TaxCalculate extends ProcessEJB implements TaxCalculateLocal, TaxCa ...@@ -77,6 +77,7 @@ public class TaxCalculate extends ProcessEJB implements TaxCalculateLocal, TaxCa
boolean isError = false; boolean isError = false;
String resultString = null; String resultString = null;
//ITMDBAccess itmDBAccess = null; for ejb3 //ITMDBAccess itmDBAccess = null; for ejb3
ConnDriver connDriver = new ConnDriver();
ITMDBAccessLocal itmDBAccess = null ; ITMDBAccessLocal itmDBAccess = null ;
Connection conn = null; Connection conn = null;
System.out.println("tabSepDataString :"+tabSepDataString); System.out.println("tabSepDataString :"+tabSepDataString);
...@@ -87,11 +88,16 @@ public class TaxCalculate extends ProcessEJB implements TaxCalculateLocal, TaxCa ...@@ -87,11 +88,16 @@ public class TaxCalculate extends ProcessEJB implements TaxCalculateLocal, TaxCa
try try
{ {
initialize(); initialize();
itmDBAccess = getITMAccess(); //itmDBAccess = getITMAccess();
chgUser = this.genericUtility.getValueFromXTRA_PARAMS(xtraParams, "loginCode"); chgUser = this.genericUtility.getValueFromXTRA_PARAMS(xtraParams, "loginCode");
chgTerm = this.genericUtility.getValueFromXTRA_PARAMS(xtraParams, "termId"); chgTerm = this.genericUtility.getValueFromXTRA_PARAMS(xtraParams, "termId");
conn = itmDBAccess.getConnection();//This function is to connect with oracle.... // 16/03/10 manoharan
//conn = itmDBAccess.getConnection();//This function is to connect with oracle....
//conn.setAutoCommit(false);
conn = connDriver.getConnectDB("DriverITM");
conn.setAutoCommit(false); conn.setAutoCommit(false);
connDriver=null;
// end 16/03/10 manoharan
// 08-11-2006 manoharan read the metadata from file // 08-11-2006 manoharan read the metadata from file
//populateMetadata(tabSepFilterString); //populateMetadata(tabSepFilterString);
//System.out.println("windowName :"+windowName); //System.out.println("windowName :"+windowName);
......
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