We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
delete(Specification)
1 parent 9e87729 commit e8058f5Copy full SHA for e8058f5
spring-data-jpa/src/main/java/org/springframework/data/jpa/repository/support/SimpleJpaRepository.java
@@ -166,8 +166,8 @@ private String getCountQueryString() {
166
return getQueryString(countQuery, entityInformation.getEntityName());
167
}
168
169
- @Transactional
170
@Override
+ @Transactional
171
public void deleteById(ID id) {
172
173
Assert.notNull(id, ID_MUST_NOT_BE_NULL);
@@ -468,6 +468,7 @@ public boolean exists(Specification<T> spec) {
468
469
470
471
472
public long delete(Specification<T> spec) {
473
474
CriteriaBuilder builder = this.entityManager.getCriteriaBuilder();
0 commit comments