for https://github.com/jruby/activerecord-jdbc-adapter/issues/457