Commit b36bd2ab authored by agaikwad's avatar agaikwad

Merge updated code

git-svn-id: http://15.206.35.175/svn/proteus/business-java/trunk@139922 ce508802-f39f-4f6c-b175-0d175dae99d5
parent 44a3b8fa
...@@ -57,7 +57,7 @@ public class RcpAdvTaxCalulationProIC extends ValidatorEJB implements RcpAdvTaxC ...@@ -57,7 +57,7 @@ public class RcpAdvTaxCalulationProIC extends ValidatorEJB implements RcpAdvTaxC
PreparedStatement pstmt = null; PreparedStatement pstmt = null;
ResultSet rs = null; ResultSet rs = null;
String sql=""; String sql="";
ConnDriver connDriver = new ConnDriver(); ConnDriver connDriver = null;
java.util.Date currDate = new java.util.Date(System.currentTimeMillis()); java.util.Date currDate = new java.util.Date(System.currentTimeMillis());
String dateStr = ""; String dateStr = "";
String descr = "",currcode = "",currdescr=""; String descr = "",currcode = "",currdescr="";
...@@ -68,6 +68,10 @@ public class RcpAdvTaxCalulationProIC extends ValidatorEJB implements RcpAdvTaxC ...@@ -68,6 +68,10 @@ public class RcpAdvTaxCalulationProIC extends ValidatorEJB implements RcpAdvTaxC
E12GenericUtility genericUtility = new E12GenericUtility(); E12GenericUtility genericUtility = new E12GenericUtility();
try{ try{
conn = getConnection(); conn = getConnection();
/*connDriver = new ConnDriver();
conn = connDriver.getConnectDB("DriverITM");
conn.setAutoCommit(false);
connDriver = null;*/
connDriver = null; connDriver = null;
FinCommon finCommon = new FinCommon(); FinCommon finCommon = new FinCommon();
SimpleDateFormat sdf = new SimpleDateFormat(genericUtility.getApplDateFormat()); SimpleDateFormat sdf = new SimpleDateFormat(genericUtility.getApplDateFormat());
......
...@@ -82,6 +82,7 @@ public class RcpAdvTaxcalcConf extends ActionHandlerEJB implements RcpAdvTaxcalc ...@@ -82,6 +82,7 @@ public class RcpAdvTaxcalcConf extends ActionHandlerEJB implements RcpAdvTaxcalc
{ {
connDriver = new ConnDriver(); connDriver = new ConnDriver();
//conn = connDriver.getConnectDB("DriverITM"); //conn = connDriver.getConnectDB("DriverITM");
conn = getConnection(); conn = getConnection();
System.out.println("Connection[" + conn + "]"); System.out.println("Connection[" + conn + "]");
connDriver = null; connDriver = null;
......
...@@ -94,10 +94,15 @@ public class RcpAdvTaxcalcIC extends ValidatorEJB ...@@ -94,10 +94,15 @@ public class RcpAdvTaxcalcIC extends ValidatorEJB
ResultSet rs = null; ResultSet rs = null;
E12GenericUtility genericUtility = new E12GenericUtility(); E12GenericUtility genericUtility = new E12GenericUtility();
StringBuffer errStringXml = new StringBuffer("<?xml version = \"1.0\"?> \r\n <Root> <Errors>"); StringBuffer errStringXml = new StringBuffer("<?xml version = \"1.0\"?> \r\n <Root> <Errors>");
ConnDriver connDriver =null;
try try
{ {
conn = getConnection(); conn = getConnection();
/* connDriver = new ConnDriver();
conn = connDriver.getConnectDB("DriverITM");
conn.setAutoCommit(false);
connDriver = null;*/
userId = getValueFromXTRA_PARAMS(xtraParams, "loginCode"); userId = getValueFromXTRA_PARAMS(xtraParams, "loginCode");
if(objContext != null && objContext.trim().length() > 0) if(objContext != null && objContext.trim().length() > 0)
{ {
...@@ -660,6 +665,7 @@ public class RcpAdvTaxcalcIC extends ValidatorEJB ...@@ -660,6 +665,7 @@ public class RcpAdvTaxcalcIC extends ValidatorEJB
PreparedStatement pstmt = null; PreparedStatement pstmt = null;
ResultSet rs = null ; ResultSet rs = null ;
E12GenericUtility genericUtility = new E12GenericUtility(); E12GenericUtility genericUtility = new E12GenericUtility();
ConnDriver connDriver =null;
//Added //Added
System.out.println("Dom"+dom); System.out.println("Dom"+dom);
System.out.println( "dom1"+dom1); System.out.println( "dom1"+dom1);
...@@ -669,6 +675,11 @@ public class RcpAdvTaxcalcIC extends ValidatorEJB ...@@ -669,6 +675,11 @@ public class RcpAdvTaxcalcIC extends ValidatorEJB
{ {
conn = getConnection(); conn = getConnection();
/*connDriver = new ConnDriver();
conn = connDriver.getConnectDB("DriverITM");
conn.setAutoCommit(false);
connDriver = null;*/
this.finCommon = new FinCommon(); this.finCommon = new FinCommon();
if ((objContext != null) && (objContext.trim().length() > 0)) 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