Sha256: 3012f9b484accd16bd266031bf0c5b9b104fd9c193ff16d9a7c95382b1ab5c8c

Contents?: true

Size: 354 Bytes

Versions: 16

Compression:

Stored size: 354 Bytes

Contents

module ActiveRecord
  class Base
    class << self
      def hsqldb_connection(config)
        require "arjdbc/hsqldb"
        config[:url] ||= "jdbc:hsqldb:#{config[:database]}"
        config[:driver] ||= "org.hsqldb.jdbcDriver"
        embedded_driver(config)
      end

      alias_method :jdbchsqldb_connection, :hsqldb_connection
    end
  end
end

Version data entries

16 entries across 16 versions & 5 rubygems

Version Path
intentmedia-activerecord-jdbc-adapter-1.1.1.1 lib/arjdbc/hsqldb/connection_methods.rb
c3-activerecord-jdbc-adapter-1.1.3.1 lib/arjdbc/hsqldb/connection_methods.rb
c3-activerecord-jdbc-adapter-1.1.3 lib/arjdbc/hsqldb/connection_methods.rb
jashmenn-activerecord-jdbc-adapter-1.2.0.0 lib/arjdbc/hsqldb/connection_methods.rb
jashmenn-activerecord-jdbc-adapter-1.2.0 lib/arjdbc/hsqldb/connection_methods.rb
activerecord-jdbc-adapter-1.1.3 lib/arjdbc/hsqldb/connection_methods.rb
activerecord-jdbc-adapter-1.1.2 lib/arjdbc/hsqldb/connection_methods.rb
activerecord-jdbc-adapter-1.1.1 lib/arjdbc/hsqldb/connection_methods.rb
activerecord-jdbc-adapter-1.1.0 lib/arjdbc/hsqldb/connection_methods.rb
activerecord-jdbc-adapter-1.0.3-java lib/arjdbc/hsqldb/connection_methods.rb
activerecord-jdbc-adapter-1.0.2-java lib/arjdbc/hsqldb/connection_methods.rb
activerecord-jdbc-adapter-1.0.1-java lib/arjdbc/hsqldb/connection_methods.rb
activerecord-jdbc-adapter-1.0.0-java lib/arjdbc/hsqldb/connection_methods.rb
activerecord-jdbc-adapter-1.0.0.beta2-java lib/arjdbc/hsqldb/connection_methods.rb
kb-activerecord-jdbc-adapter-1.0.0.beta1-java lib/arjdbc/hsqldb/connection_methods.rb
activerecord-jdbc-adapter-1.0.0.beta1-java lib/arjdbc/hsqldb/connection_methods.rb