]> git.ipfire.org Git - thirdparty/sqlalchemy/sqlalchemy.git/commit
Repaired the usage of ``.prepare()`` in conjunction with
authorMike Bayer <mike_mp@zzzcomputing.com>
Fri, 7 Dec 2012 00:10:06 +0000 (19:10 -0500)
committerMike Bayer <mike_mp@zzzcomputing.com>
Fri, 7 Dec 2012 00:10:06 +0000 (19:10 -0500)
commitaf1a545bdd9d5210981a07f74e62f5d343b14537
treeafe3cb7c86a30aee58ef4fe2b5e48490a851341e
parent850fb33094549849d48f5f181793aa9474c14e2d
Repaired the usage of ``.prepare()`` in conjunction with
cx_Oracle so that a return value of ``False`` will result
in no call to ``connection.commit()``, hence avoiding
"no transaction" errors.   Two-phase transactions have
now been shown to work in a rudimental fashion with
SQLAlchemy and cx_oracle, however are subject to caveats
observed with the driver; check the documentation
for details.  Also in 0.7.10.
[ticket:2611]
doc/build/changelog/changelog_07.rst
doc/build/changelog/changelog_08.rst
lib/sqlalchemy/dialects/oracle/cx_oracle.py
test/dialect/test_oracle.py