Module: Sequel::ActiveRecordConnection::Oracle
- Defined in:
- lib/sequel/extensions/activerecord_connection/oracle.rb
Instance Method Summary collapse
Instance Method Details
#synchronize ⇒ Object
6 7 8 9 10 11 12 13 14 15 |
# File 'lib/sequel/extensions/activerecord_connection/oracle.rb', line 6 def synchronize(*) super do |conn| raw_connection = conn.respond_to?(:raw_oci_connection) ? conn.raw_oci_connection : conn # required for prepared statements Utils.add_prepared_statements_cache(raw_connection) yield raw_connection end end |