Tread carefully.
Given Oracle's history with the Java and the Google lawsuit, would you want to walk into that particular minefield?
Oracle has taken DPI, the data access layer in its node-oracledb driver, refactored it, and used it to give C/C++ developers an API to its Oracle Call Interface. Called ODPI-C, the library, on GitHub, is designed to let those developers write for the Oracle Call Interface (OCI) in the languages with whichi they are most …
Back to the future. You could call Oracle from FORTRAN in 1996. (Why you would want to is another matter)
It was called PRO*FORTRAN and used a precompiler.
They withdrew it at the drop of a hat, forcing me to use PRO*C, and call that from FORTRAN (this was on DEC VMS)
There are even documents about it still on their documents site.