Sha256: 3ecb881e8811066493c5147d4857bf8719e2338f517fde7e6d0c955abc0661a2

Contents?: true

Size: 375 Bytes

Versions: 101

Compression:

Stored size: 375 Bytes

Contents

ArJdbc::ConnectionMethods.module_eval do
  def informix_connection(config)
    config[:port] ||= 9088
    config[:url] ||= "jdbc:informix-sqli://#{config[:host]}:#{config[:port]}/#{config[:database]}:INFORMIXSERVER=#{config[:servername]}"
    config[:driver] = 'com.informix.jdbc.IfxDriver'
    config[:adapter_spec] = ::ArJdbc::Informix
    jdbc_connection(config)
  end
end

Version data entries

101 entries across 101 versions & 4 rubygems

Version Path
activerecord-jdbc-alt-adapter-61.3.0-java lib/arjdbc/informix/connection_methods.rb
activerecord-jdbc-adapter-61.3-java lib/arjdbc/informix/connection_methods.rb
activerecord-jdbc-alt-adapter-60.3.0-java lib/arjdbc/informix/connection_methods.rb
activerecord-jdbc-alt-adapter-61.2.0-java lib/arjdbc/informix/connection_methods.rb
activerecord-jdbc-adapter-70.0-java lib/arjdbc/informix/connection_methods.rb
activerecord-jdbc-adapter-70.0.pre-java lib/arjdbc/informix/connection_methods.rb
activerecord-jdbc-adapter-61.2-java lib/arjdbc/informix/connection_methods.rb
activerecord-jdbc-alt-adapter-60.2.0-java lib/arjdbc/informix/connection_methods.rb
activerecord-jdbc-alt-adapter-61.1.0-java lib/arjdbc/informix/connection_methods.rb
activerecord-jdbc-adapter-61.1-java lib/arjdbc/informix/connection_methods.rb
activerecord-jdbc-adapter-60.4-java lib/arjdbc/informix/connection_methods.rb
activerecord-jdbc-adapter-52.8-java lib/arjdbc/informix/connection_methods.rb
activerecord-jdbc-alt-adapter-61.0.0-java lib/arjdbc/informix/connection_methods.rb
activerecord-jdbc-alt-adapter-60.1.0-java lib/arjdbc/informix/connection_methods.rb
activerecord-jdbc-alt-adapter-52.6.0-java lib/arjdbc/informix/connection_methods.rb
activerecord-jdbc-alt-adapter-51.7.0-java lib/arjdbc/informix/connection_methods.rb
activerecord-jdbc-alt-adapter-50.7.0-java lib/arjdbc/informix/connection_methods.rb
activerecord-jdbc-adapter-61.0-java lib/arjdbc/informix/connection_methods.rb
activerecord-jdbc-adapter-60.3-java lib/arjdbc/informix/connection_methods.rb
activerecord-jdbc-adapter-52.7-java lib/arjdbc/informix/connection_methods.rb