Issue Details (XML | Word | Printable)

Key: DDC-494
Type: New Feature New Feature
Status: Resolved Resolved
Resolution: Fixed
Priority: Trivial Trivial
Assignee: Benjamin Eberlei
Reporter: Benjamin Eberlei
Votes: 0
Watchers: 0
Operations

If you were logged in you would be able to see more operations.
Doctrine 2 - ORM

Add IBM DB2 Support

Created: 05/Apr/10 01:44 PM   Updated: 14/Jun/10 09:17 AM
Component/s: ORM
Affects Version/s: None
Fix Version/s: 2.0-BETA2
Security Level: All

Issue Links:
Dependency
 

Sub-Tasks  All   Open   
 Sub-Task Progress: 

 Description  « Hide
Add IBM DB2 Support for the final release of Doctrine 2

 All   Comments   Change History   FishEye      Sort Order: Ascending order - Click to sort in descending order
Benjamin Eberlei added a comment - 08/Apr/10 04:57 PM
Committed to a feature branch:

http://github.com/beberlei/doctrine2/tree/ibmdb2

The DBAL tests work "ok" for this, however it segfaults on allmost all ORM tests. Its getting to annoying to work with this, does anyone want to pick up from there?


Benjamin Eberlei added a comment - 17/Apr/10 03:58 AM
Linked maybe, it seems IBM DB2 either does not allow the DEFAULT key for columns, or you have to specify a valid default value. I have to investigate this problem more...

Benjamin Eberlei added a comment - 17/Apr/10 05:50 AM
Got PDO_IBM working, just one little problem left to tackle

https://www.ibm.com/developerworks/forums/thread.jspa?threadID=325698


Benjamin Eberlei added a comment - 18/Apr/10 01:26 PM
PDO_IBM is completed, there is only one bug in PDO_IBM that needs to be resolved for the full support (http://pecl.php.net/bugs/bug.php?id=17199), i.e. CLOB/BLOB values don't work correctly.

You can use string types instead, which allow up to 32000 chars.


Benjamin Eberlei added a comment - 18/Apr/10 01:29 PM
Still missing is the support for IBM_DB2 Pecl extension.

Additionally both drivers allow to access Informix databases also, which is not supported yet at all.


Benjamin Eberlei added a comment - 01/May/10 05:23 AM
There is now support for the IBM_PDO and the IBM_DB2 extensions in trunk of Doctrine 2