ActiveRecord JDBC adapter for SAP MaxDB database
This gem requires the jdbc-maxdb gem.
The adapter works for Rails 3. It uses Arel so it probably won't work with Rails 2.
To install the gem you would have to build it from source:
jruby -S gem build activerecord-maxdb-adapter.gemspec
jruby -S gem install activerecord-maxdb-adapter
To use the adapter add the following in your database.yml configuration:
development: adapter: maxdb encoding: utf8 reconnect: false host: <your_MaxDB_host> database: <your_MaxDB_database> pool: 5 username: <your_MaxDB_user_name> password: <your_MaxDB_password>
JNDI setting is supported as well (this is coming from the generic AR-JDBC Adapter):
production: adapter: maxdb encoding: utf8 reconnect: false jndi: java:comp/env/jdbc/myMaxDBDataSource pool: 5
This is an open source project under the Apache 2.0 license, and every contribution is welcome. Issues, pull-requests and other discussions are welcome and expected to take place here.
You can check this wiki page for more details of how we created this adapter.