Class: ActiveRecord::ConnectionAdapters::OracleEnhanced::Connection
- Inherits:
-
Object
- Object
- ActiveRecord::ConnectionAdapters::OracleEnhanced::Connection
- Defined in:
- lib/active_record/connection_adapters/oracle_enhanced/connection.rb
Overview
:nodoc:
Direct Known Subclasses
Instance Attribute Summary collapse
-
#raw_connection ⇒ Object
readonly
Returns the value of attribute raw_connection.
Class Method Summary collapse
Instance Attribute Details
#raw_connection ⇒ Object (readonly)
Returns the value of attribute raw_connection.
19 20 21 |
# File 'lib/active_record/connection_adapters/oracle_enhanced/connection.rb', line 19 def raw_connection @raw_connection end |
Class Method Details
.create(config) ⇒ Object
8 9 10 11 12 13 14 15 16 17 |
# File 'lib/active_record/connection_adapters/oracle_enhanced/connection.rb', line 8 def self.create(config) case ORACLE_ENHANCED_CONNECTION when :oci OracleEnhanced::OCIConnection.new(config) when :jdbc OracleEnhanced::JDBCConnection.new(config) else nil end end |