Class: Db2Session::ApplicationQuery

Inherits:
Object
  • Object
show all
Includes:
Db2Query::Config, Db2Query::Core, Db2Query::DbConnection, Db2Query::FieldType, Db2Query::Helper
Defined in:
app/queries/db2_session/application_query.rb

Class Method Summary collapse

Class Method Details

.connectionObject



15
16
17
# File 'app/queries/db2_session/application_query.rb', line 15

def self.connection
  Thread.current[:connection]
end

.establish_connectionObject



11
12
13
# File 'app/queries/db2_session/application_query.rb', line 11

def self.establish_connection
  load_database_configurations
end