James Britt
7/26/2008 7:42:00 AM
Jeremy Evans wrote:
>
> JRuby and Ruby 1.9 Officially Supported
> ---------------------------------------
>
> Sequel now officially supports JRuby 1.1.3 and Ruby 1.9 (svn revision
> 18194 at least). Using JRuby with the JDBC adapter, PostgreSQL,
> MySQL, and SQLite now enjoy almost full support, though not
> everything works the same as using the native adapter. Depending on
> what you are doing, it may make sense to use postgres-pr on JRuby
> instead of PostgreSQL-JDBC.
>
> To use the new JDBC support, the database connection string you give
> Sequel is now passed directly to JDBC, here are a few examples:
>
> Sequel.connect('jdbc:postgresql://host/database?user=*&password=*')
> Sequel.connect('jdbc:mysql://host/database?user=*&password=*')
> Sequel.connect('jdbc:sqlite::memory:')
> Sequel.connect('jdbc:sqlite:relative/path.db')
> Sequel.connect('jdbc:sqlite:/absolute/path.db')
Very, very cool.
Thanks for the great work!
--
James Britt
www.happycamperstudios.com - Wicked Cool Coding
www.jamesbritt.com - Playing with Better Toys
www.ruby-doc.org - Ruby Help & Documentation
www.rubystuff.com - The Ruby Store for Ruby Stuff