oracle_adapter.rb — ActiveRecord adapter for Oracle 8i, 9i, 10g
Original author: Graham Jenkins
Current maintainer: Michael Schoen <schoenm@earthlink.net>
Implementation notes:
- Redefines (safely) a method in ActiveRecord to make it possible to implement an autonumbering solution for Oracle.
- 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.
- LOB support is implemented through an after_save callback.
- 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