Commit ce31e8f9 authored by prane's avatar prane

DriverITM is changed to getConnection()

git-svn-id: http://15.206.35.175/svn/proteus/business-java/trunk@175515 ce508802-f39f-4f6c-b175-0d175dae99d5
parent be8b0e35
...@@ -30,7 +30,7 @@ public class IndentReqConfWF ...@@ -30,7 +30,7 @@ public class IndentReqConfWF
PreparedStatement pstmt = null; PreparedStatement pstmt = null;
ResultSet rs = null; ResultSet rs = null;
String sql = ""; String sql = "";
ConnDriver connDriver = new ConnDriver(); //ConnDriver connDriver = new ConnDriver();
E12GenericUtility genericUtility = null; E12GenericUtility genericUtility = null;
if("C".equalsIgnoreCase(keyFlag) || "R".equalsIgnoreCase(keyFlag)){ if("C".equalsIgnoreCase(keyFlag) || "R".equalsIgnoreCase(keyFlag)){
...@@ -38,7 +38,8 @@ public class IndentReqConfWF ...@@ -38,7 +38,8 @@ public class IndentReqConfWF
} }
else{ else{
try { try {
conn = connDriver.getConnectDB("DriverITM"); //conn = connDriver.getConnectDB("DriverITM");
conn = getConnection();
connDriver = null; connDriver = null;
conn.setAutoCommit(false); conn.setAutoCommit(false);
empCodeAprv = empCodeAprv == null ? "" : empCodeAprv.trim(); empCodeAprv = empCodeAprv == null ? "" : empCodeAprv.trim();
......
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