Module: JDBCHelper::SqlServerConnector Deprecated
- Extended by:
- Connector
- Defined in:
- lib/jdbc-helper/connector/mssql.rb
Overview
Deprecated.
Backward-compatibility
Class Method Summary collapse
Methods included from Connector
check_params, connect_impl, ensure_close
Class Method Details
.connect(host, user, password, db, timeout = Constants::DEFAULT_LOGIN_TIMEOUT, extra_params = {}, &block) ⇒ Object
31 32 33 34 35 36 37 |
# File 'lib/jdbc-helper/connector/mssql.rb', line 31 def self.connect(host, user, password, db, timeout = Constants::DEFAULT_LOGIN_TIMEOUT, extra_params = {}, &block) check_params extra_params MSSQL.connect(host, user, password, db, {:timeout => timeout}.merge(extra_params), &block) end |