ORA-00604 hiding ORA-01013 when cancelling task
Nessuno ha ancora preso questa issue.
Valutazione
- Difficoltà
- 4/5
- Tempo stimato
- 3-5 giorni
- Idoneità per principianti
- 25/100
Direzione di ricerca
Inizia riproducendo la cancellazione tramite ToListAsync(cancellationToken) con Oracle.EntityFrameworkCore 10.23.26200, .NET 10 e Oracle Database 19c. Verifica come il provider espone ORA-00604 e ORA-01013; il lavoro è completato quando la cancellazione è distinguibile come OperationCanceledException oppure espone una OracleException con il codice di errore 1013.
Scritto dal modello di indicizzazione a partire dal testo della issue.
Descrizione
Hi,
To my understanding issues in this repo are a way to provide feedback on unexpected behavior in the Oracle.EntityFrameworkCore implementation, as it is not open source or has its own repository. If this is not the case please let me know.
This is related to an issue reported in the Oracle forum last year: Forum Entry
I am now facing the same, I am using:
Oracle.EntityFrameworkCore Version 10.23.26200
.net 10
Oracle db 19c (EF core with OracleSQLCompatibility.DatabaseVersion19)
When cancelling a long running Query via the CancellationToken given to ToListAsync(cancellationToken) an OracleException with ORA-00604 is thrown. The message text of the exception states that the actual Error encapsulated is ORA-01013. However the OracleException.InnerException is null.
It would be very helpful if the Oracle.EntityFrameworkCore would throw an OperationCanceledException or at least have an OracleException as InnerException that has ErrorCode 1013 so we can react properly, since cancelling long running queries is an expected behavior in our app while other errors during fetching data are not. Therefore it would be good if we can have a well defined distinction.
Thank you for your support.
BR Markus
- Lingua principale
- C#
- Stelle
- 434
- Fork
- 191
- Metriche di merge delle PR
- Nessuna PR unita negli ultimi 30g
Preparare l'ambiente
- Nessun Dockerfile né file Docker Compose
- Nessun modello di pull request
- Leggi la guida per i contributori
Come iniziare
- Leggi tutta la issue e poi la guida ai contributi del progetto.
- Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
- Fai un fork del repository e lavora su un branch.
- Apri una pull request che faccia riferimento al numero della issue.
Altre issue di oracle/dotnet-db-samples
-
bug
Difficoltà 4/5 3-5 giorni Idoneità per principianti 18/100
oracle/dotnet-db-samples#503 · 1 commento ·
-
bug
Difficoltà 4/5 3-5 giorni Idoneità per principianti 35/100
oracle/dotnet-db-samples#501 · 2 commenti ·
-
bug
Difficoltà 3/5 1-2 giorni Idoneità per principianti 70/100
oracle/dotnet-db-samples#500 · 3 commenti ·
-
bug
Difficoltà 4/5 3-5 giorni Idoneità per principianti 45/100
oracle/dotnet-db-samples#499 · 1 commento ·
-
bug Oracle base bug/issue/enhancement
Difficoltà 4/5 3-5 giorni Idoneità per principianti 35/100
oracle/dotnet-db-samples#498 · 10 commenti ·
Tutte le issue di oracle/dotnet-db-samples
Issue simili
-
kronos:develop:queued priority:P0
Difficoltà 2/5 1-3 ore Idoneità per principianti 76/100
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 72/100
I maintainer di solito rispondono entro 1 giorno
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 65/100
nopSolutions/nopCommerce#8512 ·
I maintainer di solito rispondono entro 4 giorni
-
bug
Difficoltà 2/5 1-3 ore Idoneità per principianti 74/100
modelcontextprotocol/csharp-sdk#2061 ·
I maintainer di solito rispondono entro 1 giorno
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 76/100
I maintainer di solito rispondono entro 1 giorno