Methods

Class Index [+]

Quicksearch

Sequel::JDBC

Houses Sequel’s JDBC support when running on JRuby.

Constants

JNDI_URI_REGEXP

Used to identify a jndi connection and to extract the jndi resource name.

DECIMAL_TYPE_RE

The types to check for 0 scale to transform :decimal types to :integer.

DATABASE_SETUP

Contains procs keyed on sub adapter type that extend the given database object so it supports the correct database type.

Public Class Methods

load_gem(name) click to toggle source

Allowing loading the necessary JDBC support via a gem, which works for PostgreSQL, MySQL, and SQLite.

     # File lib/sequel/adapters/jdbc.rb, line 130
130:     def self.load_gem(name)
131:       begin
132:         Sequel.tsk_require "jdbc/#{name}"
133:       rescue LoadError
134:         # jdbc gem not used, hopefully the user has the .jar in their CLASSPATH
135:       end
136:     end

Disabled; run with --debug to generate this.

[Validate]

Generated with the Darkfish Rdoc Generator 1.1.6.