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

Comments

Popular posts from this blog

storing byte array as column value in datatable using c#

post form data and bind with model : using jquery ajax in mvc

Htc sensation XL mobile not working with windows 7 or above, along with Htc sync software