-1

I have 2 entities School and Student in my class School I put one @LastModifiedDate field, It`s possible to update that field when I change in any relation(Student) add, update or delete

tks

EdChum
  • 376,765
  • 198
  • 813
  • 562
Fabio Ebner
  • 2,613
  • 16
  • 50
  • 77

1 Answers1

0

This is related to JPA/Database Auditing. You can refer the below : Spring Boot JPA@CreatedDate @LastModifiedDate not being populated when saving the object

DEBENDRA DHINDA
  • 1,163
  • 5
  • 14