资 源 简 介
Go there : http://fr2.php.net/manual/fr/ref.pdo-oci.php
Notice the red block at the beginning of this page... pdo_oci is HIGHLY experimental.
Even though it is under dev since 2004, it lakes today support for things that do matters :
* bind a varchar2 of 3500 chars
* get selected metas
* left join with blobs/clobs
* etc.
For the little story, since we use pdo_pgsql in our software, I thought it would be viable to use pdo_oci for running under Oracle. After a long battle, I finally won :
If requested driver has a non-experimental pdo version available, use it.
else (well, for pdo_oci at least), use an abstraction layer of your own.
you"re done.
The point is, that instead of using php_pdo_oci you"re using php_oci8, but keeping the clean framework and syntax of PDO. Easy. Fast. Working.
What is done in more details...
2 "main" classes for being compliant with "$o