Sha256: 3428868c77b00b6195fbb212122f461a9e911b65ed2f4910e68f4258f595e5cf

Contents?: true

Size: 373 Bytes

Versions: 1

Compression:

Stored size: 373 Bytes

Contents

module Jdbc
  module JTDS
    VERSION = "1.3.0"

    def self.driver_jar
      "jtds-#{VERSION}.jar"
    end

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

    def self.driver_name
      'net.sourceforge.jtds.jdbc.Driver'
    end
  end
end

if $VERBOSE && (JRUBY_VERSION.nil? rescue true)
  warn "Jdbc-JTDS is only for use with JRuby"
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
jdbc-jtds-1.3.0 lib/jdbc/jtds.rb