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 --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group, send email to rubyonrails-talk-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk+unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en -~----------~----~----~----~------~----~------~--~---
On Dec 7, 3:02 pm, Ollie <moli...-rRC2CJKdkbEqDJ6do+/SaQ@public.gmane.org> wrote:> 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> > Ollie--~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group, send email to rubyonrails-talk-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk+unsubscribe@googlegroups.com For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en -~----------~----~----~----~------~----~------~--~---
Excellent, just what I was looking for. Ollie On Sun, Dec 7, 2008 at 7:02 AM, Ollie <moliver-rRC2CJKdkbEqDJ6do+/SaQ@public.gmane.org> wrote:> > 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 > > > >-- Michael Oliver CTO, Corent Technology Inc. 3600 W Florida Ave, #340 Hemet, CA, 92545 ph:949-547-5700 --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group, send email to rubyonrails-talk-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk+unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en -~----------~----~----~----~------~----~------~--~---