-
Notifications
You must be signed in to change notification settings - Fork 373
Add insertAll and updateAll for JdbcAggregateOperations #1396
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
Add insertAll and updateAll for JdbcAggregateOperations #1396
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
That looks pretty good.
I have only two (mostly identical) requests.
See the comments.
| * @param instances the aggregate roots to be inserted. Must not be {@code null}. | ||
| * @param <T> the type of the aggregate root. | ||
| * @return the saved instances. | ||
| * @throws IncorrectUpdateSemanticsDataAccessException when at least one instance is determined to be not new. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Where is this coming from? If this is the case we should have a test for it. And it probably would be the same for the simple insert method, where we should add that documentation and the test as well.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@schauder
I used saveAll method of document .
That was an incorrect explanation. It's my fault.
Edited document.
Feel free to edit it with a better description.
thank you
| * @param instances the aggregate roots to be inserted. Must not be {@code null}. | ||
| * @param <T> the type of the aggregate root. | ||
| * @return the saved instances. | ||
| * @throws IncorrectUpdateSemanticsDataAccessException when at least one instance is determined to the |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Same as above.
ebfa073 to
41524ea
Compare
|
Thanks, that's merged. |
#1395