Commit 430841ba authored by jshaikh's avatar jshaikh

Connection related changes in Attd Day Detail and IT declaration Multi

git-svn-id: http://15.206.35.175/svn/proteus/business-java/trunk@198809 ce508802-f39f-4f6c-b175-0d175dae99d5
parent 1bcb1301
......@@ -94,10 +94,14 @@ public class AttdDayDetEJB extends ValidatorEJB implements AttdDayDetEJBRemote,
try
{
valueXmlString = new StringBuffer();
//------Commented & changes made by Jaffar S on 26-03-2019 [Start]
//genericUtility = GenericUtility.getInstance();
ConnDriver connDriver = new ConnDriver();
/*ConnDriver connDriver = new ConnDriver();
conn = connDriver.getConnectDB("DriverITM");
conn.setAutoCommit(false);
conn.setAutoCommit(false);*/
conn = getConnection();
//------Commented & changes made by Jaffar S on 26-03-2019 [End]
valueXmlString = new StringBuffer(
"<?xml version=\"1.0\"?><Root><header><editFlag>");
......@@ -322,9 +326,13 @@ public class AttdDayDetEJB extends ValidatorEJB implements AttdDayDetEJBRemote,
try
{
ConnDriver connDriver = new ConnDriver();
//------Commented & changes made by Jaffar S on 26-03-2019 [Start]
/*ConnDriver connDriver = new ConnDriver();
conn = connDriver.getConnectDB("DriverITM");
conn.setAutoCommit(false);
conn.setAutoCommit(false);*/
conn = getConnection();
//------Commented & changes made by Jaffar S on 26-03-2019 [End]
userId = genericUtility.getValueFromXTRA_PARAMS(xtraParams, "loginCode");
simpleDateTimeFormat = new SimpleDateFormat("hh:mm");
......
......@@ -130,8 +130,11 @@ public class EmpITDeclMultiPrc extends ProcessEJB implements EmpITDeclMultiPrcLo
HashMap empAllDednMap = new HashMap();
try
{
ConnDriver connDriver = new ConnDriver();
conn = connDriver.getConnectDB("DriverITM");
//------Commented and changed by Jaffer S on 26th March 2019 [Start]
/*ConnDriver connDriver = new ConnDriver();
conn = connDriver.getConnectDB("DriverITM");*/
conn = getConnection();
//------Commented and changed by Jaffer S on 26th March 2019 [End]
}
catch (Exception e)
{
......@@ -473,9 +476,12 @@ public class EmpITDeclMultiPrc extends ProcessEJB implements EmpITDeclMultiPrcLo
{
try
{
ConnDriver connDriver = new ConnDriver();
//------Commented and changed by Jaffer S on 26th March 2019 [Start]
/*ConnDriver connDriver = new ConnDriver();
conn = connDriver.getConnectDB("DriverITM");
conn.setAutoCommit(false);
conn.setAutoCommit(false);*/
conn = getConnection();
//------Commented and changed by Jaffer S on 26th March 2019 [End]
chgUser = genericUtility.getValueFromXTRA_PARAMS(xtraParams, "loginCode");
chgTerm = genericUtility.getValueFromXTRA_PARAMS(xtraParams, "termId");
......
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