Sha256: 13c50025d6c618b1e48a40a2a707b4e473aac75c162c31688210dff1c5837e0a

Contents?: true

Size: 753 Bytes

Versions: 1

Compression:

Stored size: 753 Bytes

Contents

# -*- coding: utf-8 -*-
require "rubeus/component_loader"

module Rubeus
  Jdbc = ComponentLoader.new("java.sql") do
    class_to_package.update(
      # $JAVA_HOME/lib/classlistにないものリスト
      'Connection' => 'java.sql',
      'DatabaseMetaData' => 'java.sql',
      'DriverManager' => 'java.sql',
      'ResultSet' => 'java.sql',
      'ResultSetMetaData' => 'java.sql',
      'Statement' => 'java.sql'
      )
    
    def self.irb
      self.extend_with
    end
    
    # auto_load :MetaElement, "rubeus/jdbc/meta_element"
    # auto_load :Table, "rubeus/jdbc/table"
    # auto_load :Column, "rubeus/jdbc/column"
  end
end

require "rubeus/jdbc/closeable_resource"
require "rubeus/jdbc/result_set_column"
require "rubeus/jdbc/table"

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
rubeus-0.0.8-java lib/rubeus/jdbc.rb