Class ActiveRecord::ConnectionAdapters::JdbcConnection
In: lib/active_record/connection_adapters/jdbc_adapter.rb
Parent: Object

Methods

adapter=   indexes   new   reconnect!  

Attributes

adapter  [R] 
connection  [R] 

Public Class methods

Public Instance methods

Default JDBC introspection for index metadata on the JdbcConnection. This is currently used for migrations by JdbcSpec::HSQDLB and JdbcSpec::Derby indexes with a little filtering tacked on.

JDBC index metadata is denormalized (multiple rows may be returned for one index, one row per column in the index), so a simple block-based filter like that used for tables doesn‘t really work here. Callers should filter the return from this method instead.

TODO: fix to use reconnect correctly

[Validate]