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

Issue Type: Bug Created: 2009-10-26T07:50:44.000+0000 Last Updated: 2010-04-07T13:31:44.000+0000 Status: Closed Fix version(s): Reporter: Helgi Hrafn Halldórsson (harabanar) Assignee: Mickael Perraud (mikaelkael) Tags: - Zend_Db

Related issues: - ZF-7946



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.


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

Have you found an issue?

See the Overview section for more details.


© 2006-2016 by Zend, a Rogue Wave Company. Made with by awesome contributors.

This website is built using zend-expressive and it runs on PHP 7.