I have person page. In this page I have person, person_group, person_detail classes. I show person's information in this page with 3 classes. I want to add optimistic lock. Person is my main class. Person has one-to-one relationship with person_group and person_detail. I want when i changed person_group or person_detail, change person's version. How can i do?
Thanks