Sha256: 0125f142301a3c5a7ae92cc7f8ffdc1b9fb70fff048b39b0c1a0fc33b44ccb2b

Contents?: true

Size: 370 Bytes

Versions: 34

Compression:

Stored size: 370 Bytes

Contents

require 'test/minirunit'
RAILS_CONNECTION_ADAPTERS = ['abstract', 'jdbc']
require 'active_record'

connspec = ActiveRecord::Base.establish_connection(
  :adapter  => 'jdbc',
  :driver   => 'com.mysql.jdbc.Driver',
  :url      => 'jdbc:mysql://localhost:3306/test',
  :username => 'rlsmgr',
  :password => ''
)

puts "#{connspec}"
puts "#{ActiveRecord::Base.connection}"

Version data entries

34 entries across 34 versions & 5 rubygems

Version Path
saturnflyer-activerecord-jdbc-adapter-0.9.3 test/minirunit/testConnect.rb
kb-activerecord-jdbc-adapter-0.9.7.1-java test/minirunit/testConnect.rb
activerecord-jdbc-adapter-0.9.7-java test/minirunit/testConnect.rb
activerecord-jdbc-adapter-0.9.6-java test/minirunit/testConnect.rb
activerecord-jdbc-adapter-0.9.5-java test/minirunit/testConnect.rb
activerecord-jdbc-adapter-0.9.4-java test/minirunit/testConnect.rb
activerecord-jdbc-adapter-0.9.3-java test/minirunit/testConnect.rb
jpzwarte-activerecord-jdbc-adapter-0.9.2.6 test/minirunit/testConnect.rb
jpzwarte-activerecord-jdbc-adapter-0.9.2.5 test/minirunit/testConnect.rb
jpzwarte-activerecord-jdbc-adapter-0.9.2.4 test/minirunit/testConnect.rb
jpzwarte-activerecord-jdbc-adapter-0.9.2.3 test/minirunit/testConnect.rb
jpzwarte-activerecord-jdbc-adapter-0.9.2.2 test/minirunit/testConnect.rb
jpzwarte-activerecord-jdbc-adapter-0.9.2.1 test/minirunit/testConnect.rb
activerecord-jdbc-adapter-0.9.0.1 test/minirunit/testConnect.rb
activerecord-jdbc-adapter-0.9.2 test/minirunit/testConnect.rb
ActiveRecord-JDBC-0.2.2 test/minirunit/testConnect.rb
ActiveRecord-JDBC-0.2.1 test/minirunit/testConnect.rb
ActiveRecord-JDBC-0.2.3 test/minirunit/testConnect.rb
ActiveRecord-JDBC-0.2.4 test/minirunit/testConnect.rb
ActiveRecord-JDBC-0.0.1 test/minirunit/testConnect.rb