Reputation: 1
Im trying to connect my oralce cloud database to intellij using my wallet.I followed the guide at https://www.jetbrains.com/help/idea/connect-to-oracle-cloud-by-using-wallets.html but i still have some problems.
Once i try to test my database connection i have the following error:
Incompatible version of libocijdbc Jdbc:211000, Jdbc-OCI:213000
It seems an error caused, as the error says, by an incompatible version of driver. While preparing of my driver's i downloaded all the requesting files in 21.1.0.0 version.
Upvotes: 0
Views: 2149
Reputation: 291
In my experience, I did not have to manually add the driver files and add custom JARs. Maybe this is a requirement on your end, but if it is NOT or you only need the latest versions available, you can do the below:
IntelliJ offers a feature out-of-the-box for downloading any missing database driver files for you as noted in step 3 here. To fix this:
-
+
to Add > Provided Driver
> Oracle
> Select a VersionDownload ver x.x.x.x
where x.x.x.x
is the available versionNote: I am using Thin
as the Driver instead of OCI. My TNS name
is set to one of the available profiles listed in my tnsnames.ora
.
Upvotes: 1