I fixed this in my fork: http://github.com/lackac/activerecord-jdbc-adapter/commit/39dc2a938320f16ac883375f7bffe4164bef67df
Applied in 911ccee, thanks.
I fixed this in my fork: http://github.com/lackac/activerecord-jdbc-adapter/commit/39dc2a938320f16ac883375f7bffe4164bef67df