Hi, I am confused about transaction here.

I have a method like this:
@expose()
def tatest(self):
   album = model.Album(artist="lalala", .......)

But it saved to DB even I don't have session.flush(). Also, it didn't
rollback if there's exception.
I already referred to the SA official docs, but it seems not adapted
with TG. Any idea? Thanks.


--~--~---------~--~----~------------~-------~--~----~
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