Oracle Backend for Spring Boot and Microservices
Toggle Dark/Light/Auto mode Toggle Dark/Light/Auto mode Toggle Dark/Light/Auto mode Back to homepage

Oracle Spring Boot Starter for Wallet

This starter provides support for wallet-based authentication for Oracle Database connections. It depends on the UCP starter.

To add this starter to your project, add this Maven dependency:


For Gradle projects, add this dependency:

implementation ''

You need to provide the wallet to your application. You can specify the location in the spring.datasource.url as shown in the following example.


Note that the location specified in the sqlnet.ora must match the actual location of the file.

If your service is deployed in Kubernetes, then the wallet should be placed in a Kubernetes secret which is mounted into the pod at the location specified by the TNS_ADMIN parameter in the URL.