private Connection createConnection() throws Exception {
    //Logger.global.info("Creating a new database connection in the pool.");
    Class.forName(DRIVER_NAME).newInstance();
    Connection conn = DriverManager.getConnection(DATABASE_URL, DATABASE_USERNAME, DATABASE_PASSWORD);
    conn.setAutoCommit(false);
    return conn;
  }//createConnection