I just tried jruby with an app we have going against a MSSQLServer database. Got this error -
The driver encounter an error: unable to choose type from: [[“bit”, {“nullable”=>1, “numprecradix”=>nil,
“localtypename”=>”bit”, ...] for date
Looks like it is choking on a date field.
I worked around this by making changes to jdbc_adapter.rb in the methods choose_best_types and choose_type.
But now I am getting the following error -
undefined method `select_all' for #<ActiveRecord::ConnectionAdapters::JdbcConnection:0x1e481c1 ....
Any help appreciated.
Thanks.
|