I am seeing an odd problem here. I upgraded to Rails 3.0.3 and all of
the sudden the arjdbc gem isn’t selecting the correct adapter code
anymore… I’m using DB2 and it’s using the generic jdbc adapter instead
of the db2 adapter. A symptom of which is “LIMIT” being used (generic
jdbc) instead of “FETCH FIRST ROW ONLY” (db2/adapter.rb).
I’ve verified this with a new Rails 3.0.3 app… generic jdbc is used.
Switched Rails to 3.0.0 in Gemfile, bundle install’ed and volla
adapter/db2.rb is correctly being used again.
It would be great if you can help get DB2 green again on 3.0.3. I
tried to port the logic from the add_limit_offset! function, but
apparently wasn’t quite succesful.
/Nick
This forum is not affiliated to the Ruby language, Ruby on Rails framework, nor any Ruby applications discussed here.