Oracle 连接配置

spring.datasource.url=jdbc:oracle:thin:@localhost:1521:orcl
spring.datasource.username=zhouriyue
spring.datasource.password=13768184197
spring.datasource.driver-class-name=oracle.jdbc.OracleDriver
spring.datasource.max-idle=10
spring.datasource.max-wait=10000
spring.datasource.min-idle=5
spring.datasource.initial-size=5
spring.application.name=oracle-test
server.port=8085


<!-- 这里使用的是JPA包,也可使用JDBC包进行 -->
<dependency>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-starter-data-jpa</artifactId>
</dependency>


原文地址:https://www.cnblogs.com/riyueqian/p/14396306.html