Method: ActiveRecord::ConnectionAdapters::OracleEnhanced::OCIConnection#raw_oci_connection
- Defined in:
- lib/active_record/connection_adapters/oracle_enhanced/oci_connection.rb
#raw_oci_connection ⇒ Object
38 39 40 41 42 43 44 45 46 |
# File 'lib/active_record/connection_adapters/oracle_enhanced/oci_connection.rb', line 38 def raw_oci_connection if @raw_connection.is_a? OCI8 @raw_connection # ActiveRecord Oracle enhanced adapter puts OCI8EnhancedAutoRecover wrapper around OCI8 # in this case we need to pass original OCI8 connection else @raw_connection.instance_variable_get(:@raw_connection) end end |