class PluggableJdbcPooledConnection extends JdbcPooledConnectionImpl {

  @Override
  public boolean equals(Object other) {
    if (other == null)
      return false;

    if (other == this)
      return true;

    if (other instanceof PluggableJdbcPooledConnection) {
      PluggableJdbcPooledConnection conn = (PluggableJdbcPooledConnection) other;

      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.getBuilder(), this.getBuilder()).append(conn.getPoolProperties(), this.getPoolProperties()).isEquals();
    }
    return false;
  }

  public  PluggableJdbcPooledConnection();

}