Skip to Main Content

Oracle Database Discussions

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

Oracle ATP Connection with Java Spring JPA Driver ojdbc issue

user9927564Jun 14 2022

I've created a Oracle ATP database in Oracle Cloud and I'm Trying to create a Restful Spring Boot Apllication that connects to that database.
I've tried to use maven dependencies for the jdbc drivers:
<dependency>
<groupId>com.oracle.database.jdbc</groupId>
<artifactId>ojdbc11</artifactId>
<version>21.5.0.0</version>
</dependency>
<dependency>
<groupId>com.oracle.database.jdbc</groupId>
<artifactId>ucp11</artifactId>
<version>21.5.0.0</version>
</dependency>
It didn't connect to the database, so I've searched the internet to find a solution, I found this Page:
Java connectivity to ATP (0 Bytes)So I dowloaded the jar files pointed in the article:
JDBC and UCP Downloads page (0 Bytes)When I included the jar files to the project manually the connection worked.
The problem now is to build a maven install file, because the install file do Not include jars manually added to the project.
Does any one know the right maven dependencies that work with Oracle ATP?
Thanks and Regards.

Comments
Post Details
Added on Jun 14 2022
1 comment
621 views