# File lib/arjdbc/oracle/adapter.rb, line 671 def self.emulate_booleans; ::ArJdbc::Oracle.emulate_booleans?; end
# File lib/arjdbc/oracle/adapter.rb, line 672 def self.emulate_booleans=(emulate); ::ArJdbc::Oracle.emulate_booleans = emulate; end
By default, the MysqlAdapter will consider all columns of type tinyint(1) as boolean. If you wish to disable this :
ActiveRecord::ConnectionAdapters::OracleAdapter.emulate_booleans = false
# File lib/arjdbc/oracle/adapter.rb, line 670 def self.emulate_booleans?; ::ArJdbc::Oracle.emulate_booleans?; end
# File lib/arjdbc/oracle/adapter.rb, line 674 def initialize(*args) ::ArJdbc::Oracle.initialize! super # configure_connection happens in super @use_insert_returning = config.key?(:insert_returning) ? self.class.type_cast_config_to_boolean(config[:insert_returning]) : nil end
Generated with the Darkfish Rdoc Generator 2.