Ruby on Rails | Screencasts | Download | Documentation | Weblog | Community | Source

Ticket #4010 (closed defect: duplicate)

Opened 3 years ago

Last modified 3 years ago

[PATCH] Fix deprecated type LONG in Oracle adapter

Reported by: gschmidl@gmail.com Assigned to: David
Priority: normal Milestone:
Component: ActiveRecord Version: 1.0.0
Severity: major Keywords:
Cc: schoenm@earthlink.net

Description

The type 'LONG' has been deprecated in Oracle, leading to problems when trying to use the Oracle adapter with Oracle 10 XE:

ORA-01754: a table may contain only one column of type LONG

This is easily fixed as per Oracle's recommendation to use BLOB instead of LONG. A patch for oci_adapter.rb is attached.

Attachments

oracle_deprecated_type_fix.diff (0.7 kB) - added by gschmidl@gmail.com on 02/28/06 16:54:52.
The patch.

Change History

02/28/06 16:54:52 changed by gschmidl@gmail.com

  • attachment oracle_deprecated_type_fix.diff added.

The patch.

02/28/06 16:55:34 changed by anonymous

  • severity changed from normal to blocker.

02/28/06 17:43:38 changed by mschoen

  • cc set to schoenm@earthlink.net.
  • severity changed from blocker to major.

I'm working up a significant patch to the Oracle adapter to play catch up on a few things, I'll bundle this in.

03/01/06 07:20:34 changed by mschoen

  • status changed from new to closed.
  • resolution set to duplicate.

Closed in favor of #4017.