Module: Sequel::JDBC::Firebird::DatabaseMethods

Extended by:
Database::ResetIdentifierMangling
Includes:
Firebird::DatabaseMethods, Transactions
Defined in:
lib/sequel/adapters/jdbc/firebirdsql.rb

Overview

Database instance methods for Firebird databases accessed via JDBC.

Constant Summary

Constants included from Transactions

Transactions::TRANSACTION_BEGIN, Transactions::TRANSACTION_COMMIT, Transactions::TRANSACTION_RELEASE_SP, Transactions::TRANSACTION_ROLLBACK, Transactions::TRANSACTION_ROLLBACK_SP, Transactions::TRANSACTION_SAVEPOINT

Constants included from Firebird::DatabaseMethods

Firebird::DatabaseMethods::AUTO_INCREMENT, Firebird::DatabaseMethods::TEMPORARY

Class Method Summary collapse

Methods included from Database::ResetIdentifierMangling

extended

Methods included from Transactions

#supports_savepoints?, #supports_transaction_isolation_levels?

Methods included from Firebird::DatabaseMethods

#clear_primary_key, #create_trigger, #database_type, #drop_sequence, #primary_key, #restart_sequence, #sequences, #tables, #views

Class Method Details

.extended(db) ⇒ Object

Add the primary_keys and primary_key_sequences instance variables, so we can get the correct return values for inserted rows.



26
27
28
29
30
# File 'lib/sequel/adapters/jdbc/firebirdsql.rb', line 26

def self.extended(db)
  db.instance_eval do
    @primary_keys = {}
  end
end