public interface AfterUpdateEntityListener<T extends Entity>
Modifier and Type | Method and Description |
---|---|
void |
onAfterUpdate(T entity,
java.sql.Connection connection)
Executes after the object has been updated in DB.
|
void onAfterUpdate(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
- updated entityconnection
- JDBC connection to the database with the updated entity