Sha256: 123c3052489d8ae63f708e28bae1648aab9a7951d048c2d4996187fac631a7d1
Contents?: true
Size: 754 Bytes
Versions: 2
Compression:
Stored size: 754 Bytes
Contents
begin JRUBY_VERSION.nil? rescue warn 'Jdbc-DSS is only for use with JRuby' end require 'jdbc/dss/version' require 'slf4j-jars' # 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
2 entries across 2 versions & 2 rubygems
Version | Path |
---|---|
gooddata-dss-jdbc-0.1.15 | lib/jdbc/dss.rb |
test-dss-jdbc-0.1 | lib/jdbc/dss.rb |