File tree 1 file changed +5
-5
lines changed
spring-data-jpa/src/main/java/org/springframework/data/jpa/repository/support
1 file changed +5
-5
lines changed Original file line number Diff line number Diff line change @@ -618,8 +618,8 @@ public long count(@Nullable Specification<T> spec) {
618
618
return executeCountQuery (getCountQuery (spec , getDomainClass ()));
619
619
}
620
620
621
- @ Transactional
622
621
@ Override
622
+ @ Transactional
623
623
public <S extends T > S save (S entity ) {
624
624
625
625
Assert .notNull (entity , "Entity must not be null" );
@@ -632,8 +632,8 @@ public <S extends T> S save(S entity) {
632
632
}
633
633
}
634
634
635
- @ Transactional
636
635
@ Override
636
+ @ Transactional
637
637
public <S extends T > S saveAndFlush (S entity ) {
638
638
639
639
S result = save (entity );
@@ -642,8 +642,8 @@ public <S extends T> S saveAndFlush(S entity) {
642
642
return result ;
643
643
}
644
644
645
- @ Transactional
646
645
@ Override
646
+ @ Transactional
647
647
public <S extends T > List <S > saveAll (Iterable <S > entities ) {
648
648
649
649
Assert .notNull (entities , "Entities must not be null" );
@@ -657,8 +657,8 @@ public <S extends T> List<S> saveAll(Iterable<S> entities) {
657
657
return result ;
658
658
}
659
659
660
- @ Transactional
661
660
@ Override
661
+ @ Transactional
662
662
public <S extends T > List <S > saveAllAndFlush (Iterable <S > entities ) {
663
663
664
664
List <S > result = saveAll (entities );
@@ -667,8 +667,8 @@ public <S extends T> List<S> saveAllAndFlush(Iterable<S> entities) {
667
667
return result ;
668
668
}
669
669
670
- @ Transactional
671
670
@ Override
671
+ @ Transactional
672
672
public void flush () {
673
673
entityManager .flush ();
674
674
}
You can’t perform that action at this time.
0 commit comments