7.1.3.5 Resolving Conflicts with Persistent State

When an InvalidItemStateException is thrown (either at write-time or save-time) an application may wish to resolve the conflict. The standard solution is to do the following:

In those repositories that support it, applications may avoid such conflicts by using the locking mechanism (see 8.4 Locking).