The need for the synchronized function when doing write operation to DBMS
<p>In the common DBMS, the read/write operation has been implemented the Lock-system implicitly so that programmer does not necessarily handle this complex locking mechanism.  But why when we write code on the application level, it is common that we still need to use some lock/synchronized function when doing write.</p>

<p>e.g.</p>

<blockquote>
  <p>public synchronized writetoDBMS(){
      SQL statement writing to DBMS }</p>
</blockquote>
