Commit d2a96ce1 authored by ssalve's avatar ssalve

Sarita : done changes to add getConnection instead getConnectionDB("DriverITM") on 27DEC2017

git-svn-id: http://15.206.35.175/svn/proteus/business-java/trunk@177269 ce508802-f39f-4f6c-b175-0d175dae99d5
parent e3ed3939
...@@ -86,10 +86,12 @@ public class PhysicalCountPrcIC extends ValidatorEJB implements PhysicalCountPrc ...@@ -86,10 +86,12 @@ public class PhysicalCountPrcIC extends ValidatorEJB implements PhysicalCountPrc
{ {
Calendar currentDate = Calendar.getInstance(); Calendar currentDate = Calendar.getInstance();
SimpleDateFormat sdf = new SimpleDateFormat(genericUtility.getApplDateFormat()); SimpleDateFormat sdf = new SimpleDateFormat(genericUtility.getApplDateFormat());
String sysDate = sdf.format(currentDate.getTime()); String sysDate = sdf.format(currentDate.getTime());
conn = connDriver.getConnectDB("DriverITM"); //Added and replace by sarita on 27DEC2017
/*conn = connDriver.getConnectDB("DriverITM");
conn.setAutoCommit(false); conn.setAutoCommit(false);
connDriver = null; connDriver = null;*/
conn = getConnection();
if(objContext != null && objContext.trim().length()>0) if(objContext != null && objContext.trim().length()>0)
{ {
......
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