Module: Jdbc::HSQLDB

Defined in:
lib/jdbc/hsqldb.rb,
lib/jdbc/hsqldb/version.rb

Constant Summary collapse

DRIVER_VERSION =
'2.4.1'
VERSION =
DRIVER_VERSION

Class Method Summary collapse

Class Method Details

.driver_jarObject



7
8
9
# File 'lib/jdbc/hsqldb.rb', line 7

def self.driver_jar
  "hsqldb-#{DRIVER_VERSION}.jar"
end

.driver_nameObject



15
16
17
# File 'lib/jdbc/hsqldb.rb', line 15

def self.driver_name
  'org.hsqldb.jdbcDriver'
end

.load_driver(method = :load) ⇒ Object



11
12
13
# File 'lib/jdbc/hsqldb.rb', line 11

def self.load_driver(method = :load)
  send method, driver_jar
end