cleblanc87 / sqlserver-foreigner

Sqlserver support for foreigner
MIT License
5 stars 10 forks source link

Does this gem add support for JDBCMSSQL? #1

Closed ghost closed 11 years ago

ghost commented 11 years ago

I have a project which uses Jruby and MSSQL server. Would this gem add support for JRuby and the JDBCMSSQL active record adapter? The README does not indicate that this gem would solve my current problem (that is, Foreigner does not support JDBC MSSQL natively).

cleblanc87 commented 11 years ago

Have not tested on jruby, but be sure to share how it goes. This gem specifically patches in MSSQL onto foreigner. There is a MSSQL specific fork of foreigner here however https://github.com/cjheath/foreigner .

ghost commented 11 years ago

Thanks I'll give it a shot and see how it goes. If I run into anything that I end up patching, I'll fork and submit a pull request.

avinmathew commented 10 years ago

The activerecord-jdbc-adaptor gem uses an adapter name of "MSSQL". So I get the following message:

Database adapter mssql not supported. Use:\nForeigner::Adapter.register 'mssql', 'path/to/adapter'

Is it possible to register 'mssql' in addition to 'sqlserver' in order to support JRuby?