Sha256: 8989153171b28593426033bfe1034be924513e3ef5198f29c8ea3092c914b5f0

Contents?: true

Size: 336 Bytes

Versions: 15

Compression:

Stored size: 336 Bytes

Contents

require_relative "utils"

module Sequel
  module ActiveRecordConnection
    module Oracle
      def synchronize(*)
        super do |conn|
          # required for prepared statements
          Utils.add_prepared_statements_cache(conn.raw_oci_connection)

          yield conn.raw_oci_connection
        end
      end
    end
  end
end

Version data entries

15 entries across 15 versions & 1 rubygems

Version Path
sequel-activerecord_connection-1.4.0 lib/sequel/extensions/activerecord_connection/oracle.rb
sequel-activerecord_connection-1.3.1 lib/sequel/extensions/activerecord_connection/oracle.rb
sequel-activerecord_connection-1.3.0 lib/sequel/extensions/activerecord_connection/oracle.rb
sequel-activerecord_connection-1.2.11 lib/sequel/extensions/activerecord_connection/oracle.rb
sequel-activerecord_connection-1.2.10 lib/sequel/extensions/activerecord_connection/oracle.rb
sequel-activerecord_connection-1.2.9 lib/sequel/extensions/activerecord_connection/oracle.rb
sequel-activerecord_connection-1.2.8 lib/sequel/extensions/activerecord_connection/oracle.rb
sequel-activerecord_connection-1.2.7 lib/sequel/extensions/activerecord_connection/oracle.rb
sequel-activerecord_connection-1.2.6 lib/sequel/extensions/activerecord_connection/oracle.rb
sequel-activerecord_connection-1.2.5 lib/sequel/extensions/activerecord_connection/oracle.rb
sequel-activerecord_connection-1.2.4 lib/sequel/extensions/activerecord_connection/oracle.rb
sequel-activerecord_connection-1.2.3 lib/sequel/extensions/activerecord_connection/oracle.rb
sequel-activerecord_connection-1.2.2 lib/sequel/extensions/activerecord_connection/oracle.rb
sequel-activerecord_connection-1.2.1 lib/sequel/extensions/activerecord_connection/oracle.rb
sequel-activerecord_connection-1.2.0 lib/sequel/extensions/activerecord_connection/oracle.rb