-
Notifications
You must be signed in to change notification settings - Fork 1.5k
DATAJPA-1818 - Implements CrudRepository.delete(Iterable<ID> ids). #435
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
Conversation
@@ -218,6 +218,16 @@ public void deleteAll(Iterable<? extends T> entities) { | |||
} | |||
} | |||
|
|||
@Override | |||
public void deleteAllById(Iterable<? extends ID> ids) { |
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.
Should we also add a deleteAllByIdInBatch
variant?
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.
I added deleteAllByIdInBatch
.
It does not work with EclipseLink since their handling of IN queries seems still to be broken.
Renamed deleteInBatch
to deleteAllInBatch
to match the naming conventions of CrudRepository
and the new method. The old variant is deprecated and delegates to the new one.
Handling of IN-Queries in Eclipselink is still broken.
dd7fbb0
to
833445b
Compare
…ds). Handling of IN-Queries in Eclipselink is still broken so this properly works only with Hibernate. Original pull request: #435.
…rudRepository. Original pull request: #435.
Reorder methods. Fix Javadoc. Original pull request: #435.
That's merged and polished now. |
Add missing Transactional annotations. Original pull request: #435.
Merge right after DATACMNS-800