Module: JDBCHelper::OracleConnector Deprecated
- Extended by:
- Connector
- Defined in:
- lib/jdbc-helper/connector/oracle.rb
Overview
Deprecated.
Class Method Summary collapse
- .connect(host, user, password, service_name, timeout = Constants::DEFAULT_LOGIN_TIMEOUT, extra_params = {}, &block) ⇒ Object
- .connect_by_sid(host, user, password, sid, timeout = Constants::DEFAULT_LOGIN_TIMEOUT, extra_params = {}, &block) ⇒ Object
Methods included from Connector
check_params, connect_impl, ensure_close
Class Method Details
.connect(host, user, password, service_name, timeout = Constants::DEFAULT_LOGIN_TIMEOUT, extra_params = {}, &block) ⇒ Object
41 42 43 44 45 46 47 |
# File 'lib/jdbc-helper/connector/oracle.rb', line 41 def self.connect(host, user, password, service_name, timeout = Constants::DEFAULT_LOGIN_TIMEOUT, extra_params = {}, &block) check_params extra_params Oracle.connect(host, user, password, service_name, {:timeout => timeout}.merge(extra_params), &block) end |
.connect_by_sid(host, user, password, sid, timeout = Constants::DEFAULT_LOGIN_TIMEOUT, extra_params = {}, &block) ⇒ Object
49 50 51 52 53 54 55 |
# File 'lib/jdbc-helper/connector/oracle.rb', line 49 def self.connect_by_sid(host, user, password, sid, timeout = Constants::DEFAULT_LOGIN_TIMEOUT, extra_params = {}, &block) check_params extra_params Oracle.connect_by_sid(host, user, password, sid, {:timeout => timeout}.merge(extra_params), &block) end |