title: @Transactional(isolation = Isolation.SERIALIZABLE) retry mechanism
body: <pre><code> @Transactional(isolation = Isolation.SERIALIZABLE)
  </code></pre>
  
  <p>I have that annotation on several methods in my spring project. If there is an exception due to the "serialize access problems" what is the best approach if I want to retry the specific transaction. There is annotation @Retryable but it is not very straightforward to me how to use it so that the transaction will rollback and then retry only for that specific exception and just rollback for the other runtime exceptions. Thanks in advance.</p>