activerecord-oracle_enhanced-adapter 1.4.3 → 5.2.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (100) hide show
  1. checksums.yaml +5 -5
  2. data/History.md +1162 -2
  3. data/README.md +567 -155
  4. data/VERSION +1 -1
  5. data/lib/active_record/connection_adapters/emulation/oracle_adapter.rb +3 -1
  6. data/lib/active_record/connection_adapters/oracle_enhanced/column.rb +19 -0
  7. data/lib/active_record/connection_adapters/oracle_enhanced/connection.rb +132 -0
  8. data/lib/active_record/connection_adapters/oracle_enhanced/context_index.rb +345 -0
  9. data/lib/active_record/connection_adapters/oracle_enhanced/database_limits.rb +52 -0
  10. data/lib/active_record/connection_adapters/oracle_enhanced/database_statements.rb +280 -0
  11. data/lib/active_record/connection_adapters/oracle_enhanced/database_tasks.rb +64 -0
  12. data/lib/active_record/connection_adapters/oracle_enhanced/dbms_output.rb +59 -0
  13. data/lib/active_record/connection_adapters/oracle_enhanced/jdbc_connection.rb +538 -0
  14. data/lib/active_record/connection_adapters/oracle_enhanced/jdbc_quoting.rb +38 -0
  15. data/lib/active_record/connection_adapters/oracle_enhanced/lob.rb +46 -0
  16. data/lib/active_record/connection_adapters/oracle_enhanced/oci_connection.rb +435 -0
  17. data/lib/active_record/connection_adapters/oracle_enhanced/oci_quoting.rb +44 -0
  18. data/lib/active_record/connection_adapters/oracle_enhanced/procedures.rb +196 -0
  19. data/lib/active_record/connection_adapters/oracle_enhanced/quoting.rb +164 -0
  20. data/lib/active_record/connection_adapters/oracle_enhanced/schema_creation.rb +95 -0
  21. data/lib/active_record/connection_adapters/oracle_enhanced/schema_definitions.rb +79 -0
  22. data/lib/active_record/connection_adapters/oracle_enhanced/schema_dumper.rb +194 -0
  23. data/lib/active_record/connection_adapters/oracle_enhanced/schema_statements.rb +709 -0
  24. data/lib/active_record/connection_adapters/oracle_enhanced/schema_statements_ext.rb +28 -0
  25. data/lib/active_record/connection_adapters/oracle_enhanced/structure_dump.rb +353 -0
  26. data/lib/active_record/connection_adapters/oracle_enhanced/type_metadata.rb +33 -0
  27. data/lib/active_record/connection_adapters/oracle_enhanced/version.rb +3 -0
  28. data/lib/active_record/connection_adapters/oracle_enhanced_adapter.rb +385 -1083
  29. data/lib/active_record/type/oracle_enhanced/boolean.rb +20 -0
  30. data/lib/active_record/type/oracle_enhanced/integer.rb +15 -0
  31. data/lib/active_record/type/oracle_enhanced/json.rb +10 -0
  32. data/lib/active_record/type/oracle_enhanced/national_character_string.rb +26 -0
  33. data/lib/active_record/type/oracle_enhanced/national_character_text.rb +36 -0
  34. data/lib/active_record/type/oracle_enhanced/raw.rb +25 -0
  35. data/lib/active_record/type/oracle_enhanced/string.rb +29 -0
  36. data/lib/active_record/type/oracle_enhanced/text.rb +32 -0
  37. data/lib/active_record/type/oracle_enhanced/timestampltz.rb +25 -0
  38. data/lib/active_record/type/oracle_enhanced/timestamptz.rb +25 -0
  39. data/lib/activerecord-oracle_enhanced-adapter.rb +5 -13
  40. data/spec/active_record/connection_adapters/{oracle_enhanced_emulate_oracle_adapter_spec.rb → emulation/oracle_adapter_spec.rb} +5 -4
  41. data/spec/active_record/connection_adapters/oracle_enhanced/connection_spec.rb +469 -0
  42. data/spec/active_record/connection_adapters/{oracle_enhanced_context_index_spec.rb → oracle_enhanced/context_index_spec.rb} +140 -128
  43. data/spec/active_record/connection_adapters/oracle_enhanced/database_tasks_spec.rb +112 -0
  44. data/spec/active_record/connection_adapters/{oracle_enhanced_dbms_output_spec.rb → oracle_enhanced/dbms_output_spec.rb} +13 -13
  45. data/spec/active_record/connection_adapters/oracle_enhanced/procedures_spec.rb +365 -0
  46. data/spec/active_record/connection_adapters/oracle_enhanced/quoting_spec.rb +196 -0
  47. data/spec/active_record/connection_adapters/oracle_enhanced/schema_dumper_spec.rb +492 -0
  48. data/spec/active_record/connection_adapters/oracle_enhanced/schema_statements_spec.rb +1433 -0
  49. data/spec/active_record/connection_adapters/oracle_enhanced/structure_dump_spec.rb +478 -0
  50. data/spec/active_record/connection_adapters/oracle_enhanced_adapter_spec.rb +385 -550
  51. data/spec/active_record/connection_adapters/oracle_enhanced_data_types_spec.rb +92 -1249
  52. data/spec/active_record/oracle_enhanced/type/binary_spec.rb +119 -0
  53. data/spec/active_record/oracle_enhanced/type/boolean_spec.rb +208 -0
  54. data/spec/active_record/oracle_enhanced/type/dirty_spec.rb +139 -0
  55. data/spec/active_record/oracle_enhanced/type/float_spec.rb +48 -0
  56. data/spec/active_record/oracle_enhanced/type/integer_spec.rb +91 -0
  57. data/spec/active_record/oracle_enhanced/type/json_spec.rb +57 -0
  58. data/spec/active_record/oracle_enhanced/type/national_character_string_spec.rb +55 -0
  59. data/spec/active_record/oracle_enhanced/type/national_character_text_spec.rb +230 -0
  60. data/spec/active_record/oracle_enhanced/type/raw_spec.rb +122 -0
  61. data/spec/active_record/oracle_enhanced/type/text_spec.rb +229 -0
  62. data/spec/active_record/oracle_enhanced/type/timestamp_spec.rb +75 -0
  63. data/spec/spec_config.yaml.template +11 -0
  64. data/spec/spec_helper.rb +100 -93
  65. data/spec/support/alter_system_set_open_cursors.sql +1 -0
  66. data/spec/support/alter_system_user_password.sql +2 -0
  67. data/spec/support/create_oracle_enhanced_users.sql +31 -0
  68. metadata +105 -152
  69. data/.rspec +0 -2
  70. data/Gemfile +0 -52
  71. data/RUNNING_TESTS.md +0 -45
  72. data/Rakefile +0 -59
  73. data/activerecord-oracle_enhanced-adapter.gemspec +0 -130
  74. data/lib/active_record/connection_adapters/oracle_enhanced.rake +0 -105
  75. data/lib/active_record/connection_adapters/oracle_enhanced_activerecord_patches.rb +0 -41
  76. data/lib/active_record/connection_adapters/oracle_enhanced_base_ext.rb +0 -121
  77. data/lib/active_record/connection_adapters/oracle_enhanced_column.rb +0 -151
  78. data/lib/active_record/connection_adapters/oracle_enhanced_connection.rb +0 -119
  79. data/lib/active_record/connection_adapters/oracle_enhanced_context_index.rb +0 -359
  80. data/lib/active_record/connection_adapters/oracle_enhanced_core_ext.rb +0 -25
  81. data/lib/active_record/connection_adapters/oracle_enhanced_cpk.rb +0 -21
  82. data/lib/active_record/connection_adapters/oracle_enhanced_dirty.rb +0 -46
  83. data/lib/active_record/connection_adapters/oracle_enhanced_jdbc_connection.rb +0 -572
  84. data/lib/active_record/connection_adapters/oracle_enhanced_oci_connection.rb +0 -497
  85. data/lib/active_record/connection_adapters/oracle_enhanced_procedures.rb +0 -260
  86. data/lib/active_record/connection_adapters/oracle_enhanced_schema_definitions.rb +0 -227
  87. data/lib/active_record/connection_adapters/oracle_enhanced_schema_dumper.rb +0 -260
  88. data/lib/active_record/connection_adapters/oracle_enhanced_schema_statements.rb +0 -428
  89. data/lib/active_record/connection_adapters/oracle_enhanced_schema_statements_ext.rb +0 -258
  90. data/lib/active_record/connection_adapters/oracle_enhanced_structure_dump.rb +0 -294
  91. data/lib/active_record/connection_adapters/oracle_enhanced_tasks.rb +0 -17
  92. data/lib/active_record/connection_adapters/oracle_enhanced_version.rb +0 -1
  93. data/spec/active_record/connection_adapters/oracle_enhanced_connection_spec.rb +0 -334
  94. data/spec/active_record/connection_adapters/oracle_enhanced_core_ext_spec.rb +0 -19
  95. data/spec/active_record/connection_adapters/oracle_enhanced_cpk_spec.rb +0 -113
  96. data/spec/active_record/connection_adapters/oracle_enhanced_dirty_spec.rb +0 -141
  97. data/spec/active_record/connection_adapters/oracle_enhanced_procedures_spec.rb +0 -378
  98. data/spec/active_record/connection_adapters/oracle_enhanced_schema_dump_spec.rb +0 -440
  99. data/spec/active_record/connection_adapters/oracle_enhanced_schema_statements_spec.rb +0 -1400
  100. data/spec/active_record/connection_adapters/oracle_enhanced_structure_dump_spec.rb +0 -339
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
- SHA1:
3
- metadata.gz: 884d43f2d9c1a11b888e5030903457d3ded3affe
4
- data.tar.gz: 326b24f0cc5cdc842c4eba64c9c79d90cd74ef35
2
+ SHA256:
3
+ metadata.gz: f5c56a2903f50e1f4d29ebce73f1d3ecfb8ccc20fdff51530358068c99e74182
4
+ data.tar.gz: 1230afe509076a53d1f797ccbdba4d74b29647fdc263f60849d1ae34145e6116
5
5
  SHA512:
