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
A connection pool should clear SQL warnings via Connection.clearWarnings() either when the Connection is returned to the pool or before it is taken from the pool. Vibur does not do this.
Further comments:
Determine whether calling Connection.clearWarnings() is necessary, as well as whether it has to happen always or to be configurable.
The text was updated successfully, but these errors were encountered:
Connection.clearWarnings() will be called or not on every connection upon its return to the pool based on an appropriate configuration option. Current thinking is that by default this configuration option will be turned off, as for example Hibernate is always clearing the connection warnings (if any) after using a connection taken from a pool.
Originally pointed out here:
https://github.com/brettwooldridge/HikariCP/wiki/Pool-Analysis#sql-warnings-2
A connection pool should clear SQL warnings via Connection.clearWarnings() either when the Connection is returned to the pool or before it is taken from the pool. Vibur does not do this.
Further comments:
Determine whether calling Connection.clearWarnings() is necessary, as well as whether it has to happen always or to be configurable.
The text was updated successfully, but these errors were encountered: