public
Description: DataObjects
Homepage: http://rubyforge.org/projects/dorb
Clone URL: git://github.com/datamapper/do.git
do /
name age message
file .gitignore Sun Oct 25 07:09:42 -0700 2009 [data_objects] Enable YARD docs * Fix a couple... [myabc]
file README.markdown Sat Oct 17 14:48:49 -0700 2009 Unmark SQL Server as pending in README drivers ... [myabc]
file Rakefile Sat Jul 18 01:39:58 -0700 2009 Change Rakefiles to use sudo for rake install u... [dkubb]
file TODO.markdown Thu Aug 06 23:52:14 -0700 2009 Separate out plugin section [dbussink]
directory data_objects/ Tue Nov 10 02:53:29 -0800 2009 made the fieldnames case insensitive as it is n... [mkristian]
directory do_derby/ Mon Sep 21 12:35:43 -0700 2009 Updated gemspec dependencies to latest stable/t... [dkubb]
directory do_h2/ Mon Sep 21 12:35:43 -0700 2009 Updated gemspec dependencies to latest stable/t... [dkubb]
directory do_hsqldb/ Mon Sep 21 12:35:43 -0700 2009 Updated gemspec dependencies to latest stable/t... [dkubb]
directory do_jdbc-tools/ Mon Sep 21 12:22:07 -0700 2009 Bumped gem version to 0.10.1 [dkubb]
directory do_jdbc/ Sun Nov 08 20:45:15 -0800 2009 [do_jdbc] return false on close if the Reader i... [mkristian]
directory do_mysql/ Wed Oct 14 04:25:46 -0700 2009 [do_jdbc][do_mysql][do_postgres] Handle user/pa... [myabc]
directory do_oracle/ Sat Oct 03 02:41:37 -0700 2009 Implement quote_byte_array for Postgres It is ... [pbrant]
directory do_postgres/ Tue Oct 27 13:12:13 -0700 2009 Add enumerable support to DO using structs [dbussink]
directory do_sqlite3/ Mon Sep 21 12:35:43 -0700 2009 Updated gemspec dependencies to latest stable/t... [dkubb]
directory do_sqlserver/ Sun Oct 25 15:48:33 -0700 2009 [do_sqlserver] Fix version of JDBC (jTDS) drive... [myabc]
directory jdbc_drivers/ Sun Oct 18 06:04:59 -0700 2009 [jdbc_drivers] Bump bundled sqlserver gem(jTDS)... [myabc]
file pom.xml Mon Sep 21 12:22:07 -0700 2009 Bumped gem version to 0.10.1 [dkubb]
directory tasks/ Fri Oct 23 12:26:24 -0700 2009 [jdbc_drivers] Remove tar requirement to placat... [myabc]
README.markdown

DataObjects README

DataObjects.rb is an attempt to rewrite existing Ruby database drivers to conform to one, standard interface.

At present the following drivers are available:

Database Vendor MRI (1.8.6/7) / 1.9 JRuby
MySQL x x
Oracle x x
PostgreSQL x x
SQLite3 x x
Derby - x
H2 - x
HSQLDB - x
SQL Server pending x

There is experimental support for Rubinius.

At present, PostgreSQL, MySQL and SQLite drivers are available. More drivers are currently under development. If you feel like living on the edge, install and test drivers directly from this repository.

Introduction

To connect to and query the database, DataObjects relies on native extensions. Native extensions have been written in both C (for Ruby 1.8.6/7 (MRI), Ruby 1.9.x (YARV) and Rubinius platform) and Java (for the JRuby platform). Individual drivers may include extensions for both Ruby MRI and JRuby, or one or the other.

C extensions have been written using according to each vendor API. Java drivers use the standard JDBC API. Although there are dialectical differences between the Java drivers, the JDBC API ensures a reasonable amount of commonality. As such, the Java extensions rely on a common do_jdbc gem, which wraps code that is common to all of the Java extensions.

Installation

To install a driver from the repository cd into the driver directory and use the provided rake install task to install for the default platform.

Copyright and Licensing

Please see the copyright notices in each individual driver README.markdown or LICENSE file. Java-based drivers bundle JDBC driver JAR files, which may be provided under a license that is more restrictive than the MIT License used by the data_objects gem itself.