pom.xml 의존성 주입
<dependency>
<groupId>com.oracle.database.jdbc</groupId>
<artifactId>ojdbc8</artifactId>
<scope>runtime</scope>
</dependency>
<dependency>
<groupId>com.oracle.database.security</groupId>
<artifactId>oraclepki</artifactId>
<version>21.9.0.0</version>
</dependency>
<dependency>
<groupId>com.oracle.database.security</groupId>
<artifactId>osdt_cert</artifactId>
<version>21.5.0.0</version>
</dependency>
<dependency>
<groupId>com.oracle.database.security</groupId>
<artifactId>osdt_core</artifactId>
<version>21.5.0.0</version>
</dependency>
application.yml(datasource)
spring:
datasource:
driver-class-name: oracle.jdbc.OracleDriver
url: jdbc:oracle:[tnsName]?TNS_ADMIN=[월렛 디렉토리]
username: [username]
password: [password]