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 ...@@ -171,7 +171,8 @@ public class PoRcpArtIC extends ValidatorEJB implements PoRcpArtICRemote, PoRcpA
String childNodeName = "", stkOpt = "0"; String childNodeName = "", stkOpt = "0";
Node childNode =null; Node childNode =null;
ConnDriver connDriver = null; //Commented by Santosh on 14-06-2016
//ConnDriver connDriver = null;
String userId = "", asnReqd = "N"; String userId = "", asnReqd = "N";
DistCommon distComm = new DistCommon(); DistCommon distComm = new DistCommon();
...@@ -191,10 +192,12 @@ public class PoRcpArtIC extends ValidatorEJB implements PoRcpArtICRemote, PoRcpA ...@@ -191,10 +192,12 @@ public class PoRcpArtIC extends ValidatorEJB implements PoRcpArtICRemote, PoRcpA
String objName = ""; String objName = "";
try try
{ {
//Changed and Commented By Santosh on 14-06-2016 :[START]
connDriver = new ConnDriver(); /*connDriver = new ConnDriver();
conn = connDriver.getConnectDB("DriverValidator"); conn = connDriver.getConnectDB("DriverValidator");
connDriver = null; connDriver = null;*/
conn = getConnection();
//Changed and Commented By Santosh on 14-06-2016 :[END]
p = appConnect.getProperty(); p = appConnect.getProperty();
SimpleDateFormat sdf1 = new SimpleDateFormat(genericUtility.getApplDateFormat()); SimpleDateFormat sdf1 = new SimpleDateFormat(genericUtility.getApplDateFormat());
...@@ -1887,10 +1890,12 @@ private String disParmValue( Connection conn , String disparmVar ) throws ITMExc ...@@ -1887,10 +1890,12 @@ private String disParmValue( Connection conn , String disparmVar ) throws ITMExc
String applDateFormat = genericUtility.getApplDateFormat(); String applDateFormat = genericUtility.getApplDateFormat();
DateFormat dateFormat = new SimpleDateFormat(applDateFormat); DateFormat dateFormat = new SimpleDateFormat(applDateFormat);
ConnDriver connDriver = null; //Changed and Commented By Santosh on 14-06-2016 :[START]
/*ConnDriver connDriver = null;
connDriver = new ConnDriver(); 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 ) 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