Is it possible to add datasource url parameters as an extra property? Or do I always have to append them directly to the url as query parameters?
Example:
spring.datasource.url=jdbc:mysql://localhost/test?useSSL=false&tinyInt1isBit=false
I'd prefer adding them, pseudocode:
spring.datasource.url.meta.useSSL=false
spring.datasource.url.meta.tinyInt1isBit=false
Possible somehow?
With the hint of @M. Deinum, the following works:
spring.datasource.hikari.data-source-properties.useSSL=false
spring.datasource.hikari.data-source-properties.tinyInt1isBit=false
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.