public static interface ConnectionWrapperFactory.ConnectionCloseHandler
| Modifier and Type | Method and Description |
|---|---|
void |
close(Connection connection)
Close the given
connection, which was wrapped by the ConnectionWrapperFactory. |
void |
commit(Connection connection)
Commits the underlying transaction
|
void close(Connection connection)
connection, which was wrapped by the ConnectionWrapperFactory.connection - the wrapped connection to closevoid commit(Connection connection) throws SQLException
connection - the wrapped connection to commitSQLException - when an error occurs while committing the connectionCopyright © 2010–2023. All rights reserved.