1

I have these annotations on a method in a spring project. At first sight it works as expected but is there any problems with that annotation as there is not a lot documentation about these 2 working together. The main goal is when we have a serializable access problem to retry the transaction 3 times.

  @Transactional(isolation = Isolation.SERIALIZABLE)
  @Retryable(maxAttempts = 3, include = JpaSystemException.class)
  public MyClassSecond myUpdatingMethod(final MyClassFirst arg1) 
saferJo
  • 497
  • 1
  • 5
  • 16
  • elmehdi at least read the question before stating such things, because your statement will spoil the question... – saferJo Feb 28 '18 at 11:35
  • i did , the answer of the question i mention resume the downside of using both and how they work so you can expect potential problems, if you looking for specific problem , please update your question – elmehdi Feb 28 '18 at 11:50

0 Answers0