Comments (2)
The patch posted to gist was applied at d91983a.
Could you post code to reproduce the problem?
I made the following code and it works fine.
gem 'activerecord', '3.0.9'
gem 'activerecord-oracle_enhanced-adapter', '1.3.2'
require 'active_record'
ActiveRecord::Base.establish_connection(
:adapter => "oracle_enhanced",
:username => "ruby",
:password => "oci8",
:database => "//localhost/XE",
)
class User < ActiveRecord::Base
end
threads = []
10.times do
threads << Thread.new do
begin
100.times do
User.find(:all).each { |user|
# user.name
}
end
ensure
ActiveRecord::Base.connection.close if ActiveRecord::Base.connection.respond_to? :close
end
end
end
threads.each do |thread|
thread.join
end
from ruby-oci8.
The issue is closed because I could not reproduce it.
I'll reopen it when you post more information.
from ruby-oci8.
Related Issues (20)
- OCIError: ORA-04088: error during execution of trigger 'SYS.USER_LOGIN_MONITORING' HOT 11
- Install in M1 and ruby 2.5.1 HOT 9
- checking for OCIEnvCreate() in oci.h... no on Big Sur (M1 chip) HOT 3
- segmentation fault starting rails
- [question] Where the code indicates that select statement use a db cursor HOT 7
- checking for OCIEnvCreate() in oci.h... no // M1 Monterey HOT 1
- @tiagobzr I didn't get this..Im getting the same error as cited above HOT 3
- warning: undefining the allocator of T_DATA class OraNumber HOT 1
- Question regarding a thread issue that was potentially fixed HOT 1
- extconf.rb failed when installing ruby-oci8 on M1 Mac. HOT 3
- sql_type: Number(1) is getting mapped to Boolean HOT 1
- OCIError: ORA-21500 when connecting to Oracle Database 18c Enterprise Edition HOT 2
- Query : Is ruby-oci8 gem version 2.2.12 broken on Windows (with Ruby 2.5.x)? HOT 4
- Issues during gem install with M1 running on Rosetta (Oracle instant client is not found. (RuntimeError)) HOT 5
- fails to load oci.dll on windows x64/msys2 rub 3.1.4p223 after update of msys2 HOT 5
- Install on M1 HOT 3
- Ruby oic8 fetch row make multiple networks calls HOT 5
- Plans for arm (Mac M1 to be exact)? HOT 22
- "UTF8" to "CESU-8" mapping HOT 1
- ruby-oci8-2.2.12/lib/oci8lib_320.so (LoadError) 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 ruby-oci8.