JRuby support for mysql

Add jruby support for mysql adapter