]> git.ipfire.org Git - thirdparty/sqlalchemy/sqlalchemy.git/commit
support cx_Oracle DPI disconnect codes
authorMike Bayer <mike_mp@zzzcomputing.com>
Wed, 23 Feb 2022 18:43:03 +0000 (13:43 -0500)
committerMike Bayer <mike_mp@zzzcomputing.com>
Thu, 24 Feb 2022 13:45:19 +0000 (08:45 -0500)
commit8f9e971f10dee0614054671e0c284f0acace2d04
treeba0280b94a8c49358d8cabd1e27a22c8012c6dd0
parent19f13584b07b03a6ee775c197e0e8cda681e9d5a
support cx_Oracle DPI disconnect codes

Added support to parse "DPI" error codes from cx_Oracle exception objects
such as ``DPI-1080`` and ``DPI-1010``, both of which now indicate a
disconnect scenario as of cx_Oracle 8.3.

Fixes: #7748
Change-Id: I4a10d606d512c0d7f9b4653c47ea5734afffb8a5
doc/build/changelog/unreleased_14/7748.rst [new file with mode: 0644]
lib/sqlalchemy/dialects/oracle/cx_oracle.py
test/dialect/oracle/test_dialect.py