[DDC-494] Add IBM DB2 Support Created: 05/Apr/10  Updated: 14/Jun/10  Resolved: 01/May/10

Status: Resolved
Project: Doctrine 2 - ORM
Component/s: ORM
Affects Version/s: None
Fix Version/s: 2.0-BETA2
Security Level: All

Type: New Feature Priority: Trivial
Reporter: Benjamin Eberlei Assignee: Benjamin Eberlei
Resolution: Fixed Votes: 0
Labels: None

Issue Links:
Dependency
depends on DDC-526 Abstract Type needs method "getEmptyV... Resolved
Sub-Tasks:
Key
Summary
Type
Status
Assignee
DDC-496 Add Platform and SchemaManager for DB2 Sub-task Resolved Benjamin Eberlei  
DDC-495 Add Driver and Statement for DB2 Sub-task Resolved Benjamin Eberlei  
DDC-528 Add PDO_IBM Support Sub-task Resolved Benjamin Eberlei  

 Description   

Add IBM DB2 Support for the final release of Doctrine 2



 Comments   
Comment by Benjamin Eberlei [ 08/Apr/10 ]

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?

Comment by Benjamin Eberlei [ 17/Apr/10 ]

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...

Comment by Benjamin Eberlei [ 17/Apr/10 ]

Got PDO_IBM working, just one little problem left to tackle

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

Comment by Benjamin Eberlei [ 18/Apr/10 ]

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.

Comment by Benjamin Eberlei [ 18/Apr/10 ]

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.

Comment by Benjamin Eberlei [ 01/May/10 ]

There is now support for the IBM_PDO and the IBM_DB2 extensions in trunk of Doctrine 2

Generated at Sun Oct 26 01:30:06 UTC 2014 using JIRA 6.2.3#6260-sha1:63ef1d6dac3f4f4d7db4c1effd405ba38ccdc558.