oracle-enhanced icon indicating copy to clipboard operation
oracle-enhanced copied to clipboard

CHAR should return nil for NULL values in column

Open sprileyMSTS opened this issue 3 years ago • 3 comments

lib/active_record/connection_adapters/oracle_enhanced/oci_connection.rb

  • Return nil for NULL value in CHAR column similar to behavior in lib/active_record/connection_adapters/oracle_enhanced/jdbc_connection.rb

sprileyMSTS avatar Apr 28 '22 13:04 sprileyMSTS

Let me know if it's possible to backport this fix into a patch release of the 6.0 and 6.1 versions of this adapter. If not I'll have to release something internally at my company to address this issue until we can upgrade to Rails 7.

sprileyMSTS avatar Apr 28 '22 13:04 sprileyMSTS

Thanks for opening a pull request. Would you add some specs? Unfortunately, ActiveRecord Oracle enhanced adapter 6.1.z and 6.0.z are not actively maintained so no back port will be done.

yahonda avatar Jun 07 '22 12:06 yahonda