title: Doctrine2 ORM select for update
body: <p>Could you suggest an approach how to implement <code>SELECT FOR UPDATE</code> with Doctrine?</p>
  <p>I need to read a counter value, then use it in PHP code and immediately increment the value before someone else (from another process) uses the same value.</p>