SELECT
*
FROM
my_table
WHERE
id = :myBind;
$bingArray = array(
'myBind' => 12
);
Without pooling, frequent connection creation and destruction can be expensive and crippling to high scalability. Oracle's traditional middle-tier connection pools were not applicable to the multi-process PHP architecture. Caching connections within PHP removed connection creation and destruction costs but did not achieve optimal connection resource utilization, incurring unnecessary memory overhead in the database.[Read More]
Updated: I've released a working version of the oracle connection class that does not need behaviors to utilize bind variables.We ran into some more issues using the CakePHP Clob behavior that Bobby Borisov and Nedko Penev wrote. Basically, the issue was that the original file used a reference variable to the model that was supposed to be using the behavior. However, it seemed to always doing something very by expanding the model array everytime the behavior was called.
Updated: I've made some changes to the CakePHP Clob BehaviorBobby Borisov and Nedko Penev over at chankov.net wrote a great CakePHP behavior to help with handling Oracle clob fields in CakePHP 1.2. For those of you unfamiliar with Oracle, it will only let you insert or update a clob field with less than 4000 characters without using a bind variable. If you need to place a value [Read More]
var $default = array(
'driver' => 'oracle',
'persistent' => false,
'host' => '',
'port' => '',
'login' => '',
'password' [Read More]
Views 2922
Comments 3
