This question is locked. New answers and comments are not allowed.
Hi together
I have the following m:n relation. Instrument -> InstrumentID. It is implemented with a join table. The problem is now, that when i want to add an existing InstrumentID to two new Instrument at the same time i get a OptimisticverificationException, because openaccess always updates the existing InstrumentID even has the same value. (voa_version is increased). The only thing openaccess should do is to create a new entry in the join table. Can anyone tell me why this is happening, and how it could be solved?
Thanks and regards
Fabio Renggli
I have the following m:n relation. Instrument -> InstrumentID. It is implemented with a join table. The problem is now, that when i want to add an existing InstrumentID to two new Instrument at the same time i get a OptimisticverificationException, because openaccess always updates the existing InstrumentID even has the same value. (voa_version is increased). The only thing openaccess should do is to create a new entry in the join table. Can anyone tell me why this is happening, and how it could be solved?
Thanks and regards
Fabio Renggli