Skip to content
nicksieger edited this page Aug 16, 2012 · 5 revisions

Releases

This page documents the process for creating new activerecord-jdbc-adapter releases.

One Project Many Gems

The project includes source and gem specifications for a number of gems.

The main gem, activerecord-jdbc-adapter, includes all the code for every database adapter. The activerecord-jdbcDB-adapter sub-gems mainly exist as meta-gems to pull in the driver dependencies where available. For example, activerecord-jdbcmysql-adapter depends on activerecord-jdbc-adapter as well as jdbc-mysql.

  • activerecord-jdbc-adapter
  • activerecord-jdbcderby-adapter
  • activerecord-jdbch2-adapter
  • activerecord-jdbchsqldb-adapter
  • activerecord-jdbcmssql-adapter
  • activerecord-jdbcmysql-adapter
  • activerecord-jdbcpostgresql-adapter
  • activerecord-jdbcsqlite3-adapter
  • jdbc-derby
  • jdbc-h2
  • jdbc-hsqldb
  • jdbc-jtds
  • jdbc-mysql
  • jdbc-postgres
  • jdbc-sqlite3

Adapters vs. Drivers

The jdbc-* gems contain only the JDBC driver jar files. The activerecord-jdbc*-adapter gems are the actual gems used to connect Rails to a JDBC database within JRuby.

A normal release of AR-JDBC will only push gems for the activerecord-jdbc*-adapter gems. The dependencies to JDBC driver gems are defined loosely (with the "spermy" ~> operator) so that driver gems can be released independently.

Clone this wiki locally