Use the convert_types default setting from the database
# File lib/sequel/adapters/jdbc.rb, line 514 def initialize(db, opts={}) @convert_types = db.convert_types super end
Correctly return rows from the database and return them as hashes.
# File lib/sequel/adapters/jdbc.rb, line 520 def fetch_rows(sql, &block) execute(sql){|result| process_result_set(result, &block)} self end
Create a named prepared statement that is stored in the database (and connection) for reuse.
# File lib/sequel/adapters/jdbc.rb, line 527 def prepare(type, name=nil, *values) ps = to_prepared_statement(type, values) ps.extend(PreparedStatementMethods) if name ps.prepared_statement_name = name db.prepared_statements[name] = ps end ps end
Generated with the Darkfish Rdoc Generator 2.