Sha256: 0a88e5b92e696876f94ed6e3126f203b554695f80a555fcca51d8932063dd648
Contents?: true
Size: 584 Bytes
Versions: 2
Compression:
Stored size: 584 Bytes
Contents
module Trinidad module Extensions class MssqlDbpoolWebAppExtension < DbpoolWebAppExtension def driver_name defined?(Jdbc::JTDS.driver_name) ? Jdbc::JTDS.driver_name : 'net.sourceforge.jtds.jdbc.Driver' end def protocol 'jdbc:jtds:sqlserver://' end def load_driver require 'jdbc/jtds' # NOTE: the adapter has only support for working with the # open-source jTDS driver (won't work with MS's driver) ! Jdbc::JTDS.load_driver if defined?(Jdbc::JTDS.load_driver) end end end end
Version data entries
2 entries across 2 versions & 1 rubygems