ZF-8147: Database row does not update, Oracle, save
Description
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.
Comments
Posted by Helgi Hrafn Halldórsson (harabanar) on 2009-10-26T11:00:35.000+0000
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.
Posted by Mickael Perraud (mikaelkael) on 2009-10-27T06:15:28.000+0000
See ZF-7946 for associated issue that explain the new behaviour