activerecord-jdbc-adapter
activerecord-jdbc-adapter copied to clipboard
JRuby's ActiveRecord adapter using JDBC.
Hi, I'm trying this script, but it failed. I've referred to many scripts: 1. https://github.com/flum1025/jruby_sqlite3/blob/3c8f677b97592a81f2f4fdf38d7241f64391faf6/lib/jruby_sqlite3/jruby_sqlite3.rb#L15 2. https://github.com/jeremyevans/sequel/blob/41e621fe1051441cf61d009bb76e3f7f7411f3b8/lib/sequel/adapters/jdbc/sqlite.rb#LL3C54-L3C54 3. https://github.com/jruby/jruby/wiki/JDBC ```ruby require 'jdbc/sqlite3' Jdbc::SQLite3.load_driver Java::org.sqlite.JDBC url = "jdbc:sqlite:test.db" con = java.sql.DriverManager.get_connection...
My setup: Puppet Server 7.9.2 on JRuby (as a standard). Puppet Agent 7.20.0 sqlite3 database as a source of infrastructure for configuration data Custom function brakes puppet server (in a...
We will need to transition the jdbc-mysql gem to using the new driver in its new com.mysql namespace. https://central.sonatype.com/artifact/com.mysql/mysql-connector-j/8.0.33
Updates dependencies to reduce the number of CVEs: - jdbc-mysql gem 5.1.44 => 8.1.0 - hsqldb-2.3.2.jar => h2-2.2.224.jar - mysql-connector-java-8.0.27.jar => mysql-connector-j-8.4.0.jar - postgresql-42.2.25.jar => postgresql-42.7.3.jar - sqlite-jdbc-3.32.3.3.jar => sqlite-jdbc-3.45.3.0.jar
Can the mysql adapter get updated to 8.1+ to address the CVE below? https://nvd.nist.gov/vuln/detail/CVE-2023-22102
If the time stored in the missing daylight saving hour, MySQL JDBC driver starting from version 8.0.23 will raise this error (https://dev.mysql.com/doc/relnotes/connector-j/en/news-8-0-23.html). If the date time value stored in the...
When I checkout the source from this repo and try to build jar: `➜ activerecord-jdbc-adapter git:(master) jruby -S rake jar` I encountered following error: ``` ➜ activerecord-jdbc-adapter git:(master) jruby -S...
And re-enabled test serial with trigger. This PR is more intended to trigger the CI.
This issue is to track the issue encountered in Active Record 7.1 [PostgreSQL, Serial and/or primary key with trigger does not get populated in model on insert, Active Record 7.1](https://github.com/rails/rails/issues/52485)...
Hello. The README suggests that the gem 71.x should support Rails 7.1 but I don't see any of these versions published to https://rubygems.org/gems/activerecord-jdbc-adapter or for the adapters.