Spring Boot

Using audit metadata in Spring Data JPA

March 19, 2024
Java, Spring, Spring Data JPA
Java, Spring Boot, Jpa

Introduction # While persisting objects there may be the need to save some extra generated information that the user does not need to care about but which is nevertheless relevant to some backend process or business need. In this article we explain how one can enable such information so that it is persisted along with the object state. Activation # In order to activate metadata recording in Spring Data JPA some configuration changes should be made: ...