是否可以添加数据源 url 参数作为额外属性?或者我总是必须将它们作为查询参数直接附加到 url 中?
Example:
spring.datasource.url=jdbc:mysql://localhost/test?useSSL=false&tinyInt1isBit=false
我更喜欢添加它们,伪代码:
spring.datasource.url.meta.useSSL=false
spring.datasource.url.meta.tinyInt1isBit=false
有可能吗?
在@M的暗示下。 Deinum,以下作品:
spring.datasource.hikari.data-source-properties.useSSL=false
spring.datasource.hikari.data-source-properties.tinyInt1isBit=false
本文内容由网友自发贡献,版权归原作者所有,本站不承担相应法律责任。如您发现有涉嫌抄袭侵权的内容,请联系:hwhale#tublm.com(使用前将#替换为@)