OptimisticVerificationException (Row not found: GenericOID@) in Artificial types.
possible cause of generating this problem.
if you have two tables having parent child relationship e.g
Table1: Student (studentId, name)
Table2: Courses (courseId, name, studentId)
in a scenario where you want operator to open student record in edit mode i.e
showing his name + his enrolled course
suppose initially two courses were enrolled but now operator wants to enroll 5 more courses, which will make it 7 courses all together.
upon update you are following strategy as first remove all previous courses
if you have two tables having parent child relationship e.g
Table1: Student (studentId, name)
Table2: Courses (courseId, name, studentId)
in a scenario where you want operator to open student record in edit mode i.e
showing his name + his enrolled course
suppose initially two courses were enrolled but now operator wants to enroll 5 more courses, which will make it 7 courses all together.
upon update you are following strategy as first remove all previous courses
Comments
Post a Comment