Skip to content
This repository has been archived by the owner on Feb 28, 2020. It is now read-only.

SAP-archive/cloud-activerecord-maxdb-adapter

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

20 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Important Notice

We have decided to stop the maintenance of this public GitHub repository.

ActiveRecord JDBC adapter for SAP MaxDB database

Overview

This is an ActiveRecord JDBC adapter for the SAP MaxDB database. It is intended to be used in JRuby environment only and it is an extension of the ActiveRecord JDBC Adapter project.

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

Contributing

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.

Wiki page

You can check this wiki page for more details of how we created this adapter.

Releases

No releases published

Packages

No packages published

Contributors 4

  •  
  •  
  •  
  •  

Languages