class Sequel::JDBC::Dataset

Constants

DatasetClass
PreparedStatementMethods
StoredProcedureMethods

Attributes

convert_types[RW]

Whether to convert some Java types to ruby types when retrieving rows. Uses the database’s setting by default, can be set to false to roughly double performance when fetching rows.

Public Instance Methods

fetch_rows(sql, &block) click to toggle source

Correctly return rows from the database and return them as hashes.

# File lib/sequel/adapters/jdbc.rb, line 753
def fetch_rows(sql, &block)
  execute(sql){|result| process_result_set(result, &block)}
  self
end
with_fetch_size(size) click to toggle source

Set the fetch size on JDBC ResultSets created from this dataset.

# File lib/sequel/adapters/jdbc.rb, line 759
def with_fetch_size(size)
  clone(:fetch_size=>size)
end