Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Tag: v1.2.3

Fetching latest commit…

Cannot retrieve the latest commit at this time

..
Failed to load latest commit information.
lib/active_record/connection_adapters
History.txt
LICENSE.txt
README.rdoc
Rakefile
activerecord-jdbcmssql-adapter.gemspec

README.rdoc

activerecord-jdbcmssql-adapter

* https://github.com/jruby/activerecord-jdbc-adapter/

DESCRIPTION:

This is an ActiveRecord driver for MS-SQL using JDBC running under JRuby.

SQL Azure

To use this driver with SQL Azure you will need to follow these steps:

  1. Add the official Microsoft SQL Server JDBC driver to your classpath. The quick way is to include rubygems.org/gems/jdbc-mssql-azure in your gemfile. If you want to include the jar manually it can be downloaded here www.microsoft.com/download/en/details.aspx?displaylang=en&id=19847

  2. Configure your database.yml as follows:

    production:
      adapter: jdbcmssql
      driver: com.microsoft.sqlserver.jdbc.SQLServerDriver
      url: 'jdbc:sqlserver://mydatabase.database.windows.net;databaseName=my_database'
      username: foo@mydatabase.database.windows.net
      password: bar
Something went wrong with that request. Please try again.