Skip to content
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

Aggregate Root Domain Events and saveAndFlush [DATAJPA-1113] #1455

Closed
spring-projects-issues opened this issue May 8, 2017 · 0 comments
Closed
Assignees
Milestone

Comments

@spring-projects-issues
Copy link

@spring-projects-issues spring-projects-issues commented May 8, 2017

Mathias D opened DATAJPA-1113 and commented

I discovered that the DomainEvents handling does not work with JpaRepository and saveAndFlush.

org.springframework.data.repository.core.support.EventPublishingRepositoryProxyPostProcessor.EventPublishingMethodInterceptor#invoke just takes care of the save method. So DomainEvents are not published on saveAndFlush


Affects: 1.11.3 (Ingalls SR3)

Backported to: 1.11.4 (Ingalls SR4)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Linked pull requests

Successfully merging a pull request may close this issue.

None yet
2 participants