]> source.dussan.org Git - sonarqube.git/blob
51f0720e850dc7e44e7d5f79ce5f7580e093dc2a
[sonarqube.git] /
1 module ActiveRecord
2   class Base
3     class << self
4       def hsqldb_connection(config)
5         require "arjdbc/hsqldb"
6         config[:url] ||= "jdbc:hsqldb:#{config[:database]}"
7         config[:driver] ||= "org.hsqldb.jdbcDriver"
8         embedded_driver(config)
9       end
10
11       alias_method :jdbchsqldb_connection, :hsqldb_connection
12     end
13   end
14 end