Skip to content

Commit 9fa0ffa

Browse files
authored
add missing cacheevicts (#411)
1 parent d04cf4f commit 9fa0ffa

File tree

1 file changed

+12
-2
lines changed

1 file changed

+12
-2
lines changed

src/main/java/de/muenchen/dave/repositories/relationaldb/UnauffaelligeTageRepository.java

Lines changed: 12 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -36,6 +36,12 @@ public interface UnauffaelligeTageRepository extends JpaRepository<Unauffaellige
3636
)
3737
void delete(UnauffaelligerTag var1);
3838

39+
@CacheEvict(
40+
value = { CachingConfiguration.AUFFAELLIGETAGE_FOR_MESSSTELLE },
41+
allEntries = true
42+
)
43+
void deleteAllByKalendertagDatum(final LocalDate kalendertagDatum);
44+
3945
@CacheEvict(
4046
value = { CachingConfiguration.AUFFAELLIGETAGE_FOR_MESSSTELLE },
4147
allEntries = true
@@ -48,6 +54,12 @@ public interface UnauffaelligeTageRepository extends JpaRepository<Unauffaellige
4854
)
4955
<S extends UnauffaelligerTag> List<S> saveAll(Iterable<S> var1);
5056

57+
@CacheEvict(
58+
value = { CachingConfiguration.AUFFAELLIGETAGE_FOR_MESSSTELLE },
59+
allEntries = true
60+
)
61+
<S extends UnauffaelligerTag> List<S> saveAllAndFlush(Iterable<S> entities);
62+
5163
List<UnauffaelligerTag> findByMstId(final String mstId);
5264

5365
Optional<UnauffaelligerTag> findFirstByMstIdOrderByKalendertagDatumDesc(final String mstId);
@@ -57,6 +69,4 @@ long countAllByMstIdAndKalendertagDatumGreaterThanEqualAndKalendertagDatumLessTh
5769
final LocalDate startDateIncluded,
5870
final LocalDate endDateIncluded,
5971
final List<TagesTyp> tagesTyp);
60-
61-
void deleteAllByKalendertagDatum(final LocalDate kalendertagDatum);
6272
}

0 commit comments

Comments
 (0)