Hahaha... I can't believe I've made stupid mistake like that.
Yes, I typed 'false' as a string.
Now this script is able to rollback() :D
But new problems arise :(
If the 'atomic' set to false, how I know when saveAll() fails?
Because when I put saveAll() in IF statement like this:
if(!$this->BranchRequest->saveAll($this-
>data,array('validate'=>'first','atomic'=>false)))
It seems not working.-- Our newest site for the community: CakePHP Video Tutorials http://tv.cakephp.org Check out the new CakePHP Questions site http://ask.cakephp.org and help others with their CakePHP related questions. To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/cake-php
