We are facing a unique constraint violated exception on updating a value object. The value object is mapped to two tables using @SecondaryTable annotation as follows.
The print stack trace of the exception is as follows.
The data from the table getting wiped out after the exception is thrown...