Sha256: aae01e521549c2b755a4c22abec1eb34abd74d56b43bb19ad35c3a41cb355b83
Contents?: true
Size: 462 Bytes
Versions: 2
Compression:
Stored size: 462 Bytes
Contents
module Trinidad module Extensions class PostgresqlDbpoolWebAppExtension < DbpoolWebAppExtension def driver_name defined?(Jdbc::Postgres.driver_name) ? Jdbc::Postgres.driver_name : 'org.postgresql.Driver' end def protocol 'jdbc:postgresql://' end def load_driver require 'jdbc/postgres' Jdbc::Postgres.load_driver if defined?(Jdbc::Postgres.load_driver) end end end end
Version data entries
2 entries across 2 versions & 1 rubygems