You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Jan 19, 2022. It is now read-only.
Would it be possible to get the following Spring datasource properties and integrate them in the TomcatJdbcDataSourceFactory class when you create a new datasource within the createDataSource method ?
For now, it is instanciated with the default values coming from the Tomcat class PoolProperties, but it makes sense to consider those properties that spring provides inside this default datasource factory.
This would allow us to override some configuration of the pool such as the timeouts, number of connections, etc. without having to create a configuration class for it.
The text was updated successfully, but these errors were encountered:
Hi @Kraignos you can use DataSourceAutoConfiguration from spring-boot which means using spring.datasource.* configuration properties. Wondering if you are using spring-cloud-aws-jdbc for any special reason?
Would it be possible to get the following Spring datasource properties and integrate them in the
TomcatJdbcDataSourceFactory
class when you create a new datasource within thecreateDataSource
method ?For now, it is instanciated with the default values coming from the Tomcat class
PoolProperties
, but it makes sense to consider those properties that spring provides inside this default datasource factory.This would allow us to override some configuration of the pool such as the timeouts, number of connections, etc. without having to create a configuration class for it.
The text was updated successfully, but these errors were encountered: