Commit 3d377e58 authored by kdabholkar's avatar kdabholkar

commit new changes regarding connection

git-svn-id: http://15.206.35.175/svn/proteus/business-java/trunk@182771 ce508802-f39f-4f6c-b175-0d175dae99d5
parent 640996d7
......@@ -108,7 +108,7 @@ public class GstDataPrc extends ProcessEJB implements GstDataPrcLocal,GstDataPrc
//Connection connGST = null,connLocal = null;
ConnDriver connDriverGST = null,connDriverLocal = null;
//ConnDriver connDriverGST = null,connDriverLocal = null;
PreparedStatement pstmt = null,pstmtInsHdr = null,pstmtInsDet = null, pstmtSelHdr = null,pstmtSelDet = null;
ResultSet rs = null, rsSelHdr= null, rsSelDet = null;
......@@ -137,11 +137,11 @@ public class GstDataPrc extends ProcessEJB implements GstDataPrcLocal,GstDataPrc
long startTime = System.currentTimeMillis();
System.out.println("START TIME FOR GST DATA POPULATION PROCESS IN SECONDS:::["+startTime/1000+"]");
// connGST = getConnection();
connDriverGST = new ConnDriver();
connGST = getConnection();
/*connDriverGST = new ConnDriver();
connGST = connDriverGST.getConnectDB("DriverITM"); //will be changed as DriverITM as using stddbtest database for testing temporary
connGST.setAutoCommit(false);
connDriverGST = null;
connDriverGST = null;*/
/*connDriverLocal = new ConnDriver();
connLocal = connDriverLocal.getConnectDB("DriverITM");
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