Yes, it is necessary to obtain the OldValue and NewValue of a property in an Audit entity each time there are changes to the entity. This is important for tracking the history of changes made to the entity, and for future reference in case any discrepancies or issues arise. Without storing the OldValue and NewValue, it would be difficult to determine when and how changes were made to the entity.
Please start posting anonymously - your entry will be published after you log in or create a new account. This space is reserved only for answers. If you would like to engage in a discussion, please instead post a comment under the question or an answer that you would like to discuss
Asked: 2021-10-03 11:00:00 +0000
Seen: 11 times
Last updated: Dec 14 '22
How can we implement a one to many relationship with polymorphic entities in Spring JPA?
What is the correct way to write the entity and find code in TypeORM?
What benefit does using the Required attribute provide for a nullable field in an entity?
What is the way to obtain a Wikipedia page using a Wikidata Id?
What is the process of mapping an entity and its derived class using EF Core TPC?
What is the process of establishing a one-to-many relationship from a single entity's perspective?
What does the duplicate error mean when trying to add entities in EF Core?