Commit c0a2ba32 authored by steurwadkar's avatar steurwadkar

Changed by Manish on 05/07/16 for get connection.


git-svn-id: http://15.206.35.175/svn/proteus/business-java/trunk@102322 ce508802-f39f-4f6c-b175-0d175dae99d5
parent e6d7d6ce
......@@ -171,7 +171,8 @@ public class PoRcpArtIC extends ValidatorEJB implements PoRcpArtICRemote, PoRcpA
String childNodeName = "", stkOpt = "0";
Node childNode =null;
ConnDriver connDriver = null;
//Commented by Santosh on 14-06-2016
//ConnDriver connDriver = null;
String userId = "", asnReqd = "N";
DistCommon distComm = new DistCommon();
......@@ -191,10 +192,12 @@ public class PoRcpArtIC extends ValidatorEJB implements PoRcpArtICRemote, PoRcpA
String objName = "";
try
{
connDriver = new ConnDriver();
//Changed and Commented By Santosh on 14-06-2016 :[START]
/*connDriver = new ConnDriver();
conn = connDriver.getConnectDB("DriverValidator");
connDriver = null;
connDriver = null;*/
conn = getConnection();
//Changed and Commented By Santosh on 14-06-2016 :[END]
p = appConnect.getProperty();
SimpleDateFormat sdf1 = new SimpleDateFormat(genericUtility.getApplDateFormat());
......@@ -1886,11 +1889,13 @@ private String disParmValue( Connection conn , String disparmVar ) throws ITMExc
String dbDateFormat = genericUtility.getDBDateFormat();
String applDateFormat = genericUtility.getApplDateFormat();
DateFormat dateFormat = new SimpleDateFormat(applDateFormat);
ConnDriver connDriver = null;
//Changed and Commented By Santosh on 14-06-2016 :[START]
/*ConnDriver connDriver = null;
connDriver = new ConnDriver();
conn = connDriver.getConnectDB("DriverValidator");
conn = connDriver.getConnectDB("DriverValidator");*/
conn = getConnection();
//Changed and Commented By Santosh on 14-06-2016 :[END]
if( objContext != null && objContext.trim().length() > 0 )
{
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