python-cx_Oracle icon indicating copy to clipboard operation
python-cx_Oracle copied to clipboard

Deadlock error as explicit exception

Open ancc opened this issue 3 years ago • 2 comments

Is it possible to add deadlock exception as similarly there's IntegrityError?

Then it's simple to catch it and retry the operation. try: ... except cx_Oracle.DeadlockError: ...

ancc avatar May 17 '22 06:05 ancc

"Hello @ancc , are you still working on this , i would love to pick it up if not .

Ritwikcp-ctrl avatar Oct 28 '25 19:10 Ritwikcp-ctrl

@Ritwikcp-ctrl , cx_Oracle is obsolete and has been replaced by the python-oracledb driver. If you want to add such an enhancement, please do so for that driver!

anthony-tuininga avatar Oct 28 '25 19:10 anthony-tuininga