Forum: Ruby on Rails How to: Rails with JRuby/Actice Record-JDBC and JDBC-ODBC

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.
Achim D. (Guest)
on 2007-08-02 17:04
hi to all,

it is posible to use activerecord-jdbc with the jdbc-odbc bridge?

i have problems to use ajax_scaffold. i get an error message, that the
driver is unable to choose type for date from(list of datatypes)

my database.yml look like

  adapter: jdbc
  driver:  sun.jdbc.odbc.JdbcOdbcDriver
  url: jdbc:odbc:ac43demo
  username: ac_odbc
  password: ac_odbc

i have modified the environment.rb like

 require 'rubygems'
 gem 'ActiveRecord-JDBC'
 require 'jdbc_adapter'

any ideas????


This topic is locked and can not be replied to.