Otherwise, you will see errors like Native library cannot be loaded or Incompatible version of libocijdbc.įor example, consider the following Oracle setup: But the JDBC driver must have the same version as the Oracle Instant Client. For example, Oracle Client 19.x can successfully connect to Oracle server 11.2. When the Oracle Instant Client is installed on a separate machine, versions of the Oracle Instant Client and Oracle Server may differ. Compatibility of versions in OCI mode Installation on separate machines In this case, the JDBC driver's version must be the same as the version of these native libraries. In OCI mode, the JDBC driver uses native libraries. In this mode, various versions of the JDBC driver can be used. In thin mode, the JDBC driver always connects to the TNS listener. DataGrip uses JDBC drivers to connect to the Oracle server through the TNS protocol.