Sha256: b21f1abd85e673b10e2e3c8e6ff568dcaee84b6ac1074e72e7e248daead0c52d
Contents?: true
Size: 733 Bytes
Versions: 6
Compression:
Stored size: 733 Bytes
Contents
begin JRUBY_VERSION.nil? rescue warn 'Jdbc-DSS is only for use with JRuby' end require 'jdbc/dss/version' # JDBC Wrapper module Jdbc # DSS Wrapper module DSS def self.driver_jar "dss-jdbc-driver-#{DRIVER_VERSION}.jar" end def self.load_driver(method = :load) send method, driver_jar end def self.driver_name 'com.gooddata.dss.jdbc.driver.DssDriver' end if defined?(JRUBY_VERSION) && # enable backwards-compat behavior : (Java::JavaLang::Boolean.get_boolean('jdbc.driver.autoload') || Java::JavaLang::Boolean.get_boolean('jdbc.dss.autoload')) warn "autoloading JDBC driver on require 'jdbc/dss'" if $VERBOSE load_driver :require end end end
Version data entries
6 entries across 6 versions & 1 rubygems