public interface IDatabaseEventListener
| Modifier and Type | Method and Description |
|---|---|
void |
onAfterCommit(Connection dbc)
Called when a commit has been done and has been succesful (meaning no exception was thrown).
|
void |
onAfterRollback(Connection dbc)
Called when a rollback has been done and has been succesful (meaning no exception was thrown).
|
void |
onBeforeRelease(Connection dbc)
Called just before the connection is released back to the pool (or closed).
|
void onBeforeRelease(@Nonnull Connection dbc) throws Exception
Connection.close(), but can also be called for other forced close reasons.dbc - Exceptionvoid onAfterCommit(@Nonnull Connection dbc) throws Exception
dbc - Exceptionvoid onAfterRollback(@Nonnull Connection dbc) throws Exception
dbc - ExceptionCopyright © 2017 etc.to. All rights reserved.