To connect to the database, create a data source that will store your connection details. Otherwise, you will receive an error that the native library cannot be loaded. For example, if you use the Oracle driver 19.8.0.0, the instant client must be of the same version. Versions of the driver and the instant client must be the same. In the file browser, navigate to the directory of the Instant Client files (for example, ~/Oracle/instantclient_19_8) and click Open. In the Driver Files pane, click the Add icon ( ) and select Native Library Path…. In the list of drivers, right-click the Oracle driver and select Duplicate.Ĭhange the name of the duplicated Oracle driver (for example, Oracle ). In the Data Sources and Drivers dialog, click the Drivers tab. In the Database tool window ( Window | Tool Windows | Database), click the Data Source Properties icon. You can open data source properties by using one of the following options: For full information about tnsnames.ora file, refer to the official documentation.Ĭreating the Oracle OCI data source Step 1. Running Oracle instance with access permissions for your user.Ĭonfigured tnsnames.ora file. 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. The following driver modes are available: To download Oracle database software, refer to the official software downloads.įor more versions of Oracle JDBC driver, refer to the official JDBC driver downloads.ĭownload the following Oracle Instant Client (OCI) packages for your operating system from the Oracle Instant Client Downloads page at :ĭataSpell uses JDBC drivers to connect to the Oracle server through the TNS protocol. Open the Installed tab, find the Database Tools and SQL plugin, and select the checkbox next to the plugin name.įor full information about Oracle, refer to the official documentation. Press Control+Alt+S to open the IDE settings and then select Plugins. If the relevant features aren't available, make sure that you didn't disable the plugin. This functionality relies on the Database Tools and SQL plugin, which is bundled and enabled in DataSpell by default.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |