code: public PooledConnection getPooledConnection(String user, String password) throws SQLException {
      return new MariaDbPooledConnection((MariaDbConnection) getConnection(user, password));
    }
docs: Attempts to establish a physical database connection that can be used as a pooled connection.
  
  @param user     the database user on whose behalf the connection is being made
  @param password the user's password
  @return a <code>PooledConnection</code> object that is a physical connection to the database
  that this
  <code>ConnectionPoolDataSource</code> object represents
  @throws SQLException if a database access error occurs