springboot连接Oracle数据库的基本配置
#阿里连接池配置
#spring.datasource.druid.driver-class-name=oracle.jdbc.driver.OracleDriver #可配可不配,阿里的数据库连接池会通过url自动搜寻
spring.datasource.druid.url=jdbc:oracle:thin:@localhost:1521:orcl
spring.datasource.druid.username=scott
spring.datasource.druid.password=tiger
原创
2020-06-29 10:25:40 ·
5568 阅读 ·
0 评论