Skip to content

Conversation

maciejwalkowiak
Copy link
Contributor

That's my first PR to Spring Data JDBC so I hope I got the project right.

This change causes framework to trigger AfterLoadEvent for all entities loaded using @Query annotated methods in repositories.

Since there is some overlap between publishing events in JdbcAggregateTemplate and JdbcRepositoryQuery perhaps it's a good idea to extract something like EntityEventPublisher that would have access to RelationalMappingContext.

schauder pushed a commit that referenced this pull request Oct 15, 2018
schauder added a commit that referenced this pull request Oct 15, 2018
Improved formatting, added author tags and issue comments.
Changed "entity" to "aggregate" in test names to make it more precise.

Original pull request: #94.
schauder pushed a commit that referenced this pull request Oct 15, 2018
schauder added a commit that referenced this pull request Oct 15, 2018
Improved formatting, added author tags and issue comments.
Changed "entity" to "aggregate" in test names to make it more precise.

Original pull request: #94.
@schauder
Copy link
Contributor

I polished and merged it.
Thanks for the fix.

@schauder schauder closed this Oct 15, 2018
@maciejwalkowiak
Copy link
Contributor Author

Thanks!

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