We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
delete(Specification)
1 parent 3132e02 commit e96fa55Copy full SHA for e96fa55
spring-data-jpa/src/main/java/org/springframework/data/jpa/repository/support/SimpleJpaRepository.java
@@ -174,8 +174,8 @@ private String getCountQueryString() {
174
return getQueryString(countQuery, entityInformation.getEntityName());
175
}
176
177
- @Transactional
178
@Override
+ @Transactional
179
public void deleteById(ID id) {
180
181
Assert.notNull(id, ID_MUST_NOT_BE_NULL);
@@ -476,6 +476,7 @@ public boolean exists(Specification<T> spec) {
476
477
478
479
480
public long delete(Specification<T> spec) {
481
482
CriteriaBuilder builder = this.entityManager.getCriteriaBuilder();
0 commit comments