Test all the Entity listeners and Callback methods annotation

Description

We should make sure that all the call backs to life-cycle events are working:

  • @PrePersist

  • @PreRemove

  • @PostPersist

  • @PostRemove

  • @PreUpdate

  • @PostUpdate

Some of them might already work because of Hibernate ORM.
Note that the @PostLoad annotation has a test already

Environment

None

Status

Assignee

Nikolay

Reporter

Davide D'Alto

Labels

None

Worked in

None

Feedback Requested

None

Feedback Requested By

None

backPortable

None

Community Help Wanted

None

Suitable for new contributors

Yes, likely

Requires Release Note

None

backportDecision

None

backportReEvaluate

None

Components

Fix versions

Priority

Major