|
Re: JRuby on Rails: msg#00054lang.jruby.user
On Wed, 22 Feb 2006, Nick Sieger defenestrated me: > > So then, speaking of JDBC-based adapters...Neither Tom nor I have > dug > much into the internals of ActiveRecord adapters, and so we're not > sure what would be required to make this work. How much do you > understand of the implementation of these adapters? Enough to start > playing around with something? > > I've dug around in the AR internals a bit, as I had to make some > personal tweaks to the Oracle adapter to get it working. AR is also > built fairly well in that it should be able to stand alone from the > rest of Rails. I would think even an initial test that does an > ActiveRecord:: Base.establish_connection with a JDBC backend would be > a nice initial accomplishment. > My preference would be to start with MySQL since it's the database I > currently use for my personal Rails apps. Hopefully after doing one > or two adapters a pattern will emerge and the rest won't be so > difficult. Actually, I did look at this about six months ago and a JDBC active record did not look like it would be tough to do. Mostly just adapting JDBC output to the format active record wants. I did not see any technical hurdles. -Tom -- + http://www.tc.umn.edu/~enebo +---- mailto:enebo@xxxxxxx ----+ | Thomas E Enebo, Protagonist | "Luck favors the prepared | | | mind." -Louis Pasteur | ------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Do you grep through log files for problems? Stop! Download the new AJAX search engine that makes searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! http://sel.as-us.falkag.net/sel?cmd=lnk&kid=103432&bid=230486&dat=121642 |
|
| <Prev in Thread] | Current Thread | [Next in Thread> |
|---|---|---|
| Previous by Date: | Re: JRuby on Rails: 00054, Nick Sieger |
|---|---|
| Next by Date: | Re: JRuby on Rails: 00054, Nick Sieger |
| Previous by Thread: | Re: JRuby on Railsi: 00054, Nick Sieger |
| Next by Thread: | Re: JRuby on Rails: 00054, Nick Sieger |
| Indexes: | [Date] [Thread] [Top] [All Lists] |
| News | FAQ | advertise |