This version is still in development and is not considered stable yet. For the latest stable version, please use Spring Data Relational 3.3.2! |
EntityCallbacks
Spring Data R2DBC uses the EntityCallback
API for its auditing support and reacts on the following callbacks.
Callback | Method | Description | Order |
---|---|---|---|
BeforeConvertCallback |
|
Invoked before a domain object is converted to |
|
AfterConvertCallback |
|
Invoked after a domain object is loaded. |
|
AuditingEntityCallback |
|
Marks an auditable entity created or modified |
100 |
BeforeSaveCallback |
|
Invoked before a domain object is saved. |
|
AfterSaveCallback |
|
Invoked after a domain object is saved. |
|