Module: Jdbc::Derby

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

Constant Summary collapse

DRIVER_VERSION =
'10.12.1.1'
VERSION =
DRIVER_VERSION

Class Method Summary collapse

Class Method Details

.driver_jarObject



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

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

.driver_nameObject



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

def self.driver_name
  'org.apache.derby.jdbc.EmbeddedDriver'
end

.load_driver(method = :load) ⇒ Object



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

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