New database integration with Rails

What would be involved in adding a new Database implementation to Rails? We have a JDBC implementation that connects to a new Daabase type that we want to use behind Rails.

I assume we need to build a "Migration" class(s) to tie to ActiveRecord similar to the MySql "Migration" integration. If so where in the source tree can we find examples?

Is there another way?

Ollie

What would be involved in adding a new Database implementation to Rails? We have a JDBC implementation that connects to a new Daabase type that we want to use behind Rails.

I assume we need to build a "Migration" class(s) to tie to ActiveRecord similar to the MySql "Migration" integration. If so where in the source tree can we find examples?

You need to write a connection adapter. You can see the bundled ones at http://github.com/rails/rails/tree/master/activerecord/lib/active_record/connection_adapters

Is there another way?

Jruby already has a JDBC connection adapter for rails, maybe you can piggyback on top of that ?

Fred

Excellent, just what I was looking for.

Ollie