Forum: JRuby activerecord-jdbc-adapter 0.9.1 (rails 2.2.2 + gf 0.9.3)

Announcement (2017-05-07): is now read-only since I unfortunately do not have the time to support and maintain the forum any more. Please see and for other Rails- und Ruby-related community platforms.
Alex B. (Guest)
on 2009-03-25 16:05

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:;...

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

This topic is locked and can not be replied to.