Spring Batch ORA-08177: can't serialize access for this transaction when running single job, SERIALIZED isolation level

前端 未结 9 512
后悔当初
后悔当初 2020-12-01 07:58

I am getting this exception with SERIALIZED isolation level on JobRepository in Spring Batch:

org.springframework.dao.CannotSerializeTransactionException: Pr         


        
9条回答
  •  误落风尘
    2020-12-01 08:44

    I had the same problem, and effectively isolation in jobRepository level is the key, here is an example of code that works for me:

       
    

提交回复
热议问题