Activerecord-jdbc-adapter 0.9.1 (rails 2.2.2 + gf 0.9.3)



I just upgraded to the new jdbc adapter, but I stumbled upon two errors,
both seemingly related to the 0.9.1 version, as the 0.9 version doesn’t
exhibit them.

The first one is that I keep getting the error ‘uninitialized constant
ActiveRecord::VERSION’ mentioned here:;jsessionid=867d26613b3edeb4346ad8dbb7dd.kenprdsch01z1_8080?page=com.atlassian.jira.plugin.system.issuetabpanels%3Aall-tabpanel

I could solve this one by adding the following snippet in
environment.rb, as mentioned in this post:
if RUBY_PLATFORM =~ /java/
require ‘rubygems’
gem ‘activerecord-jdbc-adapter’, ‘0.9.1’
require ‘jdbc_adapter’

The second error I encounter is: “ActiveRecord::ActiveRecordError: The
conversion from ntext to BinaryStream is unsupported”. I get this error
after querying every table that has a ntext column. I am using SQL
Server 2005 with the rails-sqlserver-2000-2005-adapter 2.2.15

Is there anything known about this error? For now I will be sticking to
activerecord-jdbc-adapter 0.9, but I would like to upgrade at some