Finding adapter gems for JRuby

View: New views
1 Messages — Rating Filter:   Alert me  

Finding adapter gems for JRuby

by Chris Kutler :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Hi,

In an earlier email about accessing databases with JRuby I asked the following question about using the regular non-JDBC adapters with JRuby Rails apps,  which did not get answered. Will all regular classic/native database server adapters work with JRuby or do I need a certain kind? How do I know which ones work with JRuby.  I think I have all the facts for JDBC access, but I still putting the puzzle together for non-JDBC access.


In the case of PostgreSQL, you need to download the postgres-pr gem (are there any other gems that would work?).

What about Oracle, HSQLDB, SQLite3, and Java DB (also known as /Derby/)? What gems can I use for (2)? When searching for these gems, what are you looking for? For example, how would I have known that postgres-pr is the gem to use for scenario (2) for a JRuby Rails app?

LightInTheBox - Buy quality products at wholesale price