[MODEXPW-637] Fix spring batch configuration to use jdbc repository - #741
Merged
Conversation
|
viacheslavkol
marked this pull request as ready for review
June 10, 2026 13:48
viacheslavkol
requested review from
a team,
SvitlanaKovalova1,
obozhko-folio and
psmagin
and removed request for
a team
June 10, 2026 13:48
SvitlanaKovalova1
approved these changes
Jun 10, 2026
psmagin
approved these changes
Jun 10, 2026
SerhiiNosko
approved these changes
Jun 11, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.



Purpose
Fix multiple eHoldings jobs failing when run simultaneously
Approach
Fix spring batch configuration to use jdbc repository
Rename old
BATCH_JOB_SEQto the new Spring-Batch-6 version -BATCH_JOB_INSTANCE_SEQLearning
Spring boot upgrade to version 4 brought the Spring Batch 6. For jdbc repository to be used by spring batch additional configuration is now required. Sequence name is also changed
Migration to Spring Boot 4.0
Spring-Boot-4.0-Migration-Guide
Spring-Batch-6.0-Migration-Guide
Manual testing
Tested on dev environment. Jobs 1-3 were ran before the fix, 4-6 were ran after the fix was deployed

Pre-Merge Checklist:
Before merging this PR, please go through the following list and take appropriate actions.
If there are breaking changes, please STOP and consider the following: