activerecord-jdbc-adapter
activerecord-jdbc-adapter copied to clipboard
JRuby's ActiveRecord adapter using JDBC.
We need support for the 2.x version of H2. jdbc-h2 gem is on 1.4.197. The new version 2.0.206 is out, but has some breaking changes that require refactoring within the...
When saving a date that matches the beginning of day light savings, the previous day is persisted. source code: https://github.com/jruby/activerecord-jdbc-adapter/blob/master/src/java/arjdbc/postgresql/PostgreSQLRubyJdbcConnection.java#L390 ``` jruby-9.2.19.0 :032 > java_date = Date.parse('2021-10-03').to_java(org.jruby.ext.date.RubyDate) => # jruby-9.2.19.0...
When running the create database task for postgres for an already existing database, I get a ActiveRecord::Tasks::PostgreSQLDatabaseTasks::PG due to activercord expecting a PG::DuplicateDatabase error https://github.com/rails/rails/blob/v5.2.6/activerecord/lib/active_record/tasks/postgresql_database_tasks.rb#L25, while the PG gem is...
After updating an application to Rails 6.1.3.1 with activerecord-jdbc-adapter 61.0 and activerecord-jdbcpostgresql-adapter 61.0 a log failure appears with regularity. OS: Linux JRuby 9.2.17.0 JDK 11 Could not log "sql.active_record" event....
I'm using this lib with [activerecord-import](https://github.com/zdennis/activerecord-import). But it seems like the MySQL adapter in this gem is not implement `supports_on_duplicate_key_update?` related methods. `activerecod-import` can't add `ON DUPLICATE KEY UPDATE` to...
Hi All, I have done some work to support the SQL Server / Azure SQL, it is mostly based on the sqlserver arel visitor from the CRuby activerecord-sqlserver-adapter gem. At...
I'm trying to migrate from MRI and pg to JRuby and AR-JDBC. Suppose I have a column ``` my_string character varying, ``` for the model `Test`. Additionally, `my_string` can sometimes...
This has been a problem for us from 50.0 all the way up to 52.7. I see from the source in 60.x this may not be an issue anymore. The...
On 52-stable, `Time.parse('0001-01-01').to_date` Is returning Jan 3, 0001, instead of Jan 1, 0001. In our app there are RPG/DB2 legacy tables that store `0001-01-01` as a default date. We are...
Our jruby rails app is receiving "ActiveRecord::JDBCError: FATAL: connection requires a valid client certificate" when trying to connect to postgres over ssl. I know there is some configuration to be...