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
composite_primary_keys-0.9.93 test/connections/native_ibm_db/connection.rb
composite_primary_keys-1.0.2 test/connections/native_ibm_db/connection.rb
composite_primary_keys-0.9.91 test/connections/native_ibm_db/connection.rb
composite_primary_keys-0.9.92 test/connections/native_ibm_db/connection.rb
composite_primary_keys-1.0.0 test/connections/native_ibm_db/connection.rb
composite_primary_keys-1.0.1 test/connections/native_ibm_db/connection.rb
composite_primary_keys-1.0.10 test/connections/native_ibm_db/connection.rb
composite_primary_keys-1.0.3 test/connections/native_ibm_db/connection.rb
composite_primary_keys-2.2.1 test/connections/native_ibm_db/connection.rb
composite_primary_keys-2.2.0 test/connections/native_ibm_db/connection.rb
composite_primary_keys-1.1.0 test/connections/native_ibm_db/connection.rb
composite_primary_keys-1.0.8 test/connections/native_ibm_db/connection.rb
composite_primary_keys-1.0.6 test/connections/native_ibm_db/connection.rb
composite_primary_keys-1.0.5 test/connections/native_ibm_db/connection.rb
composite_primary_keys-1.0.4 test/connections/native_ibm_db/connection.rb
composite_primary_keys-2.2.2 test/connections/native_ibm_db/connection.rb
composite_primary_keys-1.0.7 test/connections/native_ibm_db/connection.rb