У меня есть студент-сущник с подробностями, как мне разрешить обновление существующих данных и отслеживать изменения, внесенные в объект?
Student oldStudent = new Student()
oldStudent.getStudent(id);
Copy contents of old student, and save them on an amendment entity
Then update the oldstudent and save it as the new referenced entity.
Мы будем благодарны за помощь в том, как это сделать, используяJPA.