Commit b2710617 authored by ssalve's avatar ssalve

Sarita: Done changes for Arihant [Data or Application Error Issue No. 404] on 26 JULY 18

git-svn-id: http://15.206.35.175/svn/proteus/business-java/trunk@188199 ce508802-f39f-4f6c-b175-0d175dae99d5
parent 239167db
...@@ -88,7 +88,10 @@ public class ProjectIC extends ValidatorEJB implements ProjectICLocal, ProjectIC ...@@ -88,7 +88,10 @@ public class ProjectIC extends ValidatorEJB implements ProjectICLocal, ProjectIC
System.out.println("editFlag="+editFlag); System.out.println("editFlag="+editFlag);
try try
{ {
conn = connDriver.getConnectDB("DriverITM"); //Done changes for Arihant Issue No.404 [Getting Date or Application Error] on 26 JULY 18 [START]
//conn = connDriver.getConnectDB("DriverITM");
conn = getConnection();
//Done changes for Arihant Issue No.404 [Getting Date or Application Error] on 26 JULY 18 [END]
userId = getValueFromXTRA_PARAMS(xtraParams, "loginCode"); userId = getValueFromXTRA_PARAMS(xtraParams, "loginCode");
if(objContext != null && objContext.trim().length() > 0) if(objContext != null && objContext.trim().length() > 0)
{ {
...@@ -418,10 +421,13 @@ public class ProjectIC extends ValidatorEJB implements ProjectICLocal, ProjectIC ...@@ -418,10 +421,13 @@ public class ProjectIC extends ValidatorEJB implements ProjectICLocal, ProjectIC
GenericUtility genericUtility = GenericUtility.getInstance(); GenericUtility genericUtility = GenericUtility.getInstance();
ConnDriver connDriver = new ConnDriver(); ConnDriver connDriver = new ConnDriver();
try try
{ {
conn = connDriver.getConnectDB("DriverITM"); //Done changes for Arihant Issue No.404 [Getting Date or Application Error] on 26 JULY 18 [START]
/*conn = connDriver.getConnectDB("DriverITM");
conn.setAutoCommit(false); conn.setAutoCommit(false);
connDriver = null; connDriver = null;*/
conn = getConnection();
//Done changes for Arihant Issue No.404 [Getting Date or Application Error] on 26 JULY 18 [END]
if(objContext != null && objContext.trim().length() > 0) if(objContext != null && objContext.trim().length() > 0)
{ {
currentFormNo = Integer.parseInt(objContext); currentFormNo = Integer.parseInt(objContext);
......
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