johnou opened a new pull request, #411: URL: https://github.com/apache/commons-dbcp/pull/411
Motivation: AWS Aurora can produce SQL state codes that indicate non-fatal errors [1]. The current connection pool implementation doesn't handle these gracefully, leading to unnecessary evictions and performance issues. Allowing custom logic for SQL exception handling will give users more control and improve pool stability and efficiency. [1] https://github.com/awslabs/aws-mysql-jdbc?tab=readme-ov-file#connection-pooling Modification: Added a new SQLExceptionOverride interface to allow users to define custom SQL exception handling behaviour. Result: This change allows for more precise handling of SQL exceptions, ensuring connections are only evicted when necessary, enhancing overall pool performance and reliability. -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected]
