Commit d038cb00 authored by ssalve's avatar ssalve

Sarita: Done changes for getConnection("DriverITM") to getConnection() on 28DEC2017

git-svn-id: http://15.206.35.175/svn/proteus/business-java/trunk@177341 ce508802-f39f-4f6c-b175-0d175dae99d5
parent be7a121f
......@@ -122,12 +122,13 @@ public class PorderClosePrc extends ProcessEJB implements PorderClosePrcLocal,
// Driver connection
try {
ConnDriver connDriver = new ConnDriver();
//changes by sarita on 28DEC2017 to use getConnection
/*ConnDriver connDriver = new ConnDriver();
conn = connDriver.getConnectDB("DriverITM");
//conn = getConnection();
conn.setAutoCommit(false);
connDriver = null;
connDriver = null;*/
conn = getConnection();
} catch (Exception e) {
System.out.println("Exception :PorderClosePrcEJB :ejbCreate :==>"
+ e);
......@@ -516,13 +517,13 @@ public class PorderClosePrc extends ProcessEJB implements PorderClosePrcLocal,
Connection conn = null;
String userId = "";
try {
ConnDriver connDriver = new ConnDriver();
conn = connDriver.getConnectDB("DriverITM");
//conn = getConnection();
//uncommented by sarita on 28DEC2017
/*ConnDriver connDriver = new ConnDriver();
conn = connDriver.getConnectDB("DriverITM");*/
conn = getConnection();
conn.setAutoCommit(false);
connDriver = null;
//connDriver = null;
// String benefitType="";
// java.sql.Date reqDate = null;
sdf = new SimpleDateFormat(genericUtility.getApplDateFormat());
......
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