We build. You grow.

Get best community software here

Start a social network, a fan-site, an education project with oxwall - free opensource community software

How to use commit and rollback any transactions in Oxwall | Forum

Parthiv Dec 22 '14
Hello All..

How to use commit and rollback in Oxwall. i have try to upload 10 images if any error in upload in image then need to rollback transaction. 


Daisy Team
Daisy Jan 19 '15
Parthiv, sorry, but it's not quite clear. Are you talking about the feedback messages which appear in case something went wrong?
Alberto grande
Alberto grande Aug 31 '15
Hello Daisy,

I'm looking exactly for this. I think Parthiv (and it's whar I need) talks about DB transactions. How are they handle? How can I manage the start / commit / rollback?

The point is, I have an operation that should insert data in more than 1 table (in this case 2 or 3 tables). If an error happens trying to insert into the 2nd table, the insert in the first table should be reverted (a typical DB rollback operation).

Thanks in advance!