Like the JPA event listener and do side effect by annotations @Save, @Merge, etc(till now I do not know well about the purpose of these annotations).
Spring Data provides a collection of XXXCallback when converting/saving/updating/delete an entity object.
In Jakarta Data, we can introduce CDI Event instead, make it compatible with all implementation modules.
It is more freely for developers.
Like the JPA event listener and do side effect by annotations
@Save,@Merge, etc(till now I do not know well about the purpose of these annotations).Spring Data provides a collection of
XXXCallbackwhen converting/saving/updating/delete an entity object.In Jakarta Data, we can introduce CDI Event instead, make it compatible with all implementation modules.
It is more freely for developers.