# File lib/active_record/connection_adapters/oracle_adapter.rb, line 616 def initialize(config, factory = OracleConnectionFactory.new) @active = true @username, @password, @database, = config[:username], config[:password], config[:database] @async = config[:allow_concurrency] @prefetch_rows = config[:prefetch_rows] || 100 @cursor_sharing = config[:cursor_sharing] || 'similar' @factory = factory @connection = @factory.new_connection @username, @password, @database, @async, @prefetch_rows, @cursor_sharing super @connection end