Is there a reason that this delete method variant has no predefined @Transactional marker?
|
public long delete(Specification<T> spec) { |
Currently this breaks support (or needs additional boilerplate code) for the best practice of adding @Transactional(readOnly=true) at repository class level
Is there a reason that this delete method variant has no predefined
@Transactionalmarker?spring-data-jpa/spring-data-jpa/src/main/java/org/springframework/data/jpa/repository/support/SimpleJpaRepository.java
Line 479 in 4387a31
Currently this breaks support (or needs additional boilerplate code) for the best practice of adding
@Transactional(readOnly=true)at repository class level