-
Notifications
You must be signed in to change notification settings - Fork 40.8k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Spring Boot 3.0.0 and Spring Batch 5 | Table "BATCH_JOB_INSTANCE" not found #33526
Comments
Having the same issue, spring batch not auto creating the tables since upgrade in H2. |
@MevlutOzdemir As far as we know, this should work out of the box with dependencies on
Without any information about your app it's impossible for us to know why that's apparently not happening for you. |
If I use the annotation So this setup, will not create the tables: @EnableBatchProcessing
@SpringBootApplication Reproducable: |
That's the expected behaviour in 3.0. Please see the migration guide for details. |
Yup, missed that. Thanks ! |
I recently upgraded my working Spring Batch application from 2.7.6 to 3.0.0 but now it will not run when using h2db as it returns this error
Table "BATCH_JOB_INSTANCE" not found
The text was updated successfully, but these errors were encountered: