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

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

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:
https://kenai.com/jira/browse/ACTIVERECORD_JDBC-9;...

I could solve this one by adding the following snippet in
environment.rb, as mentioned in this post:
http://www.ruby-forum.com/topic/181973#796172:
if RUBY_PLATFORM =~ /java/
  require 'rubygems'
  gem 'activerecord-jdbc-adapter', '0.9.1'
  require 'jdbc_adapter'
end

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
point.

Regards,
Alex
This topic is locked and can not be replied to.