activerecord-oracle_enhanced-adapter 8.1.0-java
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +7 -0
- data/History.md +1971 -0
- data/License.txt +20 -0
- data/README.md +947 -0
- data/VERSION +1 -0
- data/lib/active_record/connection_adapters/emulation/oracle_adapter.rb +7 -0
- data/lib/active_record/connection_adapters/oracle_enhanced/column.rb +24 -0
- data/lib/active_record/connection_adapters/oracle_enhanced/connection.rb +137 -0
- data/lib/active_record/connection_adapters/oracle_enhanced/context_index.rb +359 -0
- data/lib/active_record/connection_adapters/oracle_enhanced/database_limits.rb +47 -0
- data/lib/active_record/connection_adapters/oracle_enhanced/database_statements.rb +325 -0
- data/lib/active_record/connection_adapters/oracle_enhanced/database_tasks.rb +63 -0
- data/lib/active_record/connection_adapters/oracle_enhanced/dbms_output.rb +71 -0
- data/lib/active_record/connection_adapters/oracle_enhanced/jdbc_connection.rb +629 -0
- data/lib/active_record/connection_adapters/oracle_enhanced/jdbc_quoting.rb +38 -0
- data/lib/active_record/connection_adapters/oracle_enhanced/lob.rb +57 -0
- data/lib/active_record/connection_adapters/oracle_enhanced/oci_connection.rb +465 -0
- data/lib/active_record/connection_adapters/oracle_enhanced/oci_quoting.rb +44 -0
- data/lib/active_record/connection_adapters/oracle_enhanced/procedures.rb +195 -0
- data/lib/active_record/connection_adapters/oracle_enhanced/quoting.rb +186 -0
- data/lib/active_record/connection_adapters/oracle_enhanced/schema_creation.rb +95 -0
- data/lib/active_record/connection_adapters/oracle_enhanced/schema_definitions.rb +99 -0
- data/lib/active_record/connection_adapters/oracle_enhanced/schema_dumper.rb +197 -0
- data/lib/active_record/connection_adapters/oracle_enhanced/schema_statements.rb +739 -0
- data/lib/active_record/connection_adapters/oracle_enhanced/structure_dump.rb +394 -0
- data/lib/active_record/connection_adapters/oracle_enhanced/type_metadata.rb +34 -0
- data/lib/active_record/connection_adapters/oracle_enhanced/version.rb +3 -0
- data/lib/active_record/connection_adapters/oracle_enhanced_adapter.rb +886 -0
- data/lib/active_record/type/oracle_enhanced/boolean.rb +19 -0
- data/lib/active_record/type/oracle_enhanced/character_string.rb +36 -0
- data/lib/active_record/type/oracle_enhanced/integer.rb +14 -0
- data/lib/active_record/type/oracle_enhanced/json.rb +10 -0
- data/lib/active_record/type/oracle_enhanced/national_character_string.rb +26 -0
- data/lib/active_record/type/oracle_enhanced/national_character_text.rb +36 -0
- data/lib/active_record/type/oracle_enhanced/raw.rb +25 -0
- data/lib/active_record/type/oracle_enhanced/string.rb +29 -0
- data/lib/active_record/type/oracle_enhanced/text.rb +32 -0
- data/lib/active_record/type/oracle_enhanced/timestampltz.rb +25 -0
- data/lib/active_record/type/oracle_enhanced/timestamptz.rb +25 -0
- data/lib/activerecord-oracle_enhanced-adapter.rb +25 -0
- data/lib/arel/visitors/oracle.rb +216 -0
- data/lib/arel/visitors/oracle12.rb +121 -0
- data/lib/arel/visitors/oracle_common.rb +51 -0
- data/spec/active_record/connection_adapters/emulation/oracle_adapter_spec.rb +24 -0
- data/spec/active_record/connection_adapters/oracle_enhanced/compatibility_spec.rb +40 -0
- data/spec/active_record/connection_adapters/oracle_enhanced/composite_spec.rb +84 -0
- data/spec/active_record/connection_adapters/oracle_enhanced/connection_spec.rb +589 -0
- data/spec/active_record/connection_adapters/oracle_enhanced/context_index_spec.rb +431 -0
- data/spec/active_record/connection_adapters/oracle_enhanced/database_tasks_spec.rb +122 -0
- data/spec/active_record/connection_adapters/oracle_enhanced/dbconsole_spec.rb +63 -0
- data/spec/active_record/connection_adapters/oracle_enhanced/dbms_output_spec.rb +69 -0
- data/spec/active_record/connection_adapters/oracle_enhanced/procedures_spec.rb +362 -0
- data/spec/active_record/connection_adapters/oracle_enhanced/quoting_spec.rb +181 -0
- data/spec/active_record/connection_adapters/oracle_enhanced/schema_dumper_spec.rb +492 -0
- data/spec/active_record/connection_adapters/oracle_enhanced/schema_statements_spec.rb +1318 -0
- data/spec/active_record/connection_adapters/oracle_enhanced/structure_dump_spec.rb +485 -0
- data/spec/active_record/connection_adapters/oracle_enhanced_adapter_spec.rb +815 -0
- data/spec/active_record/connection_adapters/oracle_enhanced_data_types_spec.rb +230 -0
- data/spec/active_record/oracle_enhanced/type/binary_spec.rb +119 -0
- data/spec/active_record/oracle_enhanced/type/boolean_spec.rb +206 -0
- data/spec/active_record/oracle_enhanced/type/character_string_spec.rb +67 -0
- data/spec/active_record/oracle_enhanced/type/custom_spec.rb +90 -0
- data/spec/active_record/oracle_enhanced/type/decimal_spec.rb +56 -0
- data/spec/active_record/oracle_enhanced/type/dirty_spec.rb +141 -0
- data/spec/active_record/oracle_enhanced/type/float_spec.rb +48 -0
- data/spec/active_record/oracle_enhanced/type/integer_spec.rb +101 -0
- data/spec/active_record/oracle_enhanced/type/json_spec.rb +56 -0
- data/spec/active_record/oracle_enhanced/type/national_character_string_spec.rb +55 -0
- data/spec/active_record/oracle_enhanced/type/national_character_text_spec.rb +230 -0
- data/spec/active_record/oracle_enhanced/type/raw_spec.rb +137 -0
- data/spec/active_record/oracle_enhanced/type/text_spec.rb +295 -0
- data/spec/active_record/oracle_enhanced/type/timestamp_spec.rb +107 -0
- data/spec/spec_config.yaml.template +11 -0
- data/spec/spec_helper.rb +225 -0
- data/spec/support/alter_system_set_open_cursors.sql +1 -0
- data/spec/support/alter_system_user_password.sql +2 -0
- data/spec/support/create_oracle_enhanced_users.sql +31 -0
- metadata +181 -0
data/spec/spec_helper.rb
ADDED
|
@@ -0,0 +1,225 @@
|
|
|
1
|
+
# frozen_string_literal: true
|
|
2
|
+
|
|
3
|
+
require "rubygems"
|
|
4
|
+
require "bundler"
|
|
5
|
+
require "yaml"
|
|
6
|
+
Bundler.setup(:default, :development)
|
|
7
|
+
|
|
8
|
+
$:.unshift(File.expand_path("../../lib", __FILE__))
|
|
9
|
+
config_path = File.expand_path("../spec_config.yaml", __FILE__)
|
|
10
|
+
if File.exist?(config_path)
|
|
11
|
+
puts "==> Loading config from #{config_path}"
|
|
12
|
+
config = YAML.load_file(config_path)
|
|
13
|
+
else
|
|
14
|
+
puts "==> Loading config from ENV or use default"
|
|
15
|
+
config = { "rails" => {}, "database" => {} }
|
|
16
|
+
end
|
|
17
|
+
|
|
18
|
+
require "rspec"
|
|
19
|
+
|
|
20
|
+
if !defined?(RUBY_ENGINE) || RUBY_ENGINE == "ruby" || RUBY_ENGINE == "truffleruby"
|
|
21
|
+
puts "==> Running specs with ruby version #{RUBY_VERSION}"
|
|
22
|
+
require "oci8"
|
|
23
|
+
elsif RUBY_ENGINE == "jruby"
|
|
24
|
+
puts "==> Running specs with JRuby version #{JRUBY_VERSION}"
|
|
25
|
+
end
|
|
26
|
+
|
|
27
|
+
require "active_record"
|
|
28
|
+
|
|
29
|
+
require "active_support/core_ext/module/attribute_accessors"
|
|
30
|
+
require "active_support/core_ext/class/attribute_accessors"
|
|
31
|
+
|
|
32
|
+
require "active_support/log_subscriber"
|
|
33
|
+
require "active_record/log_subscriber"
|
|
34
|
+
|
|
35
|
+
require "logger"
|
|
36
|
+
|
|
37
|
+
# On JRuby, load the oracle_enhanced adapter first so that the JDBC driver
|
|
38
|
+
# (ojdbc17.jar) is registered with DriverManager before ruby-plsql tries to
|
|
39
|
+
# load it. ruby-plsql only looks for ojdbc6/7.jar and would fail otherwise.
|
|
40
|
+
#
|
|
41
|
+
# File.exists? was removed in Ruby 3.2. Restore it temporarily so that
|
|
42
|
+
# ruby-plsql's JDBC connection code can load under JRuby 10.x (Ruby 3.4).
|
|
43
|
+
require "active_record/connection_adapters/oracle_enhanced_adapter"
|
|
44
|
+
File.singleton_class.alias_method(:exists?, :exist?) unless File.respond_to?(:exists?)
|
|
45
|
+
# ruby-plsql calls ActiveRecord::Base.default_timezone (moved to ActiveRecord
|
|
46
|
+
# module in Rails 7.0). Restore the class-level accessor as a shim.
|
|
47
|
+
unless ActiveRecord::Base.respond_to?(:default_timezone)
|
|
48
|
+
ActiveRecord::Base.define_singleton_method(:default_timezone) { ActiveRecord.default_timezone }
|
|
49
|
+
end
|
|
50
|
+
require "ruby-plsql"
|
|
51
|
+
|
|
52
|
+
puts "==> Effective ActiveRecord version #{ActiveRecord::VERSION::STRING}"
|
|
53
|
+
|
|
54
|
+
module LoggerSpecHelper
|
|
55
|
+
def set_logger
|
|
56
|
+
@logger = MockLogger.new
|
|
57
|
+
@old_logger = ActiveRecord::Base.logger
|
|
58
|
+
|
|
59
|
+
@notifier = ActiveSupport::Notifications::Fanout.new
|
|
60
|
+
|
|
61
|
+
ActiveSupport::LogSubscriber.colorize_logging = false
|
|
62
|
+
|
|
63
|
+
ActiveRecord::Base.logger = @logger
|
|
64
|
+
@old_notifier = ActiveSupport::Notifications.notifier
|
|
65
|
+
ActiveSupport::Notifications.notifier = @notifier
|
|
66
|
+
|
|
67
|
+
ActiveRecord::LogSubscriber.attach_to(:active_record)
|
|
68
|
+
end
|
|
69
|
+
|
|
70
|
+
class MockLogger
|
|
71
|
+
LEVELS = %i[debug info warn error fatal unknown]
|
|
72
|
+
|
|
73
|
+
attr_reader :flush_count
|
|
74
|
+
|
|
75
|
+
def initialize
|
|
76
|
+
@flush_count = 0
|
|
77
|
+
@logged = Hash.new { |h, k| h[k] = [] }
|
|
78
|
+
end
|
|
79
|
+
|
|
80
|
+
# used in ActiveRecord 2.x
|
|
81
|
+
def debug?
|
|
82
|
+
true
|
|
83
|
+
end
|
|
84
|
+
|
|
85
|
+
def level
|
|
86
|
+
0
|
|
87
|
+
end
|
|
88
|
+
|
|
89
|
+
def method_missing(*args)
|
|
90
|
+
if LEVELS.include?(args[0])
|
|
91
|
+
level, message = args
|
|
92
|
+
@logged[level] << message
|
|
93
|
+
else
|
|
94
|
+
super
|
|
95
|
+
end
|
|
96
|
+
end
|
|
97
|
+
|
|
98
|
+
def logged(level)
|
|
99
|
+
@logged[level].compact.map { |l| l.to_s.strip }
|
|
100
|
+
end
|
|
101
|
+
|
|
102
|
+
def output(level)
|
|
103
|
+
logged(level).join("\n")
|
|
104
|
+
end
|
|
105
|
+
|
|
106
|
+
def flush
|
|
107
|
+
@flush_count += 1
|
|
108
|
+
end
|
|
109
|
+
|
|
110
|
+
def clear(level)
|
|
111
|
+
@logged[level] = []
|
|
112
|
+
end
|
|
113
|
+
end
|
|
114
|
+
|
|
115
|
+
def clear_logger
|
|
116
|
+
ActiveRecord::Base.logger = @old_logger
|
|
117
|
+
@logger = nil
|
|
118
|
+
|
|
119
|
+
ActiveSupport::Notifications.notifier = @old_notifier
|
|
120
|
+
@notifier = nil
|
|
121
|
+
end
|
|
122
|
+
|
|
123
|
+
# Wait notifications to be published (for Rails 3.0)
|
|
124
|
+
# should not be currently used with sync queues in tests
|
|
125
|
+
def wait
|
|
126
|
+
@notifier.wait if @notifier
|
|
127
|
+
end
|
|
128
|
+
end
|
|
129
|
+
|
|
130
|
+
ActiveRecord::LogSubscriber::IGNORE_PAYLOAD_NAMES.replace(["EXPLAIN"])
|
|
131
|
+
|
|
132
|
+
module SchemaSpecHelper
|
|
133
|
+
def schema_define(&block)
|
|
134
|
+
ActiveRecord::Schema.define do
|
|
135
|
+
suppress_messages do
|
|
136
|
+
instance_eval(&block)
|
|
137
|
+
end
|
|
138
|
+
end
|
|
139
|
+
end
|
|
140
|
+
end
|
|
141
|
+
|
|
142
|
+
module SchemaDumpingHelper
|
|
143
|
+
def dump_table_schema(table, connection = ActiveRecord::Base.connection)
|
|
144
|
+
old_ignore_tables = ActiveRecord::SchemaDumper.ignore_tables
|
|
145
|
+
ActiveRecord::SchemaDumper.ignore_tables = connection.data_sources - [table]
|
|
146
|
+
stream = StringIO.new
|
|
147
|
+
ActiveRecord::SchemaDumper.dump(ActiveRecord::Base.connection_pool, stream)
|
|
148
|
+
stream.string
|
|
149
|
+
ensure
|
|
150
|
+
ActiveRecord::SchemaDumper.ignore_tables = old_ignore_tables
|
|
151
|
+
end
|
|
152
|
+
end
|
|
153
|
+
|
|
154
|
+
DATABASE_NAME = config["database"]["name"] || ENV["DATABASE_NAME"] || "orcl"
|
|
155
|
+
DATABASE_HOST = config["database"]["host"] || ENV["DATABASE_HOST"] || "127.0.0.1"
|
|
156
|
+
DATABASE_PORT = config["database"]["port"] || ENV["DATABASE_PORT"] || 1521
|
|
157
|
+
DATABASE_USER = config["database"]["user"] || ENV["DATABASE_USER"] || "oracle_enhanced"
|
|
158
|
+
DATABASE_PASSWORD = config["database"]["password"] || ENV["DATABASE_PASSWORD"] || "oracle_enhanced"
|
|
159
|
+
DATABASE_SCHEMA = config["database"]["schema"] || ENV["DATABASE_SCHEMA"] || "oracle_enhanced_schema"
|
|
160
|
+
DATABASE_SYS_PASSWORD = config["database"]["sys_password"] || ENV["DATABASE_SYS_PASSWORD"] || "admin"
|
|
161
|
+
|
|
162
|
+
CONNECTION_PARAMS = {
|
|
163
|
+
adapter: "oracle_enhanced",
|
|
164
|
+
database: DATABASE_NAME,
|
|
165
|
+
host: DATABASE_HOST,
|
|
166
|
+
port: DATABASE_PORT,
|
|
167
|
+
username: DATABASE_USER,
|
|
168
|
+
password: DATABASE_PASSWORD
|
|
169
|
+
}
|
|
170
|
+
|
|
171
|
+
CONNECTION_WITH_SCHEMA_PARAMS = {
|
|
172
|
+
adapter: "oracle_enhanced",
|
|
173
|
+
database: DATABASE_NAME,
|
|
174
|
+
host: DATABASE_HOST,
|
|
175
|
+
port: DATABASE_PORT,
|
|
176
|
+
username: DATABASE_USER,
|
|
177
|
+
password: DATABASE_PASSWORD,
|
|
178
|
+
schema: DATABASE_SCHEMA
|
|
179
|
+
}
|
|
180
|
+
|
|
181
|
+
CONNECTION_WITH_TIMEZONE_PARAMS = {
|
|
182
|
+
adapter: "oracle_enhanced",
|
|
183
|
+
database: DATABASE_NAME,
|
|
184
|
+
host: DATABASE_HOST,
|
|
185
|
+
port: DATABASE_PORT,
|
|
186
|
+
username: DATABASE_USER,
|
|
187
|
+
password: DATABASE_PASSWORD,
|
|
188
|
+
time_zone: "Europe/Riga"
|
|
189
|
+
}
|
|
190
|
+
|
|
191
|
+
SYS_CONNECTION_PARAMS = {
|
|
192
|
+
adapter: "oracle_enhanced",
|
|
193
|
+
database: DATABASE_NAME,
|
|
194
|
+
host: DATABASE_HOST,
|
|
195
|
+
port: DATABASE_PORT,
|
|
196
|
+
username: "sys",
|
|
197
|
+
password: DATABASE_SYS_PASSWORD,
|
|
198
|
+
privilege: "SYSDBA"
|
|
199
|
+
}
|
|
200
|
+
|
|
201
|
+
SYSTEM_CONNECTION_PARAMS = {
|
|
202
|
+
adapter: "oracle_enhanced",
|
|
203
|
+
database: DATABASE_NAME,
|
|
204
|
+
host: DATABASE_HOST,
|
|
205
|
+
port: DATABASE_PORT,
|
|
206
|
+
username: "system",
|
|
207
|
+
password: DATABASE_SYS_PASSWORD
|
|
208
|
+
}
|
|
209
|
+
|
|
210
|
+
SERVICE_NAME_CONNECTION_PARAMS = {
|
|
211
|
+
adapter: "oracle_enhanced",
|
|
212
|
+
database: "/#{DATABASE_NAME}",
|
|
213
|
+
host: DATABASE_HOST,
|
|
214
|
+
port: DATABASE_PORT,
|
|
215
|
+
username: DATABASE_USER,
|
|
216
|
+
password: DATABASE_PASSWORD
|
|
217
|
+
}
|
|
218
|
+
|
|
219
|
+
DATABASE_NON_DEFAULT_TABLESPACE = config["database"]["non_default_tablespace"] || ENV["DATABASE_NON_DEFAULT_TABLESPACE"] || "SYSTEM"
|
|
220
|
+
|
|
221
|
+
# set default time zone in TZ environment variable
|
|
222
|
+
# which will be used to set session time zone
|
|
223
|
+
ENV["TZ"] ||= config["timezone"] || "Europe/Riga"
|
|
224
|
+
|
|
225
|
+
ActiveRecord::Base.logger = ActiveSupport::Logger.new("debug.log", 0, 100 * 1024 * 1024)
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
alter system set open_cursors = 1200 scope = both;
|
|
@@ -0,0 +1,31 @@
|
|
|
1
|
+
alter database default tablespace USERS;
|
|
2
|
+
|
|
3
|
+
CREATE USER oracle_enhanced IDENTIFIED BY oracle_enhanced;
|
|
4
|
+
|
|
5
|
+
GRANT unlimited tablespace, create session, create table, create sequence,
|
|
6
|
+
create procedure, create trigger, create view, create materialized view,
|
|
7
|
+
create database link, create synonym, create type, ctxapp TO oracle_enhanced;
|
|
8
|
+
|
|
9
|
+
CREATE USER oracle_enhanced_schema IDENTIFIED BY oracle_enhanced_schema;
|
|
10
|
+
|
|
11
|
+
GRANT unlimited tablespace, create session, create table, create sequence,
|
|
12
|
+
create procedure, create trigger, create view, create materialized view,
|
|
13
|
+
create database link, create synonym, create type, ctxapp TO oracle_enhanced_schema;
|
|
14
|
+
|
|
15
|
+
CREATE USER arunit IDENTIFIED BY arunit;
|
|
16
|
+
|
|
17
|
+
GRANT unlimited tablespace, create session, create table, create sequence,
|
|
18
|
+
create procedure, create trigger, create view, create materialized view,
|
|
19
|
+
create database link, create synonym, create type, ctxapp TO arunit;
|
|
20
|
+
|
|
21
|
+
CREATE USER arunit2 IDENTIFIED BY arunit2;
|
|
22
|
+
|
|
23
|
+
GRANT unlimited tablespace, create session, create table, create sequence,
|
|
24
|
+
create procedure, create trigger, create view, create materialized view,
|
|
25
|
+
create database link, create synonym, create type, ctxapp TO arunit2;
|
|
26
|
+
|
|
27
|
+
CREATE USER ruby IDENTIFIED BY oci8;
|
|
28
|
+
GRANT connect, resource, create view,create synonym TO ruby;
|
|
29
|
+
GRANT EXECUTE ON dbms_lock TO ruby;
|
|
30
|
+
GRANT CREATE VIEW TO ruby;
|
|
31
|
+
GRANT unlimited tablespace to ruby;
|
metadata
ADDED
|
@@ -0,0 +1,181 @@
|
|
|
1
|
+
--- !ruby/object:Gem::Specification
|
|
2
|
+
name: activerecord-oracle_enhanced-adapter
|
|
3
|
+
version: !ruby/object:Gem::Version
|
|
4
|
+
version: 8.1.0
|
|
5
|
+
platform: java
|
|
6
|
+
authors:
|
|
7
|
+
- Raimonds Simanovskis
|
|
8
|
+
bindir: bin
|
|
9
|
+
cert_chain: []
|
|
10
|
+
date: 1980-01-02 00:00:00.000000000 Z
|
|
11
|
+
dependencies:
|
|
12
|
+
- !ruby/object:Gem::Dependency
|
|
13
|
+
name: activerecord
|
|
14
|
+
requirement: !ruby/object:Gem::Requirement
|
|
15
|
+
requirements:
|
|
16
|
+
- - "~>"
|
|
17
|
+
- !ruby/object:Gem::Version
|
|
18
|
+
version: 8.1.0
|
|
19
|
+
type: :runtime
|
|
20
|
+
prerelease: false
|
|
21
|
+
version_requirements: !ruby/object:Gem::Requirement
|
|
22
|
+
requirements:
|
|
23
|
+
- - "~>"
|
|
24
|
+
- !ruby/object:Gem::Version
|
|
25
|
+
version: 8.1.0
|
|
26
|
+
- !ruby/object:Gem::Dependency
|
|
27
|
+
name: ruby-plsql
|
|
28
|
+
requirement: !ruby/object:Gem::Requirement
|
|
29
|
+
requirements:
|
|
30
|
+
- - ">="
|
|
31
|
+
- !ruby/object:Gem::Version
|
|
32
|
+
version: 0.6.0
|
|
33
|
+
type: :runtime
|
|
34
|
+
prerelease: false
|
|
35
|
+
version_requirements: !ruby/object:Gem::Requirement
|
|
36
|
+
requirements:
|
|
37
|
+
- - ">="
|
|
38
|
+
- !ruby/object:Gem::Version
|
|
39
|
+
version: 0.6.0
|
|
40
|
+
description: |
|
|
41
|
+
Oracle "enhanced" ActiveRecord adapter contains useful additional methods for working with new and legacy Oracle databases.
|
|
42
|
+
This adapter is superset of original ActiveRecord Oracle adapter.
|
|
43
|
+
email: raimonds.simanovskis@gmail.com
|
|
44
|
+
executables: []
|
|
45
|
+
extensions: []
|
|
46
|
+
extra_rdoc_files:
|
|
47
|
+
- README.md
|
|
48
|
+
files:
|
|
49
|
+
- History.md
|
|
50
|
+
- License.txt
|
|
51
|
+
- README.md
|
|
52
|
+
- VERSION
|
|
53
|
+
- lib/active_record/connection_adapters/emulation/oracle_adapter.rb
|
|
54
|
+
- lib/active_record/connection_adapters/oracle_enhanced/column.rb
|
|
55
|
+
- lib/active_record/connection_adapters/oracle_enhanced/connection.rb
|
|
56
|
+
- lib/active_record/connection_adapters/oracle_enhanced/context_index.rb
|
|
57
|
+
- lib/active_record/connection_adapters/oracle_enhanced/database_limits.rb
|
|
58
|
+
- lib/active_record/connection_adapters/oracle_enhanced/database_statements.rb
|
|
59
|
+
- lib/active_record/connection_adapters/oracle_enhanced/database_tasks.rb
|
|
60
|
+
- lib/active_record/connection_adapters/oracle_enhanced/dbms_output.rb
|
|
61
|
+
- lib/active_record/connection_adapters/oracle_enhanced/jdbc_connection.rb
|
|
62
|
+
- lib/active_record/connection_adapters/oracle_enhanced/jdbc_quoting.rb
|
|
63
|
+
- lib/active_record/connection_adapters/oracle_enhanced/lob.rb
|
|
64
|
+
- lib/active_record/connection_adapters/oracle_enhanced/oci_connection.rb
|
|
65
|
+
- lib/active_record/connection_adapters/oracle_enhanced/oci_quoting.rb
|
|
66
|
+
- lib/active_record/connection_adapters/oracle_enhanced/procedures.rb
|
|
67
|
+
- lib/active_record/connection_adapters/oracle_enhanced/quoting.rb
|
|
68
|
+
- lib/active_record/connection_adapters/oracle_enhanced/schema_creation.rb
|
|
69
|
+
- lib/active_record/connection_adapters/oracle_enhanced/schema_definitions.rb
|
|
70
|
+
- lib/active_record/connection_adapters/oracle_enhanced/schema_dumper.rb
|
|
71
|
+
- lib/active_record/connection_adapters/oracle_enhanced/schema_statements.rb
|
|
72
|
+
- lib/active_record/connection_adapters/oracle_enhanced/structure_dump.rb
|
|
73
|
+
- lib/active_record/connection_adapters/oracle_enhanced/type_metadata.rb
|
|
74
|
+
- lib/active_record/connection_adapters/oracle_enhanced/version.rb
|
|
75
|
+
- lib/active_record/connection_adapters/oracle_enhanced_adapter.rb
|
|
76
|
+
- lib/active_record/type/oracle_enhanced/boolean.rb
|
|
77
|
+
- lib/active_record/type/oracle_enhanced/character_string.rb
|
|
78
|
+
- lib/active_record/type/oracle_enhanced/integer.rb
|
|
79
|
+
- lib/active_record/type/oracle_enhanced/json.rb
|
|
80
|
+
- lib/active_record/type/oracle_enhanced/national_character_string.rb
|
|
81
|
+
- lib/active_record/type/oracle_enhanced/national_character_text.rb
|
|
82
|
+
- lib/active_record/type/oracle_enhanced/raw.rb
|
|
83
|
+
- lib/active_record/type/oracle_enhanced/string.rb
|
|
84
|
+
- lib/active_record/type/oracle_enhanced/text.rb
|
|
85
|
+
- lib/active_record/type/oracle_enhanced/timestampltz.rb
|
|
86
|
+
- lib/active_record/type/oracle_enhanced/timestamptz.rb
|
|
87
|
+
- lib/activerecord-oracle_enhanced-adapter.rb
|
|
88
|
+
- lib/arel/visitors/oracle.rb
|
|
89
|
+
- lib/arel/visitors/oracle12.rb
|
|
90
|
+
- lib/arel/visitors/oracle_common.rb
|
|
91
|
+
- spec/active_record/connection_adapters/emulation/oracle_adapter_spec.rb
|
|
92
|
+
- spec/active_record/connection_adapters/oracle_enhanced/compatibility_spec.rb
|
|
93
|
+
- spec/active_record/connection_adapters/oracle_enhanced/composite_spec.rb
|
|
94
|
+
- spec/active_record/connection_adapters/oracle_enhanced/connection_spec.rb
|
|
95
|
+
- spec/active_record/connection_adapters/oracle_enhanced/context_index_spec.rb
|
|
96
|
+
- spec/active_record/connection_adapters/oracle_enhanced/database_tasks_spec.rb
|
|
97
|
+
- spec/active_record/connection_adapters/oracle_enhanced/dbconsole_spec.rb
|
|
98
|
+
- spec/active_record/connection_adapters/oracle_enhanced/dbms_output_spec.rb
|
|
99
|
+
- spec/active_record/connection_adapters/oracle_enhanced/procedures_spec.rb
|
|
100
|
+
- spec/active_record/connection_adapters/oracle_enhanced/quoting_spec.rb
|
|
101
|
+
- spec/active_record/connection_adapters/oracle_enhanced/schema_dumper_spec.rb
|
|
102
|
+
- spec/active_record/connection_adapters/oracle_enhanced/schema_statements_spec.rb
|
|
103
|
+
- spec/active_record/connection_adapters/oracle_enhanced/structure_dump_spec.rb
|
|
104
|
+
- spec/active_record/connection_adapters/oracle_enhanced_adapter_spec.rb
|
|
105
|
+
- spec/active_record/connection_adapters/oracle_enhanced_data_types_spec.rb
|
|
106
|
+
- spec/active_record/oracle_enhanced/type/binary_spec.rb
|
|
107
|
+
- spec/active_record/oracle_enhanced/type/boolean_spec.rb
|
|
108
|
+
- spec/active_record/oracle_enhanced/type/character_string_spec.rb
|
|
109
|
+
- spec/active_record/oracle_enhanced/type/custom_spec.rb
|
|
110
|
+
- spec/active_record/oracle_enhanced/type/decimal_spec.rb
|
|
111
|
+
- spec/active_record/oracle_enhanced/type/dirty_spec.rb
|
|
112
|
+
- spec/active_record/oracle_enhanced/type/float_spec.rb
|
|
113
|
+
- spec/active_record/oracle_enhanced/type/integer_spec.rb
|
|
114
|
+
- spec/active_record/oracle_enhanced/type/json_spec.rb
|
|
115
|
+
- spec/active_record/oracle_enhanced/type/national_character_string_spec.rb
|
|
116
|
+
- spec/active_record/oracle_enhanced/type/national_character_text_spec.rb
|
|
117
|
+
- spec/active_record/oracle_enhanced/type/raw_spec.rb
|
|
118
|
+
- spec/active_record/oracle_enhanced/type/text_spec.rb
|
|
119
|
+
- spec/active_record/oracle_enhanced/type/timestamp_spec.rb
|
|
120
|
+
- spec/spec_config.yaml.template
|
|
121
|
+
- spec/spec_helper.rb
|
|
122
|
+
- spec/support/alter_system_set_open_cursors.sql
|
|
123
|
+
- spec/support/alter_system_user_password.sql
|
|
124
|
+
- spec/support/create_oracle_enhanced_users.sql
|
|
125
|
+
homepage: http://github.com/rsim/oracle-enhanced
|
|
126
|
+
licenses:
|
|
127
|
+
- MIT
|
|
128
|
+
metadata:
|
|
129
|
+
rubygems_mfa_required: 'true'
|
|
130
|
+
rdoc_options: []
|
|
131
|
+
require_paths:
|
|
132
|
+
- lib
|
|
133
|
+
required_ruby_version: !ruby/object:Gem::Requirement
|
|
134
|
+
requirements:
|
|
135
|
+
- - ">="
|
|
136
|
+
- !ruby/object:Gem::Version
|
|
137
|
+
version: 3.2.0
|
|
138
|
+
required_rubygems_version: !ruby/object:Gem::Requirement
|
|
139
|
+
requirements:
|
|
140
|
+
- - ">="
|
|
141
|
+
- !ruby/object:Gem::Version
|
|
142
|
+
version: 1.8.11
|
|
143
|
+
requirements: []
|
|
144
|
+
rubygems_version: 4.0.10
|
|
145
|
+
specification_version: 4
|
|
146
|
+
summary: Oracle enhanced adapter for ActiveRecord
|
|
147
|
+
test_files:
|
|
148
|
+
- spec/active_record/connection_adapters/emulation/oracle_adapter_spec.rb
|
|
149
|
+
- spec/active_record/connection_adapters/oracle_enhanced/compatibility_spec.rb
|
|
150
|
+
- spec/active_record/connection_adapters/oracle_enhanced/composite_spec.rb
|
|
151
|
+
- spec/active_record/connection_adapters/oracle_enhanced/connection_spec.rb
|
|
152
|
+
- spec/active_record/connection_adapters/oracle_enhanced/context_index_spec.rb
|
|
153
|
+
- spec/active_record/connection_adapters/oracle_enhanced/database_tasks_spec.rb
|
|
154
|
+
- spec/active_record/connection_adapters/oracle_enhanced/dbconsole_spec.rb
|
|
155
|
+
- spec/active_record/connection_adapters/oracle_enhanced/dbms_output_spec.rb
|
|
156
|
+
- spec/active_record/connection_adapters/oracle_enhanced/procedures_spec.rb
|
|
157
|
+
- spec/active_record/connection_adapters/oracle_enhanced/quoting_spec.rb
|
|
158
|
+
- spec/active_record/connection_adapters/oracle_enhanced/schema_dumper_spec.rb
|
|
159
|
+
- spec/active_record/connection_adapters/oracle_enhanced/schema_statements_spec.rb
|
|
160
|
+
- spec/active_record/connection_adapters/oracle_enhanced/structure_dump_spec.rb
|
|
161
|
+
- spec/active_record/connection_adapters/oracle_enhanced_adapter_spec.rb
|
|
162
|
+
- spec/active_record/connection_adapters/oracle_enhanced_data_types_spec.rb
|
|
163
|
+
- spec/active_record/oracle_enhanced/type/binary_spec.rb
|
|
164
|
+
- spec/active_record/oracle_enhanced/type/boolean_spec.rb
|
|
165
|
+
- spec/active_record/oracle_enhanced/type/character_string_spec.rb
|
|
166
|
+
- spec/active_record/oracle_enhanced/type/custom_spec.rb
|
|
167
|
+
- spec/active_record/oracle_enhanced/type/decimal_spec.rb
|
|
168
|
+
- spec/active_record/oracle_enhanced/type/dirty_spec.rb
|
|
169
|
+
- spec/active_record/oracle_enhanced/type/float_spec.rb
|
|
170
|
+
- spec/active_record/oracle_enhanced/type/integer_spec.rb
|
|
171
|
+
- spec/active_record/oracle_enhanced/type/json_spec.rb
|
|
172
|
+
- spec/active_record/oracle_enhanced/type/national_character_string_spec.rb
|
|
173
|
+
- spec/active_record/oracle_enhanced/type/national_character_text_spec.rb
|
|
174
|
+
- spec/active_record/oracle_enhanced/type/raw_spec.rb
|
|
175
|
+
- spec/active_record/oracle_enhanced/type/text_spec.rb
|
|
176
|
+
- spec/active_record/oracle_enhanced/type/timestamp_spec.rb
|
|
177
|
+
- spec/spec_config.yaml.template
|
|
178
|
+
- spec/spec_helper.rb
|
|
179
|
+
- spec/support/alter_system_set_open_cursors.sql
|
|
180
|
+
- spec/support/alter_system_user_password.sql
|
|
181
|
+
- spec/support/create_oracle_enhanced_users.sql
|