public interface ConnectionRecovery
Modifier and Type | Method and Description |
---|---|
default java.sql.Connection |
recover(java.sql.Connection connection)
Returns the same connection as passed or a new connection if the implementation of this interface decides to return
another connection, e.g. because the old connection was closed due to inactivity on the part of the database.
|
default java.sql.Connection recover(java.sql.Connection connection)
connection
- the connection to check and replace if it isn't open any moreCopyright 1998-2023 Christoph Mueller, Kaerntner Str. 56, D-70469 Stuttgart, Germany, https://www.perpus.de