Skip to content

FINERACT-1724 - COB Optimistic locking fix - #3026

Merged
galovics merged 1 commit into
apache:developfrom
b0c1:cob-optimistic-lock-fix
Mar 8, 2023
Merged

FINERACT-1724 - COB Optimistic locking fix#3026
galovics merged 1 commit into
apache:developfrom
b0c1:cob-optimistic-lock-fix

Conversation

@b0c1

@b0c1 b0c1 commented Mar 7, 2023

Copy link
Copy Markdown
Contributor

FINERACT-1724 - Optimistic locking fix

  • ReloadService for lead entities
  • ReloaderService iterating over ReloadService and try to find and reload the entity
  • Fix COBBusinessStepServiceImpl to reload the entity before the business step

@b0c1
b0c1 force-pushed the cob-optimistic-lock-fix branch 3 times, most recently from 15d242b to 4a87510 Compare March 7, 2023 14:20
- [x] ReloadService for lead entities
- [x] ReloaderService iterating over ReloadService and try to find and reload the entity
- [x] Fix COBBusinessStepServiceImpl to reload the entity before business step
@b0c1
b0c1 force-pushed the cob-optimistic-lock-fix branch from 4a87510 to b257b83 Compare March 7, 2023 14:36

public interface ReloadService<S extends AbstractPersistableCustom> {

<X extends AbstractPersistableCustom> boolean canReload(X input);

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Can't this be type of S instead of X?

@galovics
galovics merged commit 3675500 into apache:develop Mar 8, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants