Can the Oracle Managed Driver use async/wait properly?

孤者浪人 提交于 2019-11-27 21:16:44

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).

(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.

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!