oracle_adapter.rb

Path: lib/active_record/connection_adapters/oracle_adapter.rb
Last Update: Tue Sep 16 03:46:44 +0000 2008

oracle_adapter.rb — ActiveRecord adapter for Oracle 8i, 9i, 10g

Original author: Graham Jenkins

Current maintainer: Michael Schoen <schoenm@earthlink.net>

Implementation notes:

  1. Redefines (safely) a method in ActiveRecord to make it possible to implement an autonumbering solution for Oracle.
  2. The OCI8 driver is patched to properly handle values for LONG and TIMESTAMP columns. The driver-author has indicated that a future release of the driver will obviate this patch.
  3. LOB support is implemented through an after_save callback.
  4. Oracle does not offer native LIMIT and OFFSET options; this functionality is mimiced through the use of nested selects. See asktom.oracle.com/pls/ask/f?p=4950:8:::::F4950_P8_DISPLAYID:127412348064

Do what you want with this code, at your own peril, but if any significant portion of my code remains then please acknowledge my contribution. portions Copyright 2005 Graham Jenkins

Required files

active_record/connection_adapters/abstract_adapter   delegate  

[Validate]