Oracle JDBC driver

The access rights for the Oracle Maven repository have been changed by Oracle to an Auth-based system. Therefore, it is no longer possible in the RapidClipse version to automatically download the appropriate Oracle JDBC driver via Create Driver. To be able to use the Oracle JDBC driver in RapidClipse, perform the following steps:

  1. Download the desired ojdbc.jar driver from the official Oracle site. https://www.oracle.com/technetwork/database/application-development/jdbc/downloads/index.html

    1. For this tutorial it is used Oracle 11g ojdbc6.jar driver.

  2. Then switch to the RapidClipse development environment and open the Run Configurations by right-clicking on your project > Run As > Run Configurations…​.

  3. Now right click on Maven Build > New to create a new Maven Configuration.

  4. At the Base directory property click Workspace…​ and select your project root directory.

  5. For the Goals property, enter the following line:

    install:install-file -Dfile=C:/ojdbc6.jar -DgroupId=com.oracle.jdbc -DartifactId=ojdbc6 -Dversion=1.0.0 -Dpackaging=jar

    -Dfile=C:/ojdbc6.jar = Absolute path specification to the ojdbc6.jar file from step 1.

  6. Now click on Apply and finally on Run.

  7. You should now get a Build Success message in the Console.

  8. Finally, enter the created dependency into your * pom.xml*:

    <dependency>
        <groupId>com.oracle.jdbc</groupId> <!-- Siehe -DgroupId Code-Block oben -->
        <artifactId>ojdbc6</artifactId> <!-- Siehe -DartifactId Code-Block oben -->
        <version>1.0.0</version> <!-- Siehe -Dversion Code-Block oben  -->
    </dependency>