Skip to content

Commit

Permalink
Merge pull request #105 from KPMP/KPMP-4885_remove-cache
Browse files Browse the repository at this point in the history
remove cache
  • Loading branch information
rlreamy authored Dec 8, 2023
2 parents be970b9 + 1c83460 commit 6cdff1e
Showing 1 changed file with 0 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,6 @@

@Repository
interface AtlasMessageRepository extends CrudRepository<AtlasMessage, List>{
@Cacheable("messageByStartDate")
@Query(value = "SELECT * FROM atlas_messages am WHERE start_date <= CURRENT_DATE() AND end_date >= CURRENT_DATE() ORDER BY start_date ASC", nativeQuery = true)
List<AtlasMessage> getAtlasMessages();
}

0 comments on commit 6cdff1e

Please sign in to comment.