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 @@ -608,8 +608,8 @@ public long count(@Nullable Specification<T> spec) {
608
608
return executeCountQuery (getCountQuery (spec , getDomainClass ()));
609
609
}
610
610
611
- @ Transactional
612
611
@ Override
612
+ @ Transactional
613
613
public <S extends T > S save (S entity ) {
614
614
615
615
Assert .notNull (entity , "Entity must not be null" );
@@ -622,8 +622,8 @@ public <S extends T> S save(S entity) {
622
622
}
623
623
}
624
624
625
- @ Transactional
626
625
@ Override
626
+ @ Transactional
627
627
public <S extends T > S saveAndFlush (S entity ) {
628
628
629
629
S result = save (entity );
@@ -632,8 +632,8 @@ public <S extends T> S saveAndFlush(S entity) {
632
632
return result ;
633
633
}
634
634
635
- @ Transactional
636
635
@ Override
636
+ @ Transactional
637
637
public <S extends T > List <S > saveAll (Iterable <S > entities ) {
638
638
639
639
Assert .notNull (entities , "Entities must not be null" );
@@ -647,8 +647,8 @@ public <S extends T> List<S> saveAll(Iterable<S> entities) {
647
647
return result ;
648
648
}
649
649
650
- @ Transactional
651
650
@ Override
651
+ @ Transactional
652
652
public <S extends T > List <S > saveAllAndFlush (Iterable <S > entities ) {
653
653
654
654
List <S > result = saveAll (entities );
@@ -657,8 +657,8 @@ public <S extends T> List<S> saveAllAndFlush(Iterable<S> entities) {
657
657
return result ;
658
658
}
659
659
660
- @ Transactional
661
660
@ Override
661
+ @ Transactional
662
662
public void flush () {
663
663
entityManager .flush ();
664
664
}
You can’t perform that action at this time.
0 commit comments