org.hibernate.StaleObjectStateException:
Row was updated or deleted by another transaction (or unsaved-value mapping was
incorrect): [ClassName#id]
or constraint excpetions.
Which all turned out to be related that the optimistic locking fails from time to time and needs to be disabled.
With version = false in the domain mapping.
References:
disable optimistic locking
delete many to many relations
No comments:
Post a Comment