]> 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:14:12 +0000 (19:14 -0500)
committerMike Bayer <mike_mp@zzzcomputing.com>
Fri, 7 Dec 2012 00:14:12 +0000 (19:14 -0500)
commit0b0415f49b25a0ceba67898af49d4c0dda695b80
treed67ed9a3007b89eb460f643fdfd8cfb30ba1ce0c
parent84e000f0766b8e4f9e2cd48615720c32c234ffa0
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. [ticket:2611]
doc/build/changelog/changelog_07.rst
lib/sqlalchemy/dialects/oracle/cx_oracle.py
test/dialect/test_oracle.py