jruby / activerecord-jdbc-adapter

JRuby's ActiveRecord adapter using JDBC.
BSD 2-Clause "Simplified" License
461 stars 385 forks source link

jdbc-mysql gem includes multiple driver .jar files #1097

Closed kares closed 2 years ago

kares commented 2 years ago

jdbc-mysql 5.1.47 includes:

jdbc-mysql 8.0.17 includes:

NOTE: that these cause no issues in a typical JRuby (on Rails) scenario as the gem will only add and load files from one ja. However there might be issues when the .jar would copied to a class-path (e.g. when using Warbler) that might lead to double driver registering issues.

kares commented 2 years ago

updated and released 5.1.49 https://github.com/jruby/activerecord-jdbc-adapter/commit/348416786f39a56d7cdf3de4bb1aa07e60a255ef as well as 8.0.20 https://github.com/jruby/activerecord-jdbc-adapter/commit/8b27e85bc22a603f6186f29d50cc56d7f62519f3 (newer 8.0.x version will need more testing)