class AdvancedJdbcPooledConnection extends JdbcPooledConnectionImpl {

  @Override
  public boolean equals(Object ajpc) {
    if (ajpc == null) 
      return false;
    
    if (ajpc == this) 
      return true;
    
    if (ajpc instanceof AdvancedJdbcPooledConnection) {
      AdvancedJdbcPooledConnection conn = (AdvancedJdbcPooledConnection) ajpc;
      
      return new EqualsBuilder()
          .append(conn.getConnectUrl(), this.getConnectUrl())
          .append(conn.getDriverImp(), this.getDriverImp())
          .append(conn.getAlwaysValidateConnection(), this.getAlwaysValidateConnection())
          .append(conn.getDebugMode(), this.getDebugMode())
          .append(conn.getTestStatement(), this.getTestStatement())
          .append(conn.getAutoCommit(), this.getAutoCommit())
          .append(conn.getConnectionProperties(), this.getConnectionProperties())
          .append(conn.getConnectionPoolProperties(), this.getConnectionPoolProperties())
          .isEquals();
    }
    return false;
  }

  public  AdvancedJdbcPooledConnection();

}