meedbek commented on PR #324:
URL: https://github.com/apache/commons-dbcp/pull/324#issuecomment-1831623538
> * APIs?
Hi @garydgregory,
1. Based on the JavaDoc if a request was ended then endRequest is a no-op
so calling it should not clash for apps that call commit or rollback.
2. These two methods do not begin or end transactions, they are just a
hint to the driver that a request has began or ended. Using them can improve
the driver performance and the user experience. Though if there is an active
transaction when the connection is released, calling endRequest may throw an
exception depending on the implementation.
--
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]