]> 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:46:42 +0000 (08:46 -0500)
commit32a62cc2d0ca4c13b7eb02307a592f6781962b65
tree68f25dec97e0e892c8b479956e68c1e81ca075ec
parent7249f9457dae857f06af00ea8efb47cc93f1c7ea
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
(cherry picked from commit 8f9e971f10dee0614054671e0c284f0acace2d04)
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