Sha256: 2fc864732bfbe7171ca7fe05a730252bddbed1c3381abf644b141ce5fa4c1673
Contents?: true
Size: 734 Bytes
Versions: 1
Compression:
Stored size: 734 Bytes
Contents
warn "Jdbc-Derby is only for use with JRuby" if (JRUBY_VERSION.nil? rescue true) module Jdbc module Derby DRIVER_VERSION = "10.8.3.0" VERSION = DRIVER_VERSION + '' def self.driver_jar "derby-#{DRIVER_VERSION}.jar" end def self.load_driver(method = :load) send method, driver_jar end def self.driver_name 'org.apache.derby.jdbc.EmbeddedDriver' end if defined?(JRUBY_VERSION) && # enable backwards-compat behavior : ( Java::JavaLang::Boolean.get_boolean("jdbc.driver.autoload") || Java::JavaLang::Boolean.get_boolean("jdbc.derby.autoload") ) warn "autoloading JDBC driver on require 'jdbc/derby'" if $VERBOSE load_driver :require end end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
jdbc-derby-10.8.3.0 | lib/jdbc/derby.rb |