Ticket #1463 (closed enhancement: fixed)

Opened 10 months ago

Last modified 9 months ago

Implementation of Doctrine_Adapter_Interface for oracle using oci8

Reported by: vadik56 Owned by: jwage
Priority: blocker Milestone: 1.0.4
Component: Other Version: 1.0.2
Severity: Keywords: oracle, adapter, connection, oci8
Cc: Has Test: no
Status: Pending Core Response Has Patch: yes

Description

Doctrine Doctrine_Adapter_Oracle is outdated and does not implement Doctrine_Adapter_Interface. Attached is Doctrine_Adapter_Oracle and Doctrine_Adapter_Statement_Oracle that implement Doctrine_Adapter_Interface and Doctrine_Adapter_Statement_Interface respectively. I was able to generate classes for existing database and get working Doctrine using this Oracle adapter.

Attachments

Oracle.php (6.5 KB) - added by vadik56 10 months ago.
Doctrine_Adapter_Oracle
Oracle.2.php (20.0 KB) - added by vadik56 10 months ago.
Doctrine_Adapter_Statement_Oracle
Oracle.3.php (6.6 KB) - added by adrive 9 months ago.
Doctrine_Adapter_Oracle with $charset option for oci_connect
Oracle.4.php (20.2 KB) - added by adrive 9 months ago.
Doctrine_Adapter_Statement_Oracle with OCI_RETURN_LOBS by fetch

Change History

Changed 10 months ago by vadik56

Doctrine_Adapter_Oracle

Changed 10 months ago by vadik56

Doctrine_Adapter_Statement_Oracle

Changed 9 months ago by jwage

  • milestone changed from 1.0.3 to 1.1.0

Changed 9 months ago by jwage

  • milestone changed from 1.1.0 to 2.0.0

In Doctrine 2.0 the adapters will be removed from core and in to external packages so I am moving this to 2.0

Changed 9 months ago by adrive

I do not think, that this should be fixed in 2.0.

Invalid Doctrine_Adapter_Statement_Oracle and Doctrine_Adapter_Oracle are already part of Doctrine 1.0 (1.1 as well) as well as other Adapters (mysqli).

The only way how to use Doctrine with Oracle is now this fixed adapter (thanks vadik56), because PDO_OCI is still experimental in PHP and there is no CLOB support for more than two years in this driver.

I think, this is not an enhanecement, but defect.

I am attaching also Doctrine_Adapter_Oracle which can take also $charset parameter for oci_connect.

Changed 9 months ago by adrive

Doctrine_Adapter_Oracle with $charset option for oci_connect

Changed 9 months ago by jwage

  • version changed from 2.0-DEV to 1.0.2
  • milestone changed from 2.0.0 to 1.0.4

Changed 9 months ago by adrive

Doctrine_Adapter_Statement_Oracle with OCI_RETURN_LOBS by fetch

Changed 9 months ago by adrive

  • status changed from new to closed
  • resolution set to fixed

(In [5082]) [1.0, 1.1] Fixes #1463: Updated Doctrine_Adapter_Oracle. Thanks to vadik56..

Changed 9 months ago by adrive

(In [5083]) Merge r5082: [1.0, 1.1] Fixes #1463: Updated Doctrine_Adapter_Oracle. Thanks to vadik56.

Note: See TracTickets for help on using tickets.