ZF-8147: Database row does not update, Oracle, save


When Zend_Db_Row::save() is called using Zend_Db_Adapter_Oracle, the row in database does not update. This works fine in 1.9.3PL1.

The row does not get updated even though the Zend_Db_Adapter_Abstract::update() statement returns a positive number of affected rows.


I found out that my extended framework overwrites the _connect method to execute ALTER SESSSION queries. The _connect function in 1.9.4 calls _setExecuteMode(OCI_COMMIT_ON_SUCCESS) while in 1.9.3PL1 the $_execute_mode parameter is set to OCI_COMMIT_ON_SUCCESS by default.

See ZF-7946 for associated issue that explain the new behaviour