public interface AfterDeleteEntityListener<T extends Entity>
| Modifier and Type | Method and Description |
|---|---|
void |
onAfterDelete(T entity,
java.sql.Connection connection)
Executes after the object has been deleted or marked as deleted in DB.
|
void onAfterDelete(T entity, java.sql.Connection connection)
Modification of the entity state or using EntityManager is impossible here. Use connection if you
need to make changes in the database.
entity - deleted entityconnection - JDBC connection to the database of the deleted entity