summaryrefslogtreecommitdiff
path: root/lib/sqlalchemy/sql
diff options
context:
space:
mode:
authorMike Bayer <mike_mp@zzzcomputing.com>2020-10-19 15:57:13 -0400
committerMike Bayer <mike_mp@zzzcomputing.com>2020-10-19 18:48:58 -0400
commite9051d9b44f078fdcc87cb2e35794f3888184bde (patch)
tree4ddfadff679a2c067b5a06cc428d13729ad6a9d8 /lib/sqlalchemy/sql
parent3e49b8d0519aa024842206a2fb664a4ad83796d6 (diff)
downloadsqlalchemy-e9051d9b44f078fdcc87cb2e35794f3888184bde.tar.gz
Add FAQ entry for retry subject; recipe w/ autocommit
In order to invalidate a connection within a Transaction block and an execution context, we need to take advantage of the simpler transaction design added in 1.4. The recipe can be done on 1.3 but it requires a lot more hacking and isn't worth it. Clearly since the recipe is part of the tests now we can in the future consider adding a feature that's built in for this case but it would have to absolutely guarantee the DBAPI is in autocommit mode and also prevent any "write" operations from taking place. Recipe for now. Fixes: #5657 Change-Id: Ia9ea8cced084d154e83e4d1c259e080b776ec38a
Diffstat (limited to 'lib/sqlalchemy/sql')
0 files changed, 0 insertions, 0 deletions