Skip to content

Not working batch.jdbc.initialize-schema: always with spring boot 3.0.0 #4273

@vasilykabanov

Description

@vasilykabanov

Bug description
When I set the parameter "batch:jdbc:initialize-schema:" to always, I expect the creation of meta tables with a description of the work of spring batch, but when switching to spring boot 3.0.0, the tables are not created, and the settings have not changed.

Environment
Spring Boot 3.0.0
Spring Batch 5.0.0
Postgres Database 42.3.4
jdk-18.0.1.1.jdk
macOS 13.0.1

Steps to reproduce

  1. Clone project
  2. Run docker compose file
  3. Go to tree "spring-boot-v3"
  4. Run application
  5. Connect to DB and check

Expected behavior
Waiting to create meta tables in my database

Minimal Complete Reproducible example
not working example - https://github.com/vasilykabanov/spring-batch-bug-reproducer/tree/spring-boot-v3
working example - https://github.com/vasilykabanov/spring-batch-bug-reproducer/tree/spring-boot-v2

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions