Fixed superclass mismatch error with activerecord-jdbcpostgresql-adapter.