6
- metadata.gz: e7b653d6e585e61b3e81c8c5e71ea690b7c1d0467835953a60a2775d0be8e076b6bf8a2913d6df73bfbb33d3cbdacea1b89a5f4d554515059b0fa98073504091
7
- data.tar.gz: f73bf37bc3bd0b58f346ae2a4e18ab4338b093ac24ee7b96f06846810093b6afb145f85009735538d00b375ceedb3de922faf2b1f9ac77fcdeae979667f5b0a5
6
+ metadata.gz: ba4c22c74b3da5cd8768681df7c57aa0b07d1037d13efeecd3588a3487543f79b2d0eea2e7c0fe7fd947aa66d0f339c39ff263bf680831b603c74052fa38e990
7
+ data.tar.gz: cc928edfef4189c8ce3ed0e1d1643b2b13369ef052467b21fa7223c03d4a31925b45572e3d60e2ec3b108d12365d601f3e17884eda599586cd869789841c4895
data/History.md CHANGED
@@ -1,3 +1,1163 @@
1
+ ## 5.2.0 / 2018-04-10
2
+
3
+ * Major changes and fixes
4
+ * Support Rails 5.2.0
5
+
6
+ * Documentation changes
7
+ * Add README and UPGRADE sections for Rails 5.2 [#1637 #1638]
8
+ * Update bug templates for Rails 5.2 [#1663]
9
+
10
+ * Changes in specs
11
+ * Suppress expected exceptions by `report_on_exception` = `false` [#1655 #1656]
12
+
13
+ * Changes for CI and builds
14
+ * CI with JRuby 9.1.16.0 [#1659]
15
+ * CI with Ruby 2.5.1 [#1683 #1684]
16
+ * CI against Ruby 2.4.4 [#1686 #1687]
17
+ * Use ruby 2.3.7 and 2.2.10 for CI at release52 branch [#1688]
18
+ * Oracle enhanced adapter 5.2 needs Rails `5-2-stable` branch [#1654]
19
+
20
+ ## 5.2.0.rc1 / 2018-01-31
21
+
22
+ * Changes and bug fixes
23
+
24
+ * Support Rails 5.2.0.rc1
25
+ * Do not register `VARCHAR2(1)` sql type as `Type:Boolean` [#1621 #1623]
26
+ * Support `insert_fixtures_set` [#1633]
27
+ * Deprecated `insert_fixtures` [#1634]
28
+ * Refactor index options dumping [#1602]
29
+ * Skip failed spec explained at #1599 [#1599 #1604]
30
+ * CI with Ruby 2.5.0 [#1618]
31
+ * CI against JRuby 9.1.15.0 [#1605]
32
+ * Enable `Layout/SpaceBeforeComma` [#1606]
33
+ * Enable `Layout/LeadingCommentSpace` cop [#1607]
34
+ * Enable autocorrect for `Lint/EndAlignment` cop [#1629]
35
+ * Remove `--force` option for installing bundler [#1616]
36
+
37
+ ## 5.2.0.beta1 / 2017-11-27
38
+
39
+ * Major changes and fixes
40
+
41
+ * Support Rails 5.2.0.beta1
42
+ * Oracle enhanced adapter version follows Rails versioning [#1488]
43
+ * Handle `TIMESTAMP WITH TIMEZONE` separately from `TIMEZONE` [#1267]
44
+ * Support `timestamptz` and `timestampltz` for migrations #1285
45
+ * `supports_json?` returns false [#1562]
46
+ * Add synonyms in `data_sources` [#1380, #1567]
47
+ * Add sequence with settings to structure dump [#1354]
48
+ * Support for NCLOB datatype [#1428, #1440]
49
+ * Use conventional fixture load [#1366]
50
+ * Address `ORA-00905: missing keyword: EXPLAIN PLAN FOR` [#1384]
51
+ * Use new method name for active record dirty checks [#1406]
52
+ * check for schema name when validating table name [#1408, #1410]
53
+ * Prefer to place a table options before `force: :cascade` [#1457]
54
+ * Enable TCP keepalive for OCI connections [#1489]
55
+ * Do not expose `all_schema_indexes` [#1495]
56
+ * Using bind variables for dictionary access [#1498]
57
+ * Use bind variables for `table_comment` `column_comment` `foreign_keys` [#1502]
58
+ * Respect database instance `cursor_sharing` value `exact` by default [#1503, #1556]
59
+ * Address `CommentTest#test_change_table_comment_to_nil` failure [#1504]
60
+ * Address explain with binds errors [#908, #1386, #1538]
61
+ * Address `MigrationTest#test_create_table_with_query_from_relation` error [#1543]
62
+ * Follow the new interface of AR::ConnectionAdapters::IndexDefinition#initialize [#1295]
63
+ * Remove `lengths`, `where`, `using` from `IndexDefinition` [#1529]
64
+ * Arity change in insert method [#1382]
65
+ * Restore the ability that SQL with binds for `insert` [#1424]
66
+ * Restore `to_sql` to return only SQL [#1423]
67
+ * Signature fix for `select_one` `select_value` `select_values` [#1475]
68
+ * `columns` second argument does not exist in Abstract adapter [#1519]
69
+ * Arel::Nodes::BindParam#initialize introduced [#1383]
70
+ * Log the purpose of sql in `disable_referential_integrity` [#1550]
71
+ * Change log format of "Primary Key Trigger" to one line [#1551]
72
+ * Log multi lines SQL statements into one line [#1553]
73
+ * Log multi lines SQL statements into one line at `structure_dump.rb` [#1555]
74
+ * [ci skip] `open_cursors` value should be larger than `:statement_limit` [#1573]
75
+ * [skip ci] Add `schema` option in the comment [#1574]
76
+ * [skip ci] `emulate_booleans_from_strings` behavior changes [#1576]
77
+ * Restore calling `OCIConnection#bind_returning_param` [#1581]
78
+ * Add these errors to be recognized as `ActiveRecord::StatementInvalid` [#1584]
79
+ * Add `ORA-02289` to be recognized as `ActiveRecord::StatementInvalid` [#1586]
80
+ * Address `BasicsTest#test_clear_cache!` failure [#1587]
81
+ * Use Bundler 1.15 to workaround bundler/bundler#6072 [#1590]
82
+ * Translate `ORA-00060` into `ActiveRecord::Deadlocked` error [#1591]
83
+ * Add `ORA-02449` to be recognized as `ActiveRecord::StatementInvalid` [#1593, #1596]
84
+ * Support `discard!` method [#1598]
85
+
86
+ * Deprecation or removing deprecated code
87
+
88
+ * Remove `OracleEnhancedAdapter.cache_columns` [#1490, #1492]
89
+ * Deprecate `supports_statement_cache?` [#1321]
90
+ * Remove `compress_lines` [#1327]
91
+ * Remove `OracleEnhanced::SchemaDumper::TableInspect` [#1400]
92
+ * Remove `remove_prefix_and_suffix` and specs from Oracle enhanced adapter [#1420]
93
+ * Remove unused returning value `stream` [#1438]
94
+ * Remove `OracleEnhancedAdapter.emulate_dates` [#1448]
95
+ * Remove `emulate_dates` and `emulate_dates_by_column_name` [#1450]
96
+ * Remove `emulate_integers_by_column_name` [#1451]
97
+ * Remove `@@do_not_prefetch_primary_key` class variable [#1496]
98
+ * Remove `string_to_date` which has been removed from Rails 4.2 [#1509]
99
+ * Remove `string_to_time` which has been removed from Rails 4.2 [#1510]
100
+ * Remove `guess_date_or_time` which has not been called [#1511]
101
+ * Remove unused `object_type?` and `object_type` ivar [#1512]
102
+ * Remove non-existent `:nchar` from `attr_reader` [#1513]
103
+ * Remove `ActiveRecord::ConnectionAdapter::OracleEnhanced::Column#lob?` [#1522]
104
+ * Remove `OracleEnhanced::Column#returning_id?` [#1523]
105
+ * Remove `attr_reader :table_name` [#1524]
106
+ * Remove `combine_bind_parameters` [#1527]
107
+ * Remove `OracleEnhancedAdapter.default_tablespaces[native_database_types[type][:name]]` [#1544]
108
+ * Remove unused `require "digest/sha1"` [#1545]
109
+ * Remove deprecations for 5.2 [#1548]
110
+ * Remove `OracleEnhanced::Connection#select_values` [#1558]
111
+ * Remove `@connection` from `@connection.oracle_downcase` and `@connection.select_value` [#1559]
112
+ * Rename `OracleEnhanced::Connection#select_value` to `_select_value` [#1563]
113
+ * Rename `OracleEnhanced::Connection#oracle_downcase` to `_oracle_downcase` [#1565]
114
+ * Remove `OCIConnection#typecast_result_value` handling `OraNumber` [#1578]
115
+ * [skip ci] Changing `NLS_DATE_FORMAT` and `NLS_TIMESTAMP_FORMAT` is not supported [#1575]
116
+ * [skip ci] Remove ruby versions in the comment [#1577]
117
+ * Remove `OCIConnection#returning_clause` and `JDBCConnection#returning_clause` [#1579]
118
+ * Remove `OCIConnection#exec_with_returning` and `JDBCConnection#exec_with_returning` [#1580]
119
+ * Update `JDBCConnection#bind_param` case condition [#1583]
120
+
121
+ * Refactoring
122
+
123
+ * Refactor `SchemaDumper` to make it possible to adapter specific customization [#1430]
124
+ * Rename `SchemaDumper#indexes` to `SchemaDumper#_indexes` [#1399]
125
+ * Use ActiveRecord::Type::Json [#1352]
126
+ * Introduce module `DatabaseLimits` [#1322]
127
+ * Move `oracle_downcase` to `Quoting` module [#1328]
128
+ * Make `type_map` to private because it is only used in the connection adapter [#1381]
129
+ * Remove `add_runtime_dependency` with arel [#1385]
130
+ * Move methods for synonyms out of `SchemaStatementsExt` [#1387]
131
+ * Remove incorrect prepend to `ActiveRecord::ColumnDumper` [#1394]
132
+ * Handle `ActiveRecord::SchemaDumper` by `adapter_name` [#1395]
133
+ * Rewrite `remove_prefix_and_suffix` to be similar with super #1401
134
+ * `remove_prefix_and_suffix` handles dollar sign by `Regexp#escape` [#1402]
135
+ * `prepare_column_options` is now private [#1429]
136
+ * Introduce `OracleEnhanced::SchemaStatements#table_options` [#1439]
137
+ * Extract `ActiveRecord::ConnectionAdapters::OracleEnhanced::Column` [#1445]
138
+ * Extract `ActiveRecord::ConnectionAdapters::OracleEnhanced::DbmsOutput` [#1446]
139
+ * Introduce `SchemaDumpingHelper#dump_table_schema` [#1455]
140
+ * Rename `OracleEnhancedConnection` to `OracleEnhanced::Connection` [#1477]
141
+ * Introduce `ActiveRecord::ConnectionAdapters::OracleEnhanced::TypeMetadata` [#1515]
142
+ * Change `schema_creation` to private [#1517]
143
+ * Change `create_table_definition` and `fetch_type_metadata` to private [#1518]
144
+ * Refactor `columns` [#1521]
145
+ * Let `ActiveRecord::ConnectionAdapters::OracleEnhanced::TypeMetadata` handle `virtual` type [#1526]
146
+ * Clean up `column_definitions` method [#1528]
147
+ * Remove unnecessary `ActiveRecord::ConnectionAdapters` [#1530]
148
+ * Rename `OracleEnhancedStructureDump` to `OracleEnhanced::StructureDump` [#1531]
149
+ * Move up require for types [#1533]
150
+ * These methods are private in `AbstractAdapter` or `PostgreSQLAdapter` [#1534]
151
+ * `ActiveRecord::ConnectionAdapters::AbstractAdapter#log` is a `private` [#1535]
152
+ * Move `self.default_sequence_start_value` method [#1536]
153
+ * Rename `ActiveRecord::OracleEnhanced::Type` to `ActiveRecord::Type::OracleEnhanced` [#1541]
154
+ * Move `write_lobs` under `OracleEnhanced::DatabaseStatements` module [#1546]
155
+ * Introduce `OracleEnhanced::Lob` not to modify `ActiveRecord::Base` directly [#1547]
156
+ * Use `ActiveSupport.on_load` to hook into `ActiveRecord::Base` [#1568]
157
+ * Call `virtual_columns_for` when `supports_virtual_columns?` returns true [#1554]
158
+ * Move `tables` and related methods into `OracleEnhanced::SchemaStatements` [#1557]
159
+ * Avoid using `OracleEnhanced::Connection#select_value` [#1560]
160
+ * Make `OracleEnhanced::Connection#describe` private [#1566]
161
+
162
+ * Changes in specs
163
+
164
+ * Always generate `debug.log` for unit tests [#1476]
165
+ * Use Rails migration for creating table at "using offset and limit" [#1276]
166
+ * Use Rails migration for creating table at `valid_type?` [#1277]
167
+ * Clean up before(:each) and after(:each) at "rename tables and sequences" [#1278]
168
+ * Use Rails migration for creating table at `BINARY_FLOAT columns" specs [#1280]
169
+ * Use Rails migration for creating table at "handling of BLOB columns" [#1282]
170
+ * Use Rails migration for creating table at "handling of CLOB columns" [#1283]
171
+ * Use Rails migration for creating table at "assign string to :date and :datetime columns" [#1284]
172
+ * Use Rails migration for creating table at "table columns" [#1287]
173
+ * Use Rails migration for creating table at procedure specs [#1288]
174
+ * Use Rails migration for creating table at database tasks specs [#1290]
175
+ * Suppress `warning: assigned but unused variable - poolable_connection_factory` [#1292]
176
+ * Suppress `warning: assigned but unused variable - post` [#1293]
177
+ * Move spec files under `oracle_enhanced` directory [#1441]
178
+ * Move spec files under `emulation` directory [#1442]
179
+ * Move schema_dumper_spec under `oracle_enhanced` directory [#1443]
180
+ * Rename spec/active_record/connection_adapters/oracle_enhanced_dirty_spec.rb [#1447]
181
+ * Remove `set_boolean_columns` from `oracle_enhanced_data_types_spec.rb` [#1452]
182
+ * Remove `set_string_columns` from `oracle_enhanced_data_types_spec.rb` [#1454]
183
+ * Use `drop_table` if_exists: true` to avoid rescue nil [#1456]
184
+ * Extract JSON data type specs [#1459]
185
+ * Extract NationalCharacterString data type specs [#1460]
186
+ * Extract RAW data type specs [#1461]
187
+ * Extract TEXT data type specs [#1462]
188
+ * Extract INTEGER data type specs [#1463]
189
+ * Remove redundant `type` from spec files [#1464]
190
+ * Extract boolean data type specs [#1465]
191
+ * Extract NationalCharacterText data type specs [#1466]
192
+ * Extract specs for `OracleEnhanced::Quoting` [#1469]
193
+ * Extract TIMPSTAMP, TIMESTAMPTZ and TIMESTAMPLTZ specs [#1480]
194
+ * Extract FLOAT type specs [#1482]
195
+ * Use `SchemaDumpingHelper#dump_table_schema` at `context_index_spec` [#1491]
196
+ * Remove unused `fk_name` [#1514]
197
+ * Show correct bind value information in debug.log [#1537]
198
+ * rubocop 0.48.1 [#1281]
199
+
200
+ * Changes for CI and builds
201
+
202
+ * Use `rubocop-0-51` channel on Code Climate [#1589]
203
+ * Use `rubocop-0-50` channel on Code Climate [#1539]
204
+ * Use `rubocop-0-49` channel to run rubocop 0.49 [#1478]
205
+ * Bump ruby versions to 2.4.2, 2.3.5 and 2.2.8 at Travis [#1484]
206
+ * CI against JRuby 9.1.14.0 [#1592]
207
+ * CI against JRuby 9.1.13.0 [#1471]
208
+ * set `open_cursor` value to `1200` [#1431]
209
+ * Use bundler 1.16.0.preX and update rubygems to the latest [#1532]
210
+ * [ci skip] Create an issue template [#1317]
211
+ * [ci skip] Add Oracle enhanced adapter version to the issue template [#1319]
212
+ * [ci skip] Remove `self.emulate_integers_by_column_name = true` [#1494]
213
+ * Remove leftover comments [ci skip] [#1520]
214
+ * Move issue template to github sub directory [skip ci] [#1320]
215
+ * Replace :github source with https [#1499]
216
+ * Simplify `git_source` in Gemfile [#1500]
217
+ * Enable and apply `Style/Semicolon` [#1570]
218
+ * Enable and apply Style/RedundantReturn [#1571]
219
+ * Enable `Style/DefWithParentheses` rubocop rule [#1597]
220
+ * bundler 1.16.0 is out, no more --pre [#1572]
221
+
222
+ ## 1.8.2 / 2017-08-24
223
+
224
+ * Changes and bug fixes
225
+ * Fix cursor leak when using activerecord-import gem [#1409, #1433]
226
+ * Mention new statement_limit default [#1364, #1365]
227
+ * Add upgrade section for `:statement_limit` value at Rails 5.1 [#1362, #1363]
228
+ * Set `disk_asynch_io` to `false` [#1413, #1414]
229
+ * Update README.md [#1367 #1368]
230
+ * CI against JRuby 9.1.12.0 [#1359, #1360]
231
+ * Bump ruby versions [#1346]
232
+ * rubocop namespace changes from `Style` to `Layout` [#1347, #1351]
233
+
234
+ * Known issues
235
+ * No changes since 1.8.0.rc3
236
+
237
+ ## 1.8.1 / 2017-05-11
238
+
239
+ * Changes and bug fixes
240
+ * Address `undefined method `tablespace' for #<ActiveRecord::ConnectionAdapters::IndexDefinition [#1332, #1334, #1336]
241
+ * Rails 5.1.0.rcX is not supported anymore [#1311]
242
+ * Use Ubuntu 12.04 at Travis [#1324]
243
+
244
+ ## 1.8.0 / 2017-04-27
245
+
246
+ * Major enhancements
247
+ * Support Rails 5.1.0
248
+ * Add JSON attribute support [#1240]
249
+ * Update `database.yml` when `rails new <new_app> -d oracle` specified [rails/rails#28257]
250
+
251
+ * Changes and bug fixes
252
+ * No changes since 1.8.0.rc3
253
+
254
+ ## 1.8.0.rc3 / 2017-04-24
255
+
256
+ * Changes and bug fixes
257
+ * Include VERSION file in gem [#1302, #1303]
258
+
259
+ ## 1.8.0.rc2 / 2017-04-19
260
+
261
+ * Changes and bug fixes
262
+ * Fix `select_all` with legacy `binds` [#1246,#1248,#1250]
263
+ * Fix the `BINARY_FLOAT` column type returns nil in JRuby [#1244, #1254, #1255]
264
+ * Handle `TIMESTAMP WITH TIMEZONE` separately from `TIMEZONE` [#1206, #1267, #1268]
265
+ * Changing `NLS_DATE_FORMAT` and `NLS_TIMESTAMP_FORMAT` is not supported [#1267, #1268]
266
+ * Let abstract adapter type cast Date, DateTime and Time for JRuby [#1272, #1273]
267
+ * Collapse a file specification in gemspec [#1296, #1297]
268
+ * Do not write VERSION directly with gemspec [#1298, #1299]
269
+ * Omit specification of release date in gemspec [#1298, #1299]
270
+ * Add missing `timestamptz.rb` to gemspec at release18 branch [#1286]
271
+ * Remove specs for unsupported behaviour which causes `ORA-01861` [#1267, #1269, #1271]
272
+ * Address `OCIException: OCI8 was already closed` at specs for JSON [#1265, #1266]
273
+ * Bump Ruby version to 2.2.7 [#1261]
274
+
275
+ ## 1.8.0.rc1 / 2017-03-20
276
+
277
+ * Major enhancements
278
+ * Support Rails 5.1.0.rc1
279
+ * Add JSON attribute support #1240
280
+ * Update `database.yml` when `rails new <new_app> -d oracle` specified [rails/rails#28257]
281
+
282
+ * Changes and bug fixes
283
+ * Eliminate a redundant empty lines in schema.rb generated by SchemaDumper [#1232]
284
+ * Align the columns of db/structure.sql [#1242]
285
+ * Use Abstract StatementPool (new `statement_limit` default is 1000 was 250) [#1228]
286
+ * Decouple Composite Primary Key code [#1224, #1225]
287
+ * Push `valid_type?` up to abstract adapter [#1208]
288
+ * Oracle12 visitor is also available for 12.2 [#1217]
289
+ * Oracle Database 12c Release 2 bundles new ojdbc8.jar [#1218]
290
+ * Deprecate `supports_migrations?` on connection adapters [#1209]
291
+ * Use `ActiveRecord::SchemaMigration.table_name` [#1221]
292
+ * No need to check if `changed?` defined [#1226]
293
+ * No need to initialize `@quoted_column_names` and `@quoted_table_names` [#1227]
294
+ * Hard code `empty_blob()` or `empty_clob()` based on types [#1229]
295
+ * ruby-plsql 0.6.0 or higher version is required [#1216]
296
+ * No need to specify `rack` in Gemfile [#1230]
297
+ * Bundle from more secure source [#1243]
298
+ * Add Travis CI build status [#1231]
299
+ * Bump JRuby to 9.1.8.0 [#1222]
300
+ * Remove a duplicate spec testing `Model.distinct.count` [#1235]
301
+ * Suppress unused and not initialized warnings [#1215]
302
+ * Suppress `WARNING: Using the `raise_error` matcher without providing a specific error` [#1219]
303
+ * Suppress `WARNING: Using `expect { }.not_to raise_error(...)` risks false positives` [#1220]
304
+
305
+ ## 1.8.0.beta1 / 2017-02-27
306
+
307
+ * Major enhancements
308
+ * Support Rails 5.1.0.beta1
309
+ * Fallback :bigint to :integer for primary keys [#1077]
310
+ * Drop Java SE 6 or older version of Java SE support [#1126]
311
+ * Drop JRuby 9.0.x support for Rails 5.1 [#1147]
312
+ * Refactor ColumnDumper to support consistent Virtual column with Rails [#1185]
313
+ * Schema dumper supports `t.index` in `create_table` [#1187]
314
+ * `table_exists?` only checks tables, does not check views [#1179, #1191]
315
+ * `data_sources` returns tables and views [#1192]
316
+ * `Model.table_comment` syntax is not supported anymore [#1199]
317
+ * Remove Oracle enhanced adapter own foreign key implementations [#977]
318
+
319
+ * Changes and bug fixes
320
+ * Rails 5.1.0.beta1 is out [#1204]
321
+ * Composite foreign keys are not supported [#1188]
322
+ * Introduce `supports_virtual_columns?` [#1184]
323
+ * Made it able to change column with adding comment [#1156, #1164]
324
+ * Omit table comment option of schema.rb if it is blank [#1159]
325
+ * Fix to return nil if column comment is blank at table creation [#1158]
326
+ * `bind_param` arity change, not to take column [#1203]
327
+ * ActiveRecord `structure_dump` and `structure_load` signature changes [#1125]
328
+ * Quoting booleans should return a frozen string [#956]
329
+ * Pass `type_casted_binds` to log subscriber [#957]
330
+ * `supports_datetime_with_precision?` always returns `true` [#964]
331
+ * Handle ORA-00942 and ORA-00955 as `ActiveRecord::StatementInvalid` [#1093]
332
+ * Raise `ActiveRecord::StatementInvalid` at `rename_index` when old index does not exist [#1195]
333
+ * Handle `ORA-01418: specified index does not exist` as `ActiveRecord::StatementInvalid` [#1195]
334
+ * Raise ActiveRecord::NotNullViolation when OCIError: ORA-01400 [#1174]
335
+ * Rails 5.1 : insert into `returning_id` not working since rails/rails#26002 [#988, #1088]
336
+ * Make `exec_{insert,update}` signatures consistent [#966]
337
+ * Introduce OracleEnhanced `ColumnMethods` module and `AlterTable` `Table` classes [#1081]
338
+ * `empty_insert_statement_value` is not implemented [#1180]
339
+ * Switch to keyword args for `type_to_sql` [#1167, #1168]
340
+ * Replace `all_timestamp_attributes` with `all_timestamp_attributes_in_model` [#1129]
341
+ * `current_database` returns the expected database name [#1135]
342
+ * Use `supports_foreign_keys_in_create?` [#1143]
343
+ * Address `add_column` gets `ArgumentError: wrong number of arguments` [#1157, #1170]
344
+ * Address `change_column` `ArgumentError: wrong number of arguments` [#1171, #1172]
345
+ * SchemaDumper should not dump views as tables [#1192]
346
+ * Use Abstract `select_rows(arel, name = nil, binds = [])` [#1132]
347
+ * Address `OCIError: ORA-01756: quoted string not properly terminated:` [#1102]
348
+ * Use `table_exists?` and `tables` [#1170, #1178]
349
+ * Move `ActiveModel::Type::Text` to `ActiveRecord::Type::Text` [#1082]
350
+ * Support schema option for views [#1190]
351
+ * Quote table and trigger names containing sinqle quote character [#1192]
352
+ * Restore :raw type migration support [#1176]
353
+ * Refactor Boolean type by removing duplicate code [#1047]
354
+ * Remove deprecated methods to get and set columns [#958]
355
+ * Remove `is_?` deprecated methods [#959]
356
+ * Remove `quote_date_with_to_date` and `quote_timestamp_with_to_timestamp` #960
357
+ * Remove unnecessary comments in Type [#961]
358
+ * Remove options[:default] for virtual columns [#962]
359
+ * Remove `self.emulate_dates` and `self.emulate_dates_by_column_name` [#963]
360
+ * Delete `self.boolean_to_string` [#967]
361
+ * Delete Oracle enhanced its own `join_to_update` [#968]
362
+ * Remove `self.ignore_table_columns` [#969]
363
+ * Remove unused `self.virtual_columns` [#970]
364
+ * Remove `dump_schema_information` and `initialize_schema_migrations_table` [#972]
365
+ * Remove `fallback_string_to_date`, `fallback_string_to_time` [#974, #975, #1112]
366
+ * Remove `dependent` option from `add_foreign_key` [#976]
367
+ * Remove specs testing Rails `self.ignored_columns` features [#987]
368
+ * Remove `add_foreign_key` specs with `table_name_prefix` and `table_name_suffix` [#990]
369
+ * Remove `type_cast` method just calling super [#1201]
370
+ * Remove `ids_in_list_limit` alias [#1202]
371
+ * Remove unused comments from data types spec [#1079]
372
+ * Remove deprecated `table_exists?` and `tables` [#1100, #1178]
373
+ * Remove deprecated `name` argument from `#tables` [#1189]
374
+ * Prefer `SYS_CONTEXT` function than `v$nls_parameters` view [#1107]
375
+ * `initialize_schema_migrations_table` method has been removed [#1144]
376
+ * `index_name_exists?` at schema statements spec is not necessary [#1197]
377
+ * Remove comments for `data_source_exists?` [#1200]
378
+ * Address DEPRECATION WARNING: Passing a column to `quote` has been deprecated. [#978]
379
+ * Deprecate `supports_primary_key?` [#1177]
380
+ * Deprecate passing `default` to `index_name_exists?` [#1175]
381
+ * Suppress `add_index_options` method `DEPRECATION WARNING:` [#1193]
382
+ * Suppress `remove_index` method deprecation warning [#1194]
383
+ * Suppress DEPRECATION WARNING at `rename_index` [#1195]
384
+ * Suppress `oracle_enhanced_adapter.rb:591: warning: assigned but unused` [#1198]
385
+ * Use rails rubocop setting [#1111]
386
+ * Rubocop addresses `Extra empty line detected at class body beginning.` [#1078]
387
+ * Address `Lint/EndAlignment` offences by changing code ifself [#1113]
388
+ * rubocop `AlignWith` has been renamed to `EnforcedStyleAlignWith` [#1142]
389
+ * Add `Style/EmptyLinesAroundMethodBody` [#1173]
390
+ * Address git warnings: [#1000]
391
+ * Update `required_rubygems_version` just following rails.gemspec [#1110]
392
+ * Use the latest ruby-plsql while developing alpha version [#1114]
393
+ * Use the latest arel master while developing alpha version [#1115]
394
+ * Bump Arel to 8.0 [#1120, #1121, #1124]
395
+ * Use released Arel 8 [#1205]
396
+ * Remove duplicate license information [#965]
397
+ * Clean up comments and un-commented specs for table comment feature [#971]
398
+ * Use Rails migration `create_table` to create table and sequence [#991]
399
+ * Removed a invalid spec about TIMESTAMP column [#1020]
400
+ * Remove specs which set `attribute :hire_date, :date` [#1024]
401
+ * Remove version specification for rspec [#1055]
402
+ * Suppress `create_table(:test_employees, {:force=>true})` message [#1080]
403
+ * Perform `drop_table :test_employees` [#1087]
404
+ * Address rspec deprecation warning [#1089]
405
+ * Suppress rspec warning [#1101]
406
+ * Suppress `Dropped database 'ORCL'` messages while running rspec [#1103]
407
+ * Address rspec warnings by checking with `raise_errors_for_deprecations!` [#1104]
408
+ * `clear_cache!` always exists at least since Rails 4.0 [#1106]
409
+ * Use SimpleCov [#1108]
410
+ * Enable RSpec `--warnings` option [#1116]
411
+ * Remove entry for rcov since it already migrated to simplecov [#1118]
412
+ * Add spec for #1149 `TypeError: can't cast Java::JavaSql::Timestamp` [#1152]
413
+ * Remove a duplicated specs [#1163]
414
+ * Specify `--require spec_helper` in .rspec [#1186]
415
+ * Add 'pry' and 'pry-nav' for JRuby debug [#973]
416
+ * Remove ruby-debug [#1196]
417
+ * Use Ubuntu Trusty at travis [#1095]
418
+ * Address travis.yml has multilpe language entries [#1109]
419
+ * Use docker-oracle-xe-11g for Travis CI [#1117]
420
+ * Modify `JRUBY_OPTS` for Travis CI [#1119]
421
+ * Add ruby-head and jruby-head to .travis.yml [#1127]
422
+ * Use JRuby 9.1.7.0 [#1138]
423
+ * Add JRuby 9.0.4.0 and allow JRuby 9.0.5.0 failures [#1146]
424
+ * Tiny fix for .travis.yml after migrating to docker-oracle-xe-11g [#1183]
425
+ * Templates updated to use Rails master branch for Rails 5.1 [#1133]
426
+ * Update running tests to include rails-dev-box [#1140]
427
+
428
+ * Known issues
429
+ * Legacy primary key support testing [#1207]
430
+ * PrimaryKeyIntegerNilDefaultTest failures [#1162]
431
+ * Skip `explain should explain query with bind` with JRuby [#1091]
432
+
433
+ ## 1.7.10 / 2017-02-03
434
+
435
+ * Changes and bug fixes
436
+ * Address `TypeError: can't cast Java::JavaSql::Timestamp` [#1147, 1153]
437
+ * Use docker-oracle-xe-11g for Travis CI for release17 branch [#1150]
438
+ * Use JRuby 9.1.7.0 for release17 branch [#1154]
439
+ * Pending until further investigation made for #908 for release17 branch [#1151]
440
+
441
+ * Known issues
442
+ * No changes since 1.7.7
443
+
444
+ ## 1.7.9 / 2016-12-26
445
+
446
+ * Changes and bug fixes
447
+
448
+ * Fix ORA-00933 error when executing `rails db:schema:load` [#1084]
449
+ * Quoting booleans should return a frozen string [#1083]
450
+ * CI against ruby 2.4.0 [#1096, #1086]
451
+
452
+ * Known issues
453
+ * No changes since 1.7.7
454
+
455
+ ## 1.7.8 / 2016-12-06
456
+
457
+ * Changes and bug fixes
458
+ * Separate schema migration insert statements correctly [#1074]
459
+ * Add `use_old_oracle_visitor` example [#1068]
460
+ * `supports_fetch_first_n_rows_and_offset?` returns `false` when `use_old_oracle_visitor` is true {1070, #1075]
461
+ * Suppress `create_table(:posts, {:force=>true})` message [#1067, #1072]
462
+ * Enable rubocop and Code Climate [#1056, #1057, #1060, #1062, #1071]
463
+ * Bump MRI version for travis [#1054, #1059]
464
+ * Drop `ActiveRecord::InternalMetadata.table_name` after each spec [#1073]
465
+
466
+ * Known issues
467
+ * No changes since 1.7.7
468
+
469
+ ## 1.7.7 / 2016-11-15
470
+
471
+ * Changes and bug fixes
472
+ * Introduce `use_old_oracle_visitor` to choose old Oracle visitor [#1049]
473
+ * Fix deprecated warnings in Ruby 2.4.0+ [#1048, #1052]
474
+ * Add Ruby 2.2.5 and JRuby 9.0.5.0 for travis [#1050, #1051]
475
+
476
+ * Known issues
477
+ * No changes since 1.7.6
478
+
479
+ ## 1.7.6 / 2016-11-12
480
+
481
+ * Changes and bug fixes
482
+ * Register `:boolean` type for Attribute API [#942, #1045]
483
+ * No need to set version in Gemfile anymore since rdoc 5.0.0 released [#1040]
484
+ * Bump MRI and JRuby version for travis [#1041, #1042, #1043]
485
+ * Known issues
486
+
487
+ - Only with JRuby
488
+ * Rails 5 : explain should explain query with binds got Java::JavaSql::SQLException: Invalid column index [#908]
489
+
490
+ ## 1.7.5 / 2016-11-06
491
+
492
+ * Changes and bug fixes
493
+
494
+ * Multi insert is not supported [#1016]
495
+ * Use `default_timezone = :local` to handle `TIMESTAMP WITH LOCAL TIME ZONE` [#1001, #1019]
496
+ * Address Rails 5 : custom methods for create record when exception is raised in `after_create` callback fails [#944, #1023]
497
+ * Using the gem in non-rails apps [#1026]
498
+ * Support connection strings in `DATABASE_URL1 [#1032, #1035]
499
+ * Rebuild primary key index to `default_tablespaces[:index]` [#1028]
500
+ * Address `Java::JavaSql::SQLException: Missing IN or OUT parameter at index:: 3:` [#1030, #1033]
501
+
502
+ * Known issues
503
+
504
+ - Only with JRuby
505
+ * Rails 5 : explain should explain query with binds got Java::JavaSql::SQLException: Invalid column index [#908]
506
+ * Workaround: execute explain without bind or use CRuby
507
+ - CRuby and JRuby
508
+ * Rails 5 : specs need update to emulate_booleans_from_strings [#942]
509
+
510
+ ## 1.7.4 / 2016-10-14
511
+
512
+ * Changes and bug fixes
513
+
514
+ * Bump Arel 7.1.4 or higher [#1010, #848, #946]
515
+ * NoMethodError: undefined method `write' for nil:NilClass for serialized column [#798, #1007]
516
+ * Quote table name in disable_referential_integrity [#1012, #1014]
517
+ * Rails 5 : undefined method `to_i' for #<Arel::Nodes::BindParam:0x00000002c92910> [#848, rails/arel#438, rails/arel#450]
518
+ * Add UPGRADE section : Upgrade Rails 4.2 or older version to Rails 5 [#1011, #993]
519
+ * add docker to RUNNING_TEST.md [#1006]
520
+ * Add executable test cases using Minitest or RSpec [#1002]
521
+
522
+ * Known issues
523
+
524
+ - Only with JRuby
525
+ * Rails 5 : explain should explain query with binds got Java::JavaSql::SQLException: Invalid column index [#908]
526
+ * Workaround: execute explain without bind or use CRuby
527
+ - CRuby and JRuby
528
+ * Rails 5 : custom methods for create record when exception is raised in after_create callback fails [#944]
529
+ * Rails 5 : specs need update to emulate_booleans_from_strings [#942]
530
+ * #998 causes regression for `TIMESTAMP WITH LOCAL TIME ZONE` [#1001]
531
+
532
+ ## 1.7.3 / 2016-10-03
533
+
534
+ * Changes and bug fixes
535
+ * Respect `ActiveRecord::Base.default_timezone = :utc` rather than connection `time_zone` value [#755, #998]
536
+
537
+ * Known issues
538
+ * No changes since 1.7.0.rc1
539
+
540
+ ## 1.7.2 / 2016-09-19
541
+
542
+ * Changes and bug fixes
543
+ * Remove ruby-oci8 from runtime dependency [#992,#995]
544
+ * Update README to add `gem 'ruby-oci8'` explicitly for CRuby users [#992, #995]
545
+
546
+ * Known issues
547
+ * No changes since 1.7.0.rc1
548
+
549
+ ## 1.7.1 / 2016-08-22
550
+
551
+ * Changes and bug fixes
552
+ * Add `ActiveRecord::OracleEnhanced::Type::Boolean` [#985, #979]
553
+ * Address `create_table': undefined method `each_pair' for []:Array (NoMethodError) [#980]
554
+ * Deprecate `fallback_string_to_date`, `fallback_string_to_time` [#974]
555
+
556
+ * Known issues
557
+ * No changes since 1.7.0.rc1
558
+
559
+ ## 1.7.0 / 2016-08-04
560
+
561
+ * Changes and bug fixes
562
+ * No changes since 1.7.0.rc1
563
+
564
+ * Known issues
565
+ * No changes since 1.7.0.rc1
566
+
567
+ ## 1.7.0.rc1 / 2016-08-02
568
+
569
+ * Changes and bug fixes
570
+
571
+ * Support `emulate_booleans_from_strings` in Rails 5 [#953, #942]
572
+ * Deprecate `self.is_boolean_column?` [#949]
573
+ * Deprecate `self.is_date_column?` and `is_date_column?` [#950]
574
+ * Deprecate `set_type_for_columns`, `set_type_for_columns` and `clear_types_for_columns` [#951]
575
+ * Deprecate `self.is_integer_column?` [#952]
576
+
577
+ * Known issues
578
+
579
+ - Only with JRuby
580
+ * Rails 5 : explain should explain query with binds got Java::JavaSql::SQLException: Invalid column index [#908]
581
+ * Workaround: execute explain without bind or use CRuby
582
+ - CRuby and JRuby
583
+ * Rails 5 : custom methods for create record when exception is raised in after_create callback fails [#944]
584
+ * Rails 5 : specs need update to emulate_booleans_from_strings [#942]
585
+ * Rails 5 : undefined method `to_i' for #<Arel::Nodes::BindParam:0x00000002c92910> [#848, rails/arel#438]
586
+ * #848 reproduces when database version is 11gR2 or older, it does not reproduce with 12c
587
+ * One of the units test skipped when database version is 11gR2 or lower. [#946]
588
+
589
+ ## 1.7.0.beta7 / 2016-08-01
590
+
591
+ * Changes and bug fixes
592
+
593
+ * Use OracleEnhanced::SchemaDumper#tables and #table
594
+ only if they have Oracle enhanced specific features [#947, #797]
595
+
596
+ * Known issues
597
+
598
+ - Only with JRuby
599
+ * Rails 5 : explain should explain query with binds got Java::JavaSql::SQLException: Invalid column index [#908]
600
+ - CRuby and JRuby
601
+ * Rails 5 : custom methods for create record when exception is raised in after_create callback fails [#944]
602
+ * Rails 5 : emulate_booleans_from_strings support [#942]
603
+ * Rails 5 : undefined method `to_i' for #<Arel::Nodes::BindParam:0x00000002c92910> [#848, rails/arel#438]
604
+ * #848 reproduces when database version is 11gR2 or older, it does not reproduce with 12c
605
+ * One of the units test skipped when database version is 11gR2 or lower. [#946]
606
+
607
+ ## 1.7.0.beta6 / 2016-07-29
608
+
609
+ * Changes and bug fixes
610
+
611
+ * Use attributes.keys to update all attributes when partial_write is disabled [#906 #943]
612
+
613
+ * Known issues
614
+
615
+ - Only with JRuby
616
+ * Rails 5 : explain should explain query with binds got Java::JavaSql::SQLException: Invalid column index [#908]
617
+ - CRuby and JRuby
618
+ * Rails 5 : custom methods for create record when exception is raised in after_create callback fails [#944]
619
+ * Rails 5 : emulate_booleans_from_strings support [#942]
620
+ * Rails 5 : undefined method `to_i' for #<Arel::Nodes::BindParam:0x00000002c92910> [#848, rails/arel#438]
621
+ * #848 reproduces when database version is 11gR2 or older, it does not reproduce with 12c
622
+
623
+ ## 1.7.0.beta5 / 2016-07-28
624
+
625
+ * Changes and bug fixes
626
+
627
+ * Use binds.size to set returning_id_index for returning_id [#907, #912 and #939]
628
+
629
+ * Known issues
630
+
631
+ - Only with JRuby
632
+ * Rails 5 : explain should explain query with binds got Java::JavaSql::SQLException: Invalid column index [#908]
633
+ - CRuby and JRuby
634
+ * Rails 5 : custom methods for create, update and destroy not working [#906]
635
+ * Rails 5 : undefined method `to_i' for #<Arel::Nodes::BindParam:0x00000002c92910> [#848, rails/arel#438]
636
+ * #848 reproduces when database version is 11gR2 or older, it does not reproduce with 12c
637
+
638
+ ## 1.7.0.beta4 / 2016-07-27
639
+
640
+ * Changes and bug fixes
641
+
642
+ * Call `bind_returning_param` when sql has returning_id and using JRuby [#937]
643
+ * Remove unused `col_type` to avoid warnings [#934]
644
+ * Remove TODO comment since Oracle DATE type can be mapped Rails Datetime with attribute API [#935]
645
+ * Remove rspec from runtime dependency [#933]
646
+ * Rename `add_dependency` to `add_runtime_dependency` [#933]
647
+ * Remove warnings for + when tested with JRuby 9.1.2 [#936]
648
+
649
+ * Known issues
650
+
651
+ - Only with JRuby
652
+ * Rails 5 : create table with primary key trigger with default primary key not returning id [#912]
653
+ * #937 addresses two failures reported in #912
654
+ * Rails 5 : explain should explain query with binds got Java::JavaSql::SQLException: Invalid column index [#908]
655
+ - CRuby and JRuby
656
+ * Rails 5 : create table with primary key trigger not returning id [#907]
657
+ * Rails 5 : custom methods for create, update and destroy not working [#906]
658
+ * Rails 5 : undefined method `to_i' for #<Arel::Nodes::BindParam:0x00000002c92910> [#848, rails/arel#438]
659
+
660
+ ## 1.7.0.beta3 / 2016-07-22
661
+
662
+ * Changes and bug fixes
663
+ * Not giving `bind_param` a 3rd argument `column` [#929, #909]
664
+
665
+ * Known issues
666
+
667
+ - Only with JRuby
668
+ * Rails 5 : create table with primary key trigger with default primary key not returning id [#912]
669
+ * Rails 5 : explain should explain query with binds got Java::JavaSql::SQLException: Invalid column index [#908]
670
+ - CRuby and JRuby
671
+ * Rails 5 : create table with primary key trigger not returning id [#907]
672
+ * Rails 5 : custom methods for create, update and destroy not working [#906]
673
+ * Rails 5 : undefined method `to_i' for #<Arel::Nodes::BindParam:0x00000002c92910> [#848, rails/arel#438]
674
+
675
+ ## 1.7.0.beta2 / 2016-07-22
676
+
677
+ * Changes and bug fixes
678
+
679
+ * Support CLOB for JRuby [#926, #910, #911]
680
+ * Arel 7.1.0 or higher version is required [#919]
681
+ * Document usage of ActiveRecord Attributes API in 1.7 [#924]
682
+ * Add a note about usage pecularities of context_index's index_column option to README [#924]
683
+ * Set required_ruby_version = '>= 2.2.2' [#916]
684
+ * Remove ActiveRecord::ConnectionAdapters::TableDefinition#aliased_types [#921]
685
+ * Update warning message for composite primary keys [#923]
686
+ * Remove specs deprecated in Oracle enhanced adapter 1.7 [#917]
687
+ * Rails 5 : has_and_belongs_to_many test gets ORA-01400 since primary key column "ID"
688
+ not included in insert statement [#856, rails/rails#25388, rails/rails#25578 ]
689
+ - This fix will be included in the next version of Rails which should be named 5.0.1
690
+
691
+ * Known issues
692
+
693
+ - Only with JRuby
694
+ * Rails 5 : create table with primary key trigger with default primary key not returning id [#912]
695
+ * Rails 5 : SQL with bind parameters when NLS_NUMERIC_CHARACTERS is set to ', '
696
+ show Java::JavaSql::SQLSyntaxErrorException: / ORA-01722: invalid number [#909]
697
+ * Rails 5 : explain should explain query with binds got Java::JavaSql::SQLException: Invalid column index [#908]
698
+ - CRuby and JRuby
699
+ * Rails 5 : create table with primary key trigger not returning id [#907]
700
+ * Rails 5 : custom methods for create, update and destroy not working [#906]
701
+ * Rails 5 : undefined method `to_i' for #<Arel::Nodes::BindParam:0x00000002c92910> [#848, rails/arel#438]
702
+
703
+ ## 1.7.0.beta1 / 2016-07-18
704
+
705
+ * Major enhancements
706
+
707
+ * Support Rails 5.0
708
+ * Use Arel::Visitors::Oracle12 to use better top-N query support [#671]
709
+ * Oracle TIMESTAMP sql type is associated with Rails `DateTime` type [#845]
710
+ * Rails :time as Oracle TIMESTAMP to support subsecond precision [#817, #816]
711
+ * Rails :datetime as Oracle TIMESTAMP to support subsecond precision [#739]
712
+ * Remove ActiveRecord::OracleEnhanced::Type::Timestamp [#815]
713
+ * Deprecate `quote_date_with_to_date` and `quote_timestamp_with_to_timestamp` [#879]
714
+ * Deprecate `set_boolean_columns` and `set_string_columns` [#874]
715
+ * Deprecate `set_integer_columns [#872]
716
+ * Deprecate `set_date_columns` and `set_datetime_columns` [#869]
717
+ * Deprecate `ignore_table_columns` to use Rails native `ignored_columns` [#855]
718
+ * Set :datetime for an attribute explicitly [#875, #876]
719
+ * Support `#views` #738
720
+ * Replace `table_exists?` with `data_source_exists?` [#842]
721
+ * Introduce `data_source_exists?` to return tables and views [#841]
722
+ * Implement primary_keys to prepare dumping composite primary key [#860]
723
+ * Support for any type primary key [#836]
724
+ * Dump composite primary keys [#863]
725
+ * Dump type and options for non default primary keys [#861]
726
+ * Support creating foreign keys in create table [#862]
727
+ * Support ActiveRecord native comment feature [#822, #821, #819]
728
+
729
+ * Changes and bug fixes
730
+
731
+ * Fix cast_type issue [#795]
732
+ * Rename quote_value to quote_default_expression [#661]
733
+ * Change bind parameters order to come offset first then limit next [#831]
734
+ * type_cast arity change [#781]
735
+ * Initial support for sql_type_metadata [#656]
736
+ * Support bind_params for JDBC connections [#806]
737
+ * Use all_* dictionary replacing user_* ones [#713]
738
+ * Register `NUMBER(1)` sql_type to `Type::Boolean` [#844]
739
+ * Add `ActiveRecord::ValueTooLong` exception class [#827]
740
+ * Not passing `native_database_types` to `TableDefinition` [#747]
741
+ * Ignore index name in `index_exists?` when not passed a name to check for [#840]
742
+ * Add reversible syntax for change_column_default [#839]
743
+ * Support Oracle national character set NCHAR, NVARCHAR2 [#886]
744
+ * Support "limited" :returning_id [#894, #803]
745
+ * Support RAW sql data type in Rails 5 [#877]
746
+ * Remove `serialized_attributes` which is removed in Rails 5 [#694]
747
+ * Add deprecation warning for `bind_param` [#809]
748
+ * Remove `self.string_to_raw` from Column which is not called anymore [#813]
749
+ * Remove type_cast from Column [#811]
750
+ * Remove deprecated `distinct` method [#771]
751
+ * Remove alias_method_chain and rename oracle_enhanced_table to table [#864]
752
+ * Warn if `AR.primary_key` is called for a table with composite primary key [#837]
753
+ * Remove select method from Oracle enhanced adapter [#784]
754
+ * Remove version check to see if ::Rails::Railtie exists [#769]
755
+ * Remove FALSE_VALUES [#716]
756
+ * Remove TRUE_VALUES from OracleEnhancedColumn [#646]
757
+ * Remove insert_sql method [#866, #890]
758
+ * Rails5 remove require bind visitor [#853]
759
+ * substitute_at has been removed from Rails [#849]
760
+ * Serialize value for lob columns [#878]
761
+ * Do not cache prepared statements that are unlikely to have cache hits [#748]
762
+ * Handle BLOB type correctly [#804]
763
+ * Move ActiveRecord::Type to ActiveModel [#723]
764
+ * Remove cast_type to support Rails 5 Attribute API [#867]
765
+ * Handle ActiveModel::Type::Binary::Data type cast in _type_cast [#826]
766
+ * Use Abstract adapter `dump_schema_information` implementation [#857]
767
+ * Use ActiveRecord initialize_schema_migrations_table [#843]
768
+ * Use ActiveRecord::SchemaDumper#ignored? [#838]
769
+ * Use Abstract adapter join_to_update [#801, #800]
770
+ * Use ActiveRecord::OracleEnhanced::Type::Text [#887]
771
+ * Use ActiveRecord::OracleEnhanced::Type::String [#883]
772
+ * Use OracleEnhanced::ColumnDefinition [#650]
773
+ * Move to ActiveRecord::ConnectionAdapters::OracleEnhanced::SchemaDumper [#695]
774
+ * ColumnDumper uses Module#prepend [#696]
775
+ * Migrate from OracleEnhancedSchemaStatementExt to OracleEnhanced::SchemaStatementsExt [#768]
776
+ * Extract ActiveRecord::ConnectionAdapters::OracleEnhanced::Quoting [#764]
777
+ * Use keyword arguments for new table options [#820]
778
+ * Move `ruby_to_java_value` logic to `_type_cast` [#904]
779
+ * OracleEnhancedColumn.new needs sql_type_metadata including sql_type [#858]
780
+ * OracleEnhanced::JDBCQuoting and OCIQuoting [#897]
781
+ * Address `add_column_options!': undefined method `quote_value' [#647]
782
+ * Remove dirty tracking methods [#883]
783
+ * Use arel master branch for rails5 development [#645]
784
+ * Bump ruby-oci8 version to 2.2.0 or higher [#775]
785
+ * Remove jeweler dependency [#766]
786
+ * Remove required_rubygems_version [#719]
787
+ * Remove journey which is already part of Rails [#701]
788
+ * Remove dependencies with non activerecord gems [#700]
789
+ * Remove activerecord-deprecated_finders [#698]
790
+ * Use rack master branch [#697]
791
+ * Clean up gemspec file and bump rspec, ruby-plsql and ruby-oci8 versions [#717]
792
+ * Remove magic comment for utf-8 [#772, #726]
793
+ * add_dependency with ruby-oci8 only if it runs cruby, not jruby [#902]
794
+ * Install ruby-debug for jruby [#899]
795
+ * Address dirty object tracking should not mark empty text as changed [#888]
796
+ * Revert "Update matcher to skip sql statements to get `table` metadata" [#881]
797
+ * No need to set @visitor instance variable here [#854]
798
+ * log binds should not be type_casted [#818]
799
+ * Fix schema dumper errors [#810]
800
+ * Address undefined method `cast_type' [#805]
801
+ * Better fix to support "Relation#count does not support finder options anymore in Rails [#788, #787]
802
+ * ActiveRecord::Calculations#count no longer accepts an options hash argument #754
803
+ * Suppress WARNINGs using `raise_error` without specific errors [#724]
804
+ * Use RSpec 3 [#707]
805
+ * Update "OracleEnhancedAdapter boolean type detection based on string column types and names" [#873]
806
+ * Update "OracleEnhancedAdapter integer type detection based on column names" [#871]
807
+ * Update "OracleEnhancedAdapter date type detection based on column names" [#868]
808
+ * Do not set emulate_dates_by_column_name or emulate_dates in specs [#870]
809
+ * Update rake spec message to show default branch name as master [#648]
810
+ * Remove `ActiveRecord::Base.default_timezone = :local` from spec_helper [#901]
811
+ * Update to rspec3 syntax to avoid deprecation notices [#776]
812
+ * Remove RAILS_GEM_VERSION [#702]
813
+ * Run Oracle enhanced adapter unit tests using Travis CI [#789]
814
+ * Upgrade travis-oracle to Version 2.0.1 [#903]
815
+
816
+ * Known issues
817
+
818
+ - Only with JRuby
819
+ * Rails 5 : create table with primary key trigger with default primary key not returning id [#912]
820
+ * Rails 5 : dirty object tracking not working correctly for CLOB [#911]
821
+ * Rails 5 : handling of CLOB columns get failures [#910]
822
+ * Rails 5 : SQL with bind parameters when NLS_NUMERIC_CHARACTERS is set to ', '
823
+ show Java::JavaSql::SQLSyntaxErrorException: / ORA-01722: invalid number [#909]
824
+ * Rails 5 : explain should explain query with binds got Java::JavaSql::SQLException: Invalid column index [#908]
825
+ - CRuby and JRuby
826
+ * Rails 5 : create table with primary key trigger not returning id [#907]
827
+ * Rails 5 : custom methods for create, update and destroy not working [#906]
828
+ * Rails 5 : has_and_belongs_to_many test gets ORA-01400 since primary key column "ID"
829
+ not included in insert statement [#856, rails/rails#25388]
830
+ * Rails 5 : undefined method `to_i' for #<Arel::Nodes::BindParam:0x00000002c92910> [#848, rails/arel#438]
831
+
832
+ ## 1.6.7 / 2016-03-08
833
+
834
+ * Changes and bug fixes since 1.6.6
835
+ * Support Rails 4.2.6
836
+ * Support t.foreign_key use the same `to_table` twice [#783]
837
+ * Remove "warning: (...) interpreted as grouped expression" [#765]
838
+ * Add documentation on setting read, write and connect timeouts [#761]
839
+
840
+ ## 1.6.6 / 2016-01-21
841
+
842
+ * Changes and bug fixes since 1.6.5
843
+ * Address ORA-00904 when CONTAINS has `table_name.column_name` [#758, #664, #463]
844
+ * Only convert N to false when emulating booleans [#751]
845
+ * Clean up specs and test documentation [#756]
846
+ * Add JDBC Drivers to gitignore [#745]
847
+
848
+ ## 1.6.5 / 2015-12-01
849
+
850
+ * Enhancement
851
+ * Support `schema` option to use schema objects owned by another schema[#742]
852
+
853
+ ## 1.6.4 / 2015-11-09
854
+
855
+ * Changes and bug fixes since 1.6.3
856
+ * Add table and column comments to structure dump and schema dump [#734]
857
+ * Remove `serialized_attributes` which is removed in Rails 5 [#694]
858
+ * fixing bundler dependency conflict with head of rails vs arel 6.0[#714]
859
+ * Add note to readme about adapter name when using DATABASE_URL [#728]
860
+ * Fixed copy/paste error in README.md [#731]
861
+ * Pending a test using virtual columns features introduced in 11gR1 [#733]
862
+ * Suppress warning: ambiguous first argument [#690]
863
+ * Suppress `warning: assigned but unused variable` [#691]
864
+ * Suppress `warning: assigned but unused variable - tablespace` [#692]
865
+ * Suppress `warning: assigned but unused variable - e` [#693]
866
+ * Ignore .rbenv-gemsets [#705]
867
+ * Clean up database objects after unit tests executed [#712]
868
+
869
+ ## 1.6.3 / 2015-08-14
870
+
871
+ * Changes and bug fixes since 1.6.2
872
+ * Set sequence name automatically when new table name is longer than 26 bytes[#676]
873
+ * Add minimal specs for ActiveRecord::Base.limit() and .order()[#679]
874
+ * Use type_casted_binds [#681]
875
+ * Use type_cast_for_database to serialize correctly [#688]
876
+ * Suppress deprecated message for serialized_attributes [#688, #548, #687]
877
+
878
+ ## 1.6.2 / 2015-07-20
879
+
880
+ * Changes and bug fixes since 1.6.1
881
+
882
+ * Oracle enhanced adapter v1.6 requires ActiveRecord 4.2.1 or higher,
883
+ ActiveRecord 4.2.0 is not supported.[#672]
884
+ * Unique constraints not created when function unique index created [#662, #663]
885
+ * create_table should use default tablespace values for lobs [#668]
886
+
887
+ ## 1.6.1 / 2015-07-01
888
+
889
+ * Changes and bug fixes since 1.6.0
890
+
891
+ * Oracle enhanced adapter v1.6 requires ActiveRecord 4.2.1 or higher,
892
+ ActiveRecord 4.2.0 is not supported.[#651, #652]
893
+ * Fix serialized value becomes from yaml to string once saved [#655, #657]
894
+ * Update Ruby version in readme [#654]
895
+ * Update unit test matcher to skip sql statements to get `table` metadata [#653]
896
+
897
+ ## 1.6.0 / 2015-06-25
898
+
899
+ * Changes and bug fixes since 1.6.0.beta1
900
+
901
+ * Add deprecation warnings for Oracle enhanced specific foreign key methods [#631]
902
+ * Skip composite foreign key tests not supported in this version [#632]
903
+ * Do not dump default foreign key name [#633]
904
+ * Schema dump uses `:on_delete` option instead of `:dependent` [#634]
905
+ * Use Rails foreign key name in rspec unit tests [#635]
906
+ * Add deprecate warning if foreign key name length is longer than 30 byte [#636]
907
+ * Foreign key name longer than 30 byte will be shortened using Digest::SHA1.hexdigest [#637]
908
+ * Schema dumper for :integer will not dump :precision 0 [#638]
909
+ * Update foreign key names for add_foreign_key with table_name_prefix [#643]
910
+
911
+ * Known Issues since 1.6.0.beta1
912
+ * table_name_prefix and table_name_suffix changes column names which cause ORA-00904 [#639]
913
+ * custom methods should rollback record when exception is raised in after_create callback fails [#640]
914
+ * custom methods for create, update and destroy should log create record fails [#641]
915
+
916
+ ## 1.6.0.beta 1 / 2015-06-19
917
+
918
+ * Enhancements
919
+ * Support Rails 4.2
920
+ * Support Rails native foreign key syntax [#488, #618]
921
+
922
+ * Other changes and bug fixes
923
+ * Column#primary method removed from Rails [#483]
924
+ * ActiveRecord::Migrator.proper_table_name has been removed from Rails [#481]
925
+ * New db/schema.rb files will be created with force: :cascade [#593]
926
+ * Rails42 add unique index creates unique constraint [#617]
927
+ * Modify remove_column to add cascade constraint to avoid ORA-12991 [#617]
928
+ * Add `null: true` to avoid DEPRECATION WARNING [#489, #499]
929
+ * Rails 4.2 Add `connection.supports_views?` [#496]
930
+ * text? has been removed from Column class [#487]
931
+ * Remove call to deprecated `serialized_attributes` [#550, #552]
932
+ * Support :cascade option for drop_table [#579]
933
+ * Raise a better exception for renaming long indexes [#577]
934
+ * Override aliased_types [#575]
935
+ * Revert "Add options_include_default!" [#586]
936
+ * Remove substitute_at method from Oracle enhanced adapter [#520]
937
+ * Require 'active_record/base' in rake task #526
938
+ * Make it easier to spot which version of active record is actually used [#550]
939
+ * Rails4.2 Add Type::Raw type [#503]
940
+ * Support :bigint datatype [#580]
941
+ * Map :bigint as NUMBER(19) sql_type not NUMBER(8) [#608]
942
+ * Use Oracle BINARY_FLOAT datatype for Rails :float type [#610]
943
+ * Revert "Implement possibility of handling of NUMBER columns as :float" [#576]
944
+ * Rails 4.2 Support NCHAR correctly [#490]
945
+ * Support :timestamp datatype in Rails 4.2 [#575]
946
+ * Rails 4.2 Handle NUMBER sql_type as `Type::Integer` cast type [#509]
947
+ * ActiveRecord::OracleEnhanced::Type::Integer for max_value to take 38 digits [#605]
948
+ * Rails 4.2 add `module OracleEnhanced` and migrate classes/modules under this [#584]
949
+ * Migrate to ActiveRecord::ConnectionAdapters::OracleEnhanced::ColumnDumper [#597]
950
+ * Migrated from OracleEnhancedContextIndex to OracleEnhanced::ContextIndex [#599]
951
+ * Make OracleEnhancedIndexDefinition as subclass of IndexDefinition [#600]
952
+ * Refactor add_index and add_index_options [#601]
953
+ * Types namespace moved to `ActiveRecord::Type::Value` [#484]
954
+ * Add new_column method [#482]
955
+ * Rename type_cast to type_cast_from_database [#485]
956
+ * Removed `forced_column_type` by using `cast_type` [#595]
957
+ * Move dump_schema_information to SchemaStatements [#611]
958
+ * Move OracleEnhancedIndexDefinition to OracleEnhanced::IndexDefinition [#614]
959
+ * Move OracleEnhancedSynonymDefinition to OracleEnhanced::SynonymDefinition [#615]
960
+ * Move types under OracleEnhanced module [#603]
961
+ * Make OracleEnhancedForeignKeyDefinition as subclass of ForeignKeyDefinition [#581]
962
+ * Support _field_changed argument changes [#479]
963
+ * Rails 4.2 Don't type cast the default on the column [#504]
964
+ * Rename variable names in create_table to follow Rails implementation [#616]
965
+ * Rails 4.2: Fix create_savepoint and rollback_to_savepoint name [#497]
966
+ * Shorten foreign key name if it is longer than 30 byte [#621]
967
+ * Restore foreign_key_definition [#624]
968
+ * Rails 4.2 Support OracleEnhancedAdapter.emulate_integers_by_column_name [#491]
969
+ * Rails 4.2 Support OracleEnhancedAdapter.emulate_dates_by_column_name [#492]
970
+ * Rails 4.2 Support emulate_booleans_from_strings and is_boolean_column? [#506]
971
+ * Rails 4.2 Support OracleEnhancedAdapter.number_datatype_coercion [#512]
972
+ * Rails 4.2 Use register_class_with_limit [#502]
973
+ * Rails 4.2 Remove redundant substitute index when constructing bind values [#517]
974
+ * Rails 4.2 Unit test updated to support `substitute_at` in Arel [#522]
975
+ * Change log method signiture to support Rails 4.2 [#539]
976
+ * Enable loading spec configuration from config file instead of env [#550]
977
+ * Rails42: Issue with non-existent columns [#545, #551]
978
+ * Squelch warning "#column_for_attribute` will return a null object
979
+ for non-existent columns in Rails 5. Use `#has_attribute?`" [#551]
980
+ * Use arel 6-0-stable [#565]
981
+ * Support 'Y' as true and 'N' as false in Rails 4.2 [#574, #573]
982
+ * Remove alias_method_chain :references, :foreign_keys [#582]
983
+ * Use quote_value method to avoid undefined method `type_cast_for_database' for nil:NilClass [#486]
984
+ * Rails 4.2: Set @nchar and @object_type only when sql_type is true [#493]
985
+ * Rails 4.2: Handle forced_column_type temporary [#498]
986
+ * Rails 4.2 Address ArgumentError: wrong number of arguments (1 for 2) at `quote_value` [#511]
987
+ * Address ORA-00932: inconsistent datatypes: expected NUMBER got DATE [#538]
988
+ * Remove duplicate alias_method_chain for indexes [#560]
989
+ * Address RangeError: 6000000000 is out of range for ActiveRecord::Type::Integer
990
+ with limit 4 [#578]
991
+ * Return foreign_keys_without_oracle_enhanced when non Oracle database used [#583]
992
+ * Add missing database_tasks.rb to gemspec [#585]
993
+ * Fixed typo in the rake tasks load statement [#587]
994
+ * Call super when column typs is serialized [#563, #591]
995
+ * Clear query cache on rollback [#592]
996
+ * Modify default to `false` if database default value is "N" [#596]
997
+ * refer correct location if filess in gemspec [#606]
998
+ * Add integer.rb to gemspec [#607]
999
+
1000
+ * Known Issues
1001
+ * Override aliased_types [#575]
1002
+ * Multi column foreign key is not supported
1003
+
1004
+ ## 1.5.6 / 2015-03-30
1005
+
1006
+ * Enhancements
1007
+ * Support Rails 4.1.10 [#530]
1008
+ * Remove warning message when JDK 8 is used [#525]
1009
+ * Support RAW column types [#471]
1010
+ * Properly quote database links [#556]
1011
+ * Grant create view privilege to db user [#528]
1012
+ * Read SYSTEM password from ENV ORACLE_SYSTEM_PASSWORD optionally [#529]
1013
+ * Show original error message when loading ruby-oci8 library fails [#532]
1014
+ * Update README that `OracleEnhancedProcedures` is not auto loaded [#474]
1015
+ * Fix legacy schema support syntax [#507]
1016
+ * Peform all unit test when tested with Oracle 12c [#465]
1017
+ * Add `:if_exists` option to `drop_table` [#541]
1018
+ * Extract OracleEnhancedDatabaseStatements [#449]
1019
+ * Removed self.visitor_for(pool) method [#501]
1020
+
1021
+ * Bug Fix
1022
+ * Fix serialized readonly lobs [#515]
1023
+ * Do not dump schema information during structure dump [#558]
1024
+ * Structure dump generates correct create or replace synonym [#453]
1025
+ * Procedures and functions are created correctly by removing semi-colon [#456]
1026
+ * Show support matrix of Java and JDBC Driver only when java_version >= '1.8' [#455]
1027
+ * Update Gemfile dependencies so specs can run [#472]
1028
+
1029
+ ## 1.5.5 / 2014-05-23
1030
+
1031
+ * Enhancements
1032
+ * Oracle NUMBER datatype can be handled as Rails :float datatype [#418]
1033
+ - Default NUMBER datatype handled as :decimal to keep compatibility
1034
+ - Configured by setting `self.number_datatype_coercion = :float`
1035
+ * Add link to supported Oracle database version, JDK and Oracle JDBC Driver version [#438]
1036
+ * Support `without_prepared_statements?` to handle `unprepared_statement` [#447]
1037
+
1038
+ * Bug Fix
1039
+ * Associations with name `record` do not work correctly since Rails 4 [#435]
1040
+ * Skip another Oracle Text test when Oracle 12c used [#437]
1041
+ * Tag bind params with a bind param object [#444]
1042
+
1043
+ ## 1.5.4 / 2014-03-25
1044
+
1045
+ * Enhancements
1046
+ * Support Rails 4.1.0.rc2
1047
+ * Allow Java 8 to run with jruby [#383]
1048
+
1049
+ * Bug Fix
1050
+ * Fix db:schema:dump when foreign key column name is not 'id' [#409]
1051
+ * Fix schema dump works when non Oracle adapter used [#428]
1052
+
1053
+ ## 1.5.3 / 2014-03-04
1054
+
1055
+ * Enhancements
1056
+ * Supports Rails 4.1.0.rc1
1057
+ * Support rails/rails#13886 by chainging select_rows arguments [#415]
1058
+
1059
+ * Bug Fix
1060
+ * Fix ORA-01008: not all variables bound [#422]
1061
+
1062
+ ## 1.5.2 / 2014-01-24
1063
+
1064
+ * Enhancements
1065
+ * Supports Rails 4.1.0.beta1
1066
+ * Support Rails 4 Database Tasks [#404]
1067
+ * Create sequence when add primary_key column [#406]
1068
+ * Move `SchemaCreation` to its own file [#381]
1069
+ * Remove unused OracleEnhancedColumnDefinition [#382]
1070
+ * Log bind variables after they were type casted [#385]
1071
+ * Remove add_order_by_for_association_limiting! [#388]
1072
+ * Support named savepoints [#389]
1073
+ * Support self.extract_value_from_default [#395]
1074
+ * Remove oracle_enhanced_core_ext.rb [#397]
1075
+ * Remove unused to_sql_with_foreign_keys and lob_columns [#398]
1076
+ * Remove ruby-oci8 v1 code [#405]
1077
+
1078
+ * Bug Fix
1079
+ * Move add_column_options! into SchemaCreation class [#384]
1080
+ * Add options_include_default! [#384]
1081
+ * Use OCI8::Metadata::Base#obj_link [#399]
1082
+
1083
+ ## 1.5.1 / 2013-11-30
1084
+
1085
+ * Enhancements
1086
+ * Removed set_table_name set_primary_key set_sequence_name from unit tests [#364]
1087
+ * Update README to support assignment methods [#365]
1088
+ * Remove add_limit_offset! method [#369]
1089
+ * Update Gemfile to use `bundle config --local` [#370]
1090
+ * `describe` does not try super when no database link and ORA-4043 returned [#375]
1091
+ * Support `remove_columns` [#377]
1092
+ * Dump views in alphabetical order and add `FORCE` option [#378]
1093
+
1094
+ * Bug Fix
1095
+ * Fixed reverting add_column fails with v1.5.0 [#373]
1096
+
1097
+ ## 1.5.0 / 2013-11-01
1098
+
1099
+ * Enhancements
1100
+ * Add license in gemspec and Rakefile [#361]
1101
+
1102
+ ## 1.5.0.rc1 / 2013-10-31
1103
+
1104
+ * Update README and HISTORY
1105
+ * No other changes since 1.5.0.beta1
1106
+
1107
+ ## 1.5.0.beta1 / 2013-10-28
1108
+
1109
+ * Enhancements and major changes
1110
+ * Support Rails 4.0
1111
+ * Desupport Rails 3.2 and lower version. To support Rails 3.2, use Version 1.4.3
1112
+ * Drop session store support [#219]
1113
+ * Create indexes automatically for references and belongs_to [#183]
1114
+ * Use the index name explicitly provided in a migration when reverting [#296]
1115
+ * Rename indexes when a table or column is renamed [#286]
1116
+ * Support refactored remove_column [#172]
1117
+ * Support allowed_index_name_length method [#285]
1118
+ * Remove schema prefix from sequence name if present before truncating [#155]
1119
+ * Bumped jeweler, ruby-plsql and ruby-oci8 version [#176]
1120
+ * Support also ojdbc6.jar for Java 1.7 [#350]
1121
+ * Support "activerecord-deprecated_finders" [#210]
1122
+ * Prepared statements can be disabled [#295]
1123
+ * Ensure disconnecting or reconnecting resets the transaction state [#220]
1124
+ * Support for specifying transaction isolation level [#226]
1125
+ * Rename the partial_updates config to partial_writes [#234]
1126
+ * Deprecate passing a string as third argument of add_index [#242]
1127
+ * Rename update method to update_record, create method to create_record [#273]
1128
+ * Deprecate #connection in favour of accessing it via the class [#297]
1129
+ * Support SchemaCreation [#298]
1130
+ * Add support for foreign key creation in create_table [#317]
1131
+ * Add virtual columns support for rail4 branch [#329]
1132
+ * Support columns_for_distinct method [#340]
1133
+ * Clear index cache when any table dropped [#200]
1134
+ * Clear index cache when remove_column executed [#269]
1135
+ * Dump schema uses ruby 1.9 style hash [#229]
1136
+ * Support _field_changed? and drop field_changed? [#182 #254]
1137
+ * Use arel nodes instead of raw sql [#198]
1138
+ * Raise an ArgumentError when passing an invalid option to add_index [#242]
1139
+ * Split OracleEnhancedColumnDumper from OracleEnhancedSchemaDumper [#292]
1140
+ * Unit test sets default_timezone = :local [#184]
1141
+ * Support reset_pk_sequence! [#287]
1142
+ * Remove unnecessary pendings in unit tests [#358]
1143
+
1144
+ * Bug Fix
1145
+ * Address ArgumentError: wrong number of arguments (5 for 3) [#166]
1146
+ * Address NoMethodError: undefined method `column_types' [#173]
1147
+ * Schema dumper removes table_name_prefix and table_name_suffix [#191]
1148
+ * Add clear_logger to address ArgumentError: wrong number of arguments (1 for 2) [#193]
1149
+ * Use Relation#to_a as Relation#all is deprecated in Rails [#203]
1150
+ * Address Address test_integer_zero_to_integer_zero_not_marked_as_changed failure [#207]
1151
+ * Address NoMethodError undefined method `default_string' [#221]
1152
+ * Address you can't redefine the primary key column 'id'. To define a custom primary key, pass { id: false } to create_table [#238]
1153
+ * Remove unnecessary DEPRECATION WARNING [#255]
1154
+ * Assigning "0.0" to a nullable numeric column does not make it dirty [#293]
1155
+ * Address `rake spec` abort [#353]
1156
+ * Correct activerecord-deprecated_finders not loaded if ENV['RAILS_GEM_VERSION'] set [#353]
1157
+
1158
+ * Known Issues
1159
+ * Oracle Text features are not fully supported with Oracle 12c [#331]
1160
+
1
1161
  ### 1.4.3 / 2013-10-24
2
1162
 
3
1163
  * No changes since 1.4.3.rc2
@@ -312,10 +1472,10 @@
312
1472
  * Forked from original activerecord-oracle-adapter-1.0.0.9216
313
1473
  * Renamed oracle adapter to oracle_enhanced adapter
314
1474
  * Added "enhanced" to method and class definitions so that oracle_enhanced and original oracle adapter
315
- could be used simultaniously
1475
+ could be used simultaneously
316
1476
  * Added Rails rake tasks as a copy from original oracle tasks
317
1477
  * Enhancements:
318
- * Improved perfomance of schema dump methods when used on large data dictionaries
1478
+ * Improved performance of schema dump methods when used on large data dictionaries
319
1479
  * Added LOB writing callback for sessions stored in database
320
1480
  * Added emulate_dates_by_column_name option
321
1481
  * Added emulate_integers_by_column_name option