Sha256: 5b2d246d74caa85f04072f7679a6068d1b7da07235583e95070563a50286c977

Contents?: true

Size: 390 Bytes

Versions: 12

Compression:

Stored size: 390 Bytes

Contents

print "Using native Oracle\n"

require File.join(PROJECT_ROOT, 'lib', 'composite_primary_keys')

def connection_string
  "#{SPEC['username']}/#{SPEC['password']}@//#{SPEC['host']}:#{SPEC['port']}/#{SPEC['database']}"
end

# Adapter config setup in locals/database_connections.rb
SPEC = CompositePrimaryKeys::ConnectionSpec['oracle']
ActiveRecord::Base.establish_connection(SPEC)

Version data entries

12 entries across 12 versions & 1 rubygems

Version Path
composite_primary_keys-8.1.8 test/connections/native_oracle/connection.rb
composite_primary_keys-8.1.7 test/connections/native_oracle/connection.rb
composite_primary_keys-8.1.6 test/connections/native_oracle/connection.rb
composite_primary_keys-8.1.5 test/connections/native_oracle/connection.rb
composite_primary_keys-9.0.4 test/connections/native_oracle/connection.rb
composite_primary_keys-9.0.2 test/connections/native_oracle/connection.rb
composite_primary_keys-9.0.1 test/connections/native_oracle/connection.rb
composite_primary_keys-8.1.4 test/connections/native_oracle/connection.rb
composite_primary_keys-9.0.0 test/connections/native_oracle/connection.rb
composite_primary_keys-9.0.0.beta1 test/connections/native_oracle/connection.rb
composite_primary_keys-8.1.3 test/connections/native_oracle/connection.rb
composite_primary_keys-8.1.2 test/connections/native_oracle/connection.rb