Sha256: 15156ba3a5b77ee22a9823ef7d3b81dd3fe51eafc86ae27651d6f76c6f90bdbb
Contents?: true
Size: 908 Bytes
Versions: 1
Compression:
Stored size: 908 Bytes
Contents
begin JRUBY_VERSION.nil? rescue warn 'Jdbc-DSS is only for use with JRuby' end require 'jdbc/dss/version' <<<<<<< HEAD require 'slf4j-jars' ======= require 'slf4j-api-1.7.25.jar' require 'slf4j-simple-1.7.25.jar' >>>>>>> 3fa65f2... Use raw slf4j jars # JDBC Wrapper module Jdbc # DSS Wrapper module DSS def self.driver_jar "datawarehouse-jdbc-driver-#{DRIVER_VERSION}.jar" end def self.load_driver(method = :load) send method, driver_jar end def self.driver_name 'com.gooddata.datawarehouse.jdbc.driver.DatawarehouseDriver' 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
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
gooddata-dss-jdbc-0.1.16 | lib/jdbc/dss.rb.orig |