        
  <div class="section" id="optimistic-locking">
<h1>Optimistic Locking<a class="headerlink" href="#optimistic-locking" title="Permalink to this headline">¶</a></h1>
<p>By default, CRUDlex uses optimistic locking via the version field. This means that the version field is incremented on
each update of an entity. The current version is sent on submitting the edit form and then compared to the existing one
in the database. If those two values are not equal, someone else was faster in editing the enti