alibaba / druid

阿里云计算平台DataWorks(https://help.aliyun.com/document_detail/137663.html) 团队出品,为监控而生的数据库连接池
https://github.com/alibaba/druid/wiki
Apache License 2.0
27.9k stars 8.57k forks source link

spring.datasource.url 和 spring.datasource.druid.url 在配置URL时区别是什么 #3721

Open zh-d-d opened 4 years ago

wenyuanZ commented 4 years ago

前者是为了兼容springboot默认的tomcat-jdbc数据源,后者是用druid自己的前缀

zh-d-d commented 4 years ago

那就是两个的作用是一样的,可以这样理解吗

发自我的 iPhone

在 2020年3月11日,下午3:37,wenyuanZ notifications@github.com 写道:

前者是为了兼容springboot默认的tomcat-jdbc数据源,后者是用druid自己的前缀

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub, or unsubscribe.