modify database driver for jruby