Commit 09772e87 authored by prane's avatar prane

git-svn-id: http://15.206.35.175/svn/proteus/business-java/trunk@175534 ce508802-f39f-4f6c-b175-0d175dae99d5
parent 6280dc12
...@@ -64,8 +64,9 @@ public class CustStockGWTConf extends ActionHandlerEJB implements CustStockGWTCo ...@@ -64,8 +64,9 @@ public class CustStockGWTConf extends ActionHandlerEJB implements CustStockGWTCo
currDate = java.sql.Timestamp.valueOf(sdf1.format(new java.util.Date()).toString() + " 00:00:00.0"); currDate = java.sql.Timestamp.valueOf(sdf1.format(new java.util.Date()).toString() + " 00:00:00.0");
System.out.println("currDate>>>>"+currDate); System.out.println("currDate>>>>"+currDate);
ConnDriver connDriver = null; ConnDriver connDriver = null;
connDriver = new ConnDriver(); //connDriver = new ConnDriver();
conn = connDriver.getConnectDB("DriverITM"); //conn = connDriver.getConnectDB("DriverITM");
conn = getConnection();
conn.setAutoCommit(false); conn.setAutoCommit(false);
sql="select emp_code from users where code=? "; sql="select emp_code from users where code=? ";
...@@ -395,8 +396,9 @@ public class CustStockGWTConf extends ActionHandlerEJB implements CustStockGWTCo ...@@ -395,8 +396,9 @@ public class CustStockGWTConf extends ActionHandlerEJB implements CustStockGWTCo
{ {
ConnDriver connDriver = null; ConnDriver connDriver = null;
connDriver = new ConnDriver(); //connDriver = new ConnDriver();
conn = connDriver.getConnectDB("DriverITM"); //conn = connDriver.getConnectDB("DriverITM");
conn = getConnection();
conn.setAutoCommit(false); conn.setAutoCommit(false);
if (tranId != null && tranId.trim().length() > 0) if (tranId != null && tranId.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