Skip to content

Using repositories with Spring Batch does not commit save() statements #5428

@markash

Description

@markash

Good day,

I am trying to re-use my repositories written as part of a core module in a batch module in a multi-module maven Spring Boot project. No matter what I do, the Repository.save() methods do not commit the changes to the database.

Is there a way to overcome this or must I re-configure the database connection and re-write the JPA entities in the batch module?

Kind regards,
Mark P Ashworth

Metadata

Metadata

Assignees

No one assigned

    Labels

    for: stackoverflowA question that's better suited to stackoverflow.com

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions