コード例 #1
0
 protected void myInitPool() throws SQLException {
   try {
     Class.forName(getDriverName());
   } catch (ClassNotFoundException ex) {
     throw new SQLException("Driver Class Not Found", ex.toString());
   }
   pHelper = new PoolHelper(getJdbcURL(), getUserId(), getUserPwd(), maxLimit);
   pHelper.initPoolConnection();
 }
コード例 #2
0
 protected void myDestroyPool() throws SQLException {
   pHelper.destroyPoolConnection();
 }
コード例 #3
0
 public void freeConnection(Connection conn) throws SQLException {
   pHelper.freeConnection(conn);
 }
コード例 #4
0
 public Connection getConnection() throws SQLException {
   return pHelper.getConnection();
 }