You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
User.import([User.new])
(128.0ms) [SELECT column_name AS name, data_type AS sql_type, data_default, nullable, virtual_column, hidden_column, data_type_owner AS sql_type_owner, DECODE(data_type, 'NUMBER', data_precision, 'FLOAT', data_precision, 'VARCHAR2', DECODE(char_used, 'C', char_length, data_length), 'RAW', DECODE(char_used, 'C', char_length, data_length), 'CHAR', DECODE(char_used, 'C', char_length, data_length), NULL) AS limit, DECODE(data_type, 'NUMBER', data_scale, NULL) AS scale FROM all_tab_cols WHERE owner = 'RAILS4TESTORACLE1' AND table_name = 'USER_GROUPS' AND hidden_column = 'NO' ORDER BY column_id
Group Load (20.0ms) [0m SELECT "GROUPS".* FROM "GROUPS" WHERE "GROUPS"."ROOT" = 1
NoMethodError: undefined method `add_column_for_on_duplicate_key_update' for #<ActiveRecord::ConnectionAdapters::OracleEnhancedAdapter:0x5b6e0226>
from C:/dev/workspace/3RPM/local-third-party/jruby-dist-9.1.17.0-bin/jruby-9.1.17.0/lib/ruby/gems/shared/gems/activerecord-import-1.0.4/lib/activerecord-import/import.rb:1003:in `block in add_special_rails_stamps'
@sachinswagh Built a VM today after your message on LinkedIn and I had some other stuff to test regarding Oracle on Java, currently working on a fix, will be ready tomorrow night or at the latest on Monday ;)!
Thank you @keeguon, We are in the process of upgrading our tech stack from Rails 3 to Rails 4 and we stuck on issue related to bulk import using Oracle and SQL server. Same issue is with activerecord-import-sqlserver (keeguon/activerecord-import-sqlserver#6)
Versions:
activerecord-import: 1.0.4
activerecord-import-oracle_enhanced: 0.1.5
Observation:
There is breaking change since activerecord-import 1.0.0
https://github.com/zdennis/activerecord-import/blob/master/CHANGELOG.md#changes-in-100
The text was updated successfully, but these errors were encountered: