Nice constructive criticism. You leave a comment for the user who
submitted the video? I am sure he would take your suggestions and use
them for another video, he might even suggest you do one yourself and
submit it to help the community learn.
--
Larry E. Masters
On Jan 14, 2011, at 16:44, Ryan
On Jan 12, 2011, at 04:58, Larry E. Masters wrote:
> I just noticed this thread. You might want to look at a video someone
> uploaded to http://tv.cakephp.org recently showing how to use transactions
> with CakePHP
>
> http://tv.cakephp.org/video/guille1983/2011/01/10/database_transactions
Un
yeah, i'll take a look at that .., thanks
Check out the new CakePHP Questions site http://cakeqs.org and help others with
their CakePHP related questions.
You received this message because you are subscribed to the Google Groups
"CakePHP" group.
To post to this group, send email to cake-php@goo
Thank you for the update PhpNut :)
On Jan 12, 6:58 pm, "Larry E. Masters" wrote:
> I just noticed this thread. You might want to look at a video someone
> uploaded tohttp://tv.cakephp.orgrecently showing how to use transactions
> with CakePHP
>
> http://tv.cakephp.org/video/guille1983/2011/01/10/
I just noticed this thread. You might want to look at a video someone
uploaded to http://tv.cakephp.org recently showing how to use transactions
with CakePHP
http://tv.cakephp.org/video/guille1983/2011/01/10/database_transactions
--
Larry E. Masters
On Tue, Jan 11, 2011 at 11:44 PM, huoxito w
great topic, just helped me alot here, thanks! so good cake got this group!
Check out the new CakePHP Questions site http://cakeqs.org and help others with
their CakePHP related questions.
You received this message because you are subscribed to the Google Groups
"CakePHP" group.
To post to this
Hi Amit,
it worked. Thank you very much.
Saw your website. Interesting.
Apparently i had previously added you to my watchlist for providers
who appear to be experienced in cakephp.
Perhaps next time when i seek major help in cakephp, i will consider
your company more. :)
Have a good weekend.
Thanks for the tip Amit.
I shall go try that.
Any idea why i cannot subscribe to this particular thread via my
gmail?
On Dec 24, 4:31 pm, Amit Badkas wrote:
> Hi,
>
> I didn't know that you need to use saveAll() inside transaction. By default,
> saveAll() starts new transaction. So change your
Hi,
I didn't know that you need to use saveAll() inside transaction. By default,
saveAll() starts new transaction. So change your saveAll() call from
$result = $this->saveAll($data);
to
$result = $this->saveAll($data, array('atomic' => false));
Hope this helps.
Amit Badkas
PHP Applications f
Hi all,
it did not work.
I have tried
This is for a Merchant Model;
$datasource = $this->getDataSource();
$datasource->begin($this);
$result = $this->saveAll($data);
if (!$result) {
$datasource->rollback($this);
return false;
}
/**
* do something to form a $domainData array
**/
$result =
Hi,
I would use something like following in one of the models to save data for
non-related InnoDB tables
$db =& ConnectionManager::getDataSource($this->useDbConfig);
$db->begin($this);
$db->commit($this);
Hope this helps.
Amit Badkas
PHP Applications for E-Biz: http://www.sanisoft.com
On
Alright thanks!
On Dec 23, 8:55 pm, Jon Bennett wrote:
> > Unfortunately the 7 models are not interrelated to each other, some
> > are of course related.
>
> > So i am not sure if saveAll allows that non interrelated models.
>
> I've only used transactions in cake to save related data, though I
>
> Unfortunately the 7 models are not interrelated to each other, some
> are of course related.
>
> So i am not sure if saveAll allows that non interrelated models.
I've only used transactions in cake to save related data, though I
believe once a transaction has been triggered, it will wrap any
sub
Hi Jon
> Use innodb and connect your keys/tables correctly.
> Use saveAll not save and it will wrap all the SQL into a single transaction.
Are you suggesting an alternative to
http://book.cakephp.org/view/1633/Transactions
?
Unfortunately the 7 models are not interrelated to each other, some
ar
> i have a 7 model transaction that needs to be rolled back whenever 1
> of the tables do not commit properly.
>
> i found this but i am not sure how it works.
>
> http://book.cakephp.org/view/1633/Transactions
>
> I am vaguely familiar with MySQL transaction but prefer to follow cake
> way of doin
hi there,
i have a 7 model transaction that needs to be rolled back whenever 1
of the tables do not commit properly.
i found this but i am not sure how it works.
http://book.cakephp.org/view/1633/Transactions
I am vaguely familiar with MySQL transaction but prefer to follow cake
way of doing th
16 matches
Mail list logo