Details
-
Type:
Bug
-
Status:
Closed
-
Priority:
Critical
-
Resolution: Won't Fix
-
Affects Version/s: 1.9.4
-
Fix Version/s: None
-
Component/s: Zend_Db
-
Labels:None
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.
Issue Links
| This issue is related to: | ||||
| ZF-7946 | Zend_Db_Adapter_Oracle triggers E_NOTICE without oci extension |
|
|
|
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.