Comments (4)
Can you try this with the latest ar-jdbc (1.1.1)? The bug could still be there but in that case if you could update the changes to work with the latest code, it would be easier to fix. Thanks.
from activerecord-jdbc-adapter.
I have tryed activerecord-jdbc-adapter 1.1.1. The bug still exists, but the workaround doesn't work out of the box. I will try to update the workaround .
from activerecord-jdbc-adapter.
The following workaround works with 1.1.1
config/initializers/jdbc_adapter.rb
require 'arjdbc/oracle/adapter.rb'
::ArJdbc::Oracle.class_eval do
alias_method :insert_without_query_dirty, :insert
remove_method :insert
end
from activerecord-jdbc-adapter.
I suspect the methods weren't being wired up properly to account for the query cache. This commit should fix.
from activerecord-jdbc-adapter.
Related Issues (20)
- Bug with ActiveRecord 6.1 and adapter_require? HOT 1
- jdbc-mysql gem includes multiple driver .jar files HOT 1
- Update for CVE-2021-2471 ? HOT 1
- H2 2.0
- Unusual exception while running GitHub Action
- Error 'uninitialized constant ... ::PG' when trying to use activerecord-jdbc-adapter with Postgres
- activerecord-jdbcsqlite3-adapter v61.1 is not working with activerecord v6.1.5 HOT 12
- Error starting rails 6.1.5 server & creating database on ARM64 Mac in JRuby 9.3.4.0 HOT 2
- Mac ARM64 "Error opening connection" with activerecord-jdbcsqlite3-adapter HOT 5
- Error running db:migrate on JRuby 9.4.0 and rails 7.0.4 HOT 14
- make release for activerecord-jdbcpostgresql-adapter 70.x HOT 6
- Missing File arjdbc/oracle/column HOT 1
- SQLite3 No suitable driver HOT 7
- Updates for JDBC drivers HOT 4
- mysql-connector-java deprecated for new namespace
- require 'activerecord-jdbc-adapter' seemes like crash Puppet7 server
- `ArgumentError: wrong number of arguments (given 4, expected 1..3)` for `activerecord-jdbcsqlite3-adapter` HOT 1
- undefined method `execute' for nil:NilClass HOT 1
- Performance regression in checking out connections between Rails 4.2 and 6.1 HOT 1
- Cannot connect to database: `ArgumentError: wrong number of arguments (given 4, expected 1..3)` HOT 3
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from activerecord-jdbc-adapter.