method

set_optimistic_transactions

rails latest stable - Class: ActiveRecord::ConnectionAdapters::FrontBaseAdapter

Method deprecated or moved

This method is deprecated or moved on the latest stable version. The last existing version (v1.2.6) is shown here.

set_optimistic_transactions()
public

No documentation available.

# File activerecord/lib/active_record/connection_adapters/frontbase_adapter.rb, line 544
      def set_optimistic_transactions
        if @transaction_mode == :pessimistic
          execute "SET TRANSACTION ISOLATION LEVEL REPEATABLE READ, READ WRITE, LOCKING OPTIMISTIC"
          @transaction_mode = :optimistic
        end
      end