I need your help to debug strange oracle_enhanced issue.
I am using oracle_enhanced adapter version 1.4.2 in my packaged eazyBI application which is distributed to many clients.
In couple client installations I am getting strange error that update of ActiveRecord model with CLOB column with string longer than 4000 characters results in ORA-01704 error. It is because UPDATE statement is generated with string literal longer than 4000 characters. But normally if CLOB column is detected as ActiveRecord :text column then in UPDATE statement it should be quoted as empty_clob() (see
https://github.com/rsim/oracle-enhanced/blob/v1.4.2/lib/active_record/connection_adapters/oracle_enhanced_adapter.rb#L454) and then CLOB value should be updated in a separate callback. But in the case of these couple client installations for some reason it is not happening.
As I do not have direct access to these remote client installations it is hard for me to debug this issue. If anyone else has experienced similar issue please share what was causing this.
Kind regards,
Raimonds