title: How to retry update after OptimisticLockException in the same TX
body: <p>In my program I need to be able to retry row update after the row was updated by an external transaction. Hibernate/JPA throws <code>OptimisticLockException</code>, which I catch.
  Upon retry I try to re-read the row from DB through JPQL/HQL but the select statement generates the same <code>OptimisticLockException</code>.
  Is there any way to re-read the latest version of the row and update it in <strong>THE SAME</strong> transaction?</p>