On Wednesday 22 August 2007 14:45:29 Paul Johnston wrote:
> Hi,
>
> This ticket is about whether SQLAlchemy should do a rollback, if you
> raise an exception in your controller method, and handle it with the
> exception_handler decorator.
>
> Current behaviour is that it does NOT rollback in that instance. Should
> we change this in TG1.1? My gut feel is that the desirable behaviour is
> to rollback anything done in the failing controller method, and start a
> new transaction for anything in the handler method.
>
> However, this is a behviour change. If I hear nothing from the list,
> I'll assume this isn't a great issue and leave things be.

My opinion has always been: do the same as SQL Object does. 

Both interfaces should do the same thing and be as interchangeable as 
possible.

-- 
Jorge Godoy      <[EMAIL PROTECTED]>


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

Reply via email to