#6027: Beginning transaction with Oracle database fails
----------------------+-----------------------------------------------------
   Reporter:  sawa    |          Owner:  phishy   
       Type:  Bug     |         Status:  new      
   Priority:  High    |      Milestone:  1.2.x.x  
  Component:  Oracle  |        Version:  1.2 Final
   Severity:  Normal  |       Keywords:           
Php_version:  PHP 5   |   Cake_version:           
----------------------+-----------------------------------------------------
 I have the latest version of cakephp 1.2.1.8004 and I still have problems
 with transactions on the oracle database.
 It seems that $this->begin() in dbo_oracle.php is not called then I do
 $this->MyModel->begin().

 CakePHP has this interesting behavior that if you put
 $this->MyModel->anythinghere() it will try to execute SQL: anythinghere
 against the database if it doesn't find anythinghere() method anywhere
 within the framework.
 It seems that in my case, it didn't find begin() method so it issued plain
 'begin' sql against the database.
 With MySQL this would be fine, but with Oracle, it shouldn't actually send
 'begin' command towards the server (as it can be seen from the begin()
 method in dbo_oracle.php).
 I can't quite understand all the logic of CakePHP so I couldn't find why
 it doesn't call begin() method in dbo_oracle.php and instead of that it
 sends 'begin' SQL to the server.

-- 
Ticket URL: <https://trac.cakephp.org/ticket/6027>
CakePHP : The Rapid Development Framework for PHP <https://trac.cakephp.org/>
Cake is a rapid development framework for PHP which uses commonly known design 
patterns like ActiveRecord, Association Data Mapping, Front Controller and MVC. 
Our primary goal is to provide a structured framework that enables PHP users at 
all levels to rapidly develop robust web applications, without any loss to 
flexibility.
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"tickets cakephp" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to 
[email protected]
For more options, visit this group at 
http://groups.google.com/group/tickets-cakephp?hl=en
-~----------~----~----~----~------~----~------~--~---

  • [CakePHP : The Rapid Dev... CakePHP : The Rapid Development Framework for PHP

Reply via email to