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

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

    I have got a workaround for this issue.

    Follow below step.

    1. Manually create table in your database (Link).
    2. insert some dummy records in BATCH_JOB_INSTANCE, BATCH_JOB_EXECUTION and BATCH_JOB_EXECUTION_PARAMS table. (don't forget to commit)
    3. Error solved. enjoy.

提交回复
热议问题