Hi,

I've got a table with a unique-constraint. And I've got an automatic 
transaction management via decorator in place.

Now it can happen that the violation of that constraint occurs - then a 
ProgrammingError is raised. As the violation is non-fatal, I try to 
catch it, and continue.

The problem is that the session has been invalidated, and my decorator 
fails when trying to commit.

Is there any chance to prevent this invalidation from happening? 
Documention didn't indicate a solution. Probably an Extension helps?

Diez

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"sqlalchemy" group.
To post to this group, send email to sqlalchemy@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/sqlalchemy?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to