Sha256: b4d5a8323c14eca4c5671798454b68ccccc713243df923ce067fcf1b6021a250
Contents?: true
Size: 623 Bytes
Versions: 2
Compression:
Stored size: 623 Bytes
Contents
require 'rubygems' require 'data_objects' require 'do_mysql_ext' # the C/Java extension for this DO driver require 'do_mysql' / 'transaction' if RUBY_PLATFORM =~ /java/ require 'do_jdbc/mysql' # the JDBC driver, packaged as a gem # Another way of loading the JDBC Class. This seems to be more relaible # than Class.forName() within the data_objects.Connection Java class, # which is currently not working as expected. require 'java' import 'com.mysql.jdbc.Driver' module DataObjects module Mysql class Connection def self.pool_size 20 end end end end end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
do_mysql-0.9.9 | lib/do_mysql.rb |
do_mysql-0.9.8 | lib/do_mysql.rb |