Topic
1 reply Latest Post - ‏2007-03-19T13:01:25Z by SystemAdmin
SystemAdmin
SystemAdmin
162 Posts
ACCEPTED ANSWER

Pinned topic Feedback to part 9

‏2006-10-17T18:11:24Z |

If you have any feedback to 'Understanding the database layer' (http://www-128.ibm.com/developerworks/ibm/library/i-osource9/) then please post it here.

Thank you!
Updated on 2007-03-19T13:01:25Z at 2007-03-19T13:01:25Z by SystemAdmin
  • SystemAdmin
    SystemAdmin
    162 Posts
    ACCEPTED ANSWER

    Re: Feedback to part 9

    ‏2007-03-19T13:01:25Z  in response to SystemAdmin
    hi all,
    having myself implemented a drupal (v4.7) db2 interface file for the ibm db2 universal database server v8.2 prior to reading this article, i can say i adopted most of the same approaches to making it work but some other issues not mentioned here posed major hurdles. these include drupals use of double quotes as literal string delimiters in sql queries which isn't supported by db2, drupal's use of some database functions not found in db2, the need to use db2 prepared statements for those large blobs such as the drupal cache which don't fit nicely as literal strings in sql queries, and even more. i conclude that this cannot completely work without hacking into the drupal code, which is exactly what i ended up doing.

    attached is my working implementation of the db abtraction layer for db2...hacked database.inc included. hope this helps someone.
    Updated on 2007-03-19T13:01:25Z at 2007-03-19T13:01:25Z by SystemAdmin