24 Apr '12, 11am

File: opening_databases.rdoc [Sequel: The Database Toolkit for Ruby]:

Note that using an adapter method forces the use of the specified adapter, not a database type, even though some adapters have the same name as the database type. So if you want to connect to SQLite, for example, you can do so using the sqlite, do, dbi, jdbc, odbc, and swift adapters. If you want to connect to SQLite on JRuby using the jdbc adapter, you should not use Sequel.sqlite for example, as that uses the C-based sqlite3 gem. Instead, the Sequel.jdbc would be appropriate (though as mentioned below, using

Full article: http://sequel.rubyforge.org/rdoc/files/doc/opening_databa...