Welcome Guest, Not a member yet? Register   Sign In
Transactions not work ?
#2

[eluser]sotoz[/eluser]
Hello.

When you are calling the rollback function you have not started any query to rollback. When you call the controller's insert function you do one connection to the database and try to insert something (I bet the insert isn't working either without the commit) but the query doesn't "stay in memory" so you can rollback it anytime by calling a different controller function.

You have to choose to rollback or commit a query at the runtime of the function you do the insert/update whatever.


Messages In This Thread
Transactions not work ? - by El Forum - 06-25-2013, 12:26 AM
Transactions not work ? - by El Forum - 06-25-2013, 11:17 AM



Theme © iAndrew 2016 - Forum software by © MyBB