I am working on JRuby on Rails Application having JRuby-1.6.7 and Rails 3.2.2
I have mysql database. I was trying for database adapter.
I used mysql2 and jdbcmysql database adapter. Both are working.
But if I do not access application for some time and after that when I access it, it gives error as follows
undefined method `explain' for #<ActiveRecord::ConnectionAdapters::MySQLAdapter:0x1139ba37>
Which database adapter I should prefer ? Will my aaplication work fine after deployment ?