Can the Oracle managed driver use async/await properly?
(I'm leaving this as an answer since it appears to be the "solution" to getting the Oracle managed driver to properly support async.)
I found an old thread (from 2010) on Oracle's site where Oracle PM's say they don't support it. You can vote (must have an Oracle account) to have that feature included. After 5 years it's sadly only gained 60 votes.
No. The managed driver does not support async
/ await
.
You can call those methods, since they must be implemented to comply with the interface definition, but the code is actually synchronous. You can use Task.Run
if you want to, but you can't have two calls at the same time (Oracle will threat them synchronous).