Guys, I think I have not been able to present my point clearly and
hence things are rotating. Let me summarize the issue:

1. I want to use multiple flushes sequentially in a controller method.
2. If an error occurs, all the flushes should rollback.
3. SqlAlchemy is capable of doing this through transaction handling.
4. As Turbogears controller methods are encapsulated in transactions, I
should not have to code transaction code again explicitly.

But in practical, it is not happening. If an error comes in between,
the data already flushed is not getting rolled back.

I have a sample project showing this issue. Should I post it as a
ticket? I could not see an option how to attach the sample project
here. Is it possible?

thanks
sanjay


--~--~---------~--~----~------------~-------~--~----~
 You received this message because you are subscribed to the Google Groups 
"TurboGears" 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/turbogears?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to