From Oracle:
ODBC
You could use ODBC to connect from Oracle to 4D Server.
You would need to install the 4D ODBC Driver appropriate to your environment on the Oracle machine. Remember to match the version of ODBC Driver to the version of 4D and the architecture of the ODBC Driver with the architecture of the ODBC Client (Oracle in this case).
For example, if your 4D Server is running v15.2 and Oracle is running in 64 bit mode, you would then want to use the 4D v15.2 ODBC Driver 64 bit
On the other hand if 4D Server is running 14.5 and Oracle is running in 32 bit mode, you would want to install the 4D v14.5 ODBC Driver 32 bit
The ODBC Drivers can be downloaded from http://4d.com/downloads/products.html
Here are some general instructions for connecting to an ODBC server from Oracle
Native SQL Protocol
The 4D SQL Protocol is documented at Github - 4D/SQLlib_4D and also on sources.4d.com so theoretically you could write a connector of some sort.
From 4D:
ODBC
You could use ODBC to connect from 4D Server to Oracle.
You would need to install the appropriate Oracle ODBC Driver on the 4D Server machine and then connect using SQL LOGIN
4D for OCI
You could use the plugin 4D for OCI which has documentation here