On Jul 4, 4:57 am, Chris McDonough <[email protected]> wrote:
> Same question I guess.. what's the rationale for rolling back yourself?
>
At least i have to be able to catch any database errors and then
continue using the dbsession:
#some stuff with dbsession
try:
dbsession.flush()
except:
dbsession.rollback()
#some other stuff with dbsession
Still, my initial question - if i remove the TM from the pipeline,
the only thing i'll have to do is manually commit / rollback, or is
there anything else?
Thanks.
yp.
--
You received this message because you are subscribed to the Google Groups
"pylons-discuss" 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/pylons-discuss?hl=en.