connectionProperties: Configure some properties of the connection, config.decrypt=true here, indicating that the provided password is encrypted
filters: is an interceptor that can be configured with monitoring, logging, etc
maxActive: The maximum number of connections
initialSize: The number of initialized connections
minIdle: The number of free connections
maxWait: Get the maximum wait time for the connection
timeBetweenEvictionRunsMillis: Detects connection time, in milliseconds
minEvictableIdleTimeMillis: Detects that the connection is closed if it is greater than this value, in milliseconds
validationQuery: Verify whether the database is available through this sql statement when the system starts, for example, SELECT 'x' from dual for oracle, and SELECT 'x' for mysql.
testWhileIdle: Enables idle connection detection for recycling
testOnBorrow: When obtaining a connection from a connection pool, whether to check the connection availability will affect the performance of the connection
testOnReturn: When releasing connection to the connection pool, whether the connection availability is detected will have a slight impact on the performance
poolPreparedStatements: Enable psCache caching, set to true for oracles, and false for non-oracles
maxPoolPreparedStatementPerConnectionSize: The maximum number of caches, set to 0 for non-oracles |