activerecord-jdbc-adapter
activerecord-jdbc-adapter copied to clipboard
JRuby's ActiveRecord adapter using JDBC.
Hi, thank you for your work about the library. I was trying to connect the MySQL database inside docker (`jruby -S bundle exec rake db:migrate RAILS_ENV=production`), but got error `com.mysql.jdbc.exceptions.jdbc4.MySQLNonTransientConnectionException:...
I am porting a Rails 6 Postgres app to JRuby and am getting the following error when trying to perform a DB operation such as `rails db:reset`: ``` rails aborted!...
I have a Rails 6 application that I'm testing JRuby with and I ran into an issue with a column in PostgreSQL (9.6) that has a type `enum[]`. Everything works...
I've seen this a few times now, both with JRuby 9.2.7.0 and 9.2.8.0. JDK 1.8.0_192-b12 `test/cases/adapters/postgresql/transaction_test.rb:43` _sometimes_ hangs. The test in question does: ```ruby test "raises SerializationFailure when a serialization...
We're running into an issue at the interface between postgresql-jdbc and arjdbc. We're running JRuby (versions 9.2.6.0, 9.2.7.0, 9.2.9.0) and Rails 5.2 with arjdbc 52.6. Frustratingly the error (stack trace...
It appears that activerecord-jdbcmysql-adapter is reading timestamps incorrectly. It is converting them to the local timezone and then interpreting them as a UTC time instead of keeping them in a...
I'm in the process of upgrading a Rails app from 3.2 to 4.0 and there are some new test failures because Rails now type casts on assignment, i.e.: ``` MyModel.columns_hash.fetch('my_column').type...
The branch `rails-5` was deleted from this repository. It is an old branch but I have some legacy software that is using that HEAD in the Gemfile. Would it be...
This affects ARJDBC 1.3 only. Versions 50+ were already patched as described below. Transplanted from https://github.com/jruby/jruby/issues/6191#issuecomment-624282547 I believe the ArgumentError may be a bug in ar-jdbc 1.3.x exposed by indy....
Back-port from 52-stable Date#to_s actually does the wrong thing when Date::DATE_FORMATS[:default] is set to something non-standard. Fixes #1061