-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
  • 339,461
  • 188
  • 752
  • 538
Fabio Ebner
  • 2,463
  • 13
  • 41
  • 68

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,043
  • 5
  • 14