Sha256: 7007e950f9532226142b01ba7ffd39ec640b971acde70cabddddbca06ea3287b

Contents?: true

Size: 593 Bytes

Versions: 37

Compression:

Stored size: 593 Bytes

Contents

print "Using IBM2 \n"
require 'logger'

gem 'ibm_db'
require 'IBM_DB'

RAILS_CONNECTION_ADAPTERS = %w( mysql postgresql sqlite firebird sqlserver db2 oracle sybase openbase frontbase ibm_db )


ActiveRecord::Base.logger = Logger.new("debug.log")

db1 = 'composite_primary_keys_unittest'

connection_options = {
  :adapter  => "ibm_db",
  :database => "ocdpdev",
  :username => "db2inst1",
  :password => "password",                      
  :host => '192.168.2.21'
}

ActiveRecord::Base.configurations = { db1 => connection_options }
ActiveRecord::Base.establish_connection(connection_options)

Version data entries

37 entries across 37 versions & 5 rubygems

Version Path
kovyrin-composite_primary_keys-2.3.2 test/connections/native_ibm_db/connection.rb
mingusbabcock-composite_primary_keys-2.2.2.1 test/connections/native_ibm_db/connection.rb
tyler-composite_primary_keys-1.1.0 test/connections/native_ibm_db/connection.rb
tyler-composite_primary_keys-1.1.1 test/connections/native_ibm_db/connection.rb
tyler-composite_primary_keys-1.1.2 test/connections/native_ibm_db/connection.rb
tyler-composite_primary_keys-1.1.3 test/connections/native_ibm_db/connection.rb
tyler-composite_primary_keys-1.1.4 test/connections/native_ibm_db/connection.rb
composite_primary_keys-3.0.9 test/connections/native_ibm_db/connection.rb
composite_primary_keys-3.0.8 test/connections/native_ibm_db/connection.rb
composite_primary_keys-3.0.7 test/connections/native_ibm_db/connection.rb
composite_primary_keys-3.0.4 test/connections/native_ibm_db/connection.rb
composite_primary_keys-3.0.3 test/connections/native_ibm_db/connection.rb
composite_primary_keys-3.0.0.b3 test/connections/native_ibm_db/connection.rb
composite_primary_keys-3.0.0.b2 test/connections/native_ibm_db/connection.rb
globe-composite_primary_keys-3.0.1 test/connections/native_ibm_db/connection.rb
composite_primary_keys-2.3.5.1 test/connections/native_ibm_db/connection.rb
composite_primary_keys-2.3.5 test/connections/native_ibm_db/connection.rb
composite_primary_keys-2.3.2 test/connections/native_ibm_db/connection.rb
composite_primary_keys-0.9.0 test/connections/native_ibm_db/connection.rb
composite_primary_keys-0.9.90 test/connections/native_ibm_db/connection.rb