Commit cb5a018b authored by prane's avatar prane

getConnection() is updated from DriverITM


git-svn-id: http://15.206.35.175/svn/proteus/business-java/trunk@175485 ce508802-f39f-4f6c-b175-0d175dae99d5
parent 527b60b0
......@@ -139,7 +139,8 @@ public class DispatchIC extends ValidatorEJB implements DispatchICLocal,Dispatch
ld_alloc_date = sysDateTm;
conn = connDriver.getConnectDB("DriverITM");
//conn = connDriver.getConnectDB("DriverITM");
conn = getConnection() ;
connDriver = null;
userId = getValueFromXTRA_PARAMS(xtraParams, "loginCode");
if (objContext != null && objContext.trim().length() > 0) {
......@@ -3244,7 +3245,8 @@ public class DispatchIC extends ValidatorEJB implements DispatchICLocal,Dispatch
System.out.println("Now the date with time :=> [" + sysDate1+"]");
conn = connDriver.getConnectDB("DriverITM");
//conn = connDriver.getConnectDB("DriverITM");
conn = getConnection() ;
conn.setAutoCommit(false);
connDriver = null;
......
......@@ -3998,7 +3998,8 @@ public class SalesOrderIC extends ValidatorEJB implements SalesOrderICLocal, Sal
Timestamp ldDueDate = null;
try
{
conn = connDriver.getConnectDB("DriverITM");
//conn = connDriver.getConnectDB("DriverITM");
conn = getConnection() ;
conn.setAutoCommit(false);
connDriver = null;
if (objContext != null && objContext.trim().length() > 0)
......@@ -7813,7 +7814,8 @@ public class SalesOrderIC extends ValidatorEJB implements SalesOrderICLocal, Sal
Timestamp ldDueDate = null;
try
{
conn = connDriver.getConnectDB("DriverITM");
//conn = connDriver.getConnectDB("DriverITM");
conn = getConnection() ;
conn.setAutoCommit(false);
connDriver = null;
if (objContext != null && objContext.trim().length() > 0)
......@@ -13891,7 +13893,8 @@ public class SalesOrderIC extends ValidatorEJB implements SalesOrderICLocal, Sal
long schCnt = 0;
try
{
conn = connDriver.getConnectDB("DriverITM");
//conn = connDriver.getConnectDB("DriverITM");
conn = getConnection() ;
if (orderType == null)
{
orderType = "";
......
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