Spring Batch Framework - Auto create Batch Table

后端 未结 9 1593
广开言路
广开言路 2020-12-01 12:02

I just created a batch job using Spring Batch framework, but I don\'t have Database privileges to run CREATE SQL. When I try to run the batch job I hit the error while the f

9条回答
  •  情书的邮戳
    2020-12-01 12:32

    Spring Batch uses the database to save metadata for its recover/retry functionality.

    If you can't create tables in the database then you have to disable this behaviour

    If you can create the batch metadata tables but not in runtime then you might create them manually

提交回复
热议问题