method

set_pessimistic_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_pessimistic_transactions()
public

No documentation available.

# File activerecord/lib/active_record/connection_adapters/frontbase_adapter.rb, line 537
      def set_pessimistic_transactions
        if @transaction_mode == :optimistic
          execute "SET TRANSACTION ISOLATION LEVEL SERIALIZABLE, LOCKING PESSIMISTIC, READ WRITE"
          @transaction_mode = :pessimistic
        end
      end