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

前端 未结 9 494
后悔当初
后悔当初 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:48

    I was able to resolve this error by adding isolationLevelForCreate like below:

    
            
            
            
            
        
    

提交回复
热议问题