Module RR::ConnectionExtenders::JdbcSQLExtender
In: lib/rubyrep/connection_extenders/jdbc_extender.rb

Provides various JDBC specific functionality required by Rubyrep.

Methods

Public Instance methods

Monkey patch for activerecord-jdbc-adapter-0.7.2 as it doesn‘t set the +@active+ flag to false, thus ActiveRecord#active? incorrectly confirms the connection to still be active.

Returns an ordered list of primary key column names of the given table

Returns for each given table, which other tables it references via foreign key constraints.

  • tables: an array of table names
  • returns: a hash with
    • key: name of the referencing table
    • value: an array of names of referenced tables

[Validate]