有什么区别(spring.datasource.hikari.jdbc-url 的参数连接超时 VS spring.datasource.hikari.connectiontimeout)?
what is difference (spring.datasource.hikari.jdbc-url's parameter connection time out VS spring.datasource.hikari.connectiontimeout)?
有什么区别(spring.datasource.hikari.jdbc-url的参数连接超时VS spring.datasource.hikari.connectiontimeout)?
Hikari 文档建议您可以使用任何一种,但建议您直接在数据源上设置参数。
jdbcUrl - This property directs HikariCP to use "DriverManager-based" configuration. We feel that DataSource-based configuration (above) is superior for a variety of reasons (see below), but for many deployments there is little significant difference. When using this property with "old" drivers, you may also need to set the driverClassName property, but try it first without. Note that if this property is used, you may still use DataSource properties to configure your driver and is in fact recommended over driver parameters specified in the URL itself. Default: none
有什么区别(spring.datasource.hikari.jdbc-url的参数连接超时VS spring.datasource.hikari.connectiontimeout)?
Hikari 文档建议您可以使用任何一种,但建议您直接在数据源上设置参数。
jdbcUrl - This property directs HikariCP to use "DriverManager-based" configuration. We feel that DataSource-based configuration (above) is superior for a variety of reasons (see below), but for many deployments there is little significant difference. When using this property with "old" drivers, you may also need to set the driverClassName property, but try it first without. Note that if this property is used, you may still use DataSource properties to configure your driver and is in fact recommended over driver parameters specified in the URL itself. Default: none