if the pessimistic listener doesn't work, maybe he could do something like this:
* create an event listener to grab the sql executes * wrap the execute in try/except with a savepoint savepoint() while True : try: execute() break except: rollback() fails += 1 if fails >= FAIL_MAX: raise MaxFailsError() -- You received this message because you are subscribed to the Google Groups "sqlalchemy" group. To unsubscribe from this group and stop receiving emails from it, send an email to sqlalchemy+unsubscr...@googlegroups.com. To post to this group, send email to sqlalchemy@googlegroups.com. Visit this group at http://groups.google.com/group/sqlalchemy. For more options, visit https://groups.google.com/groups/opt_out.