From 39a5647f459c611635c65f202aa9e9b76f03967b Mon Sep 17 00:00:00 2001 From: dert1129 Date: Thu, 11 Dec 2025 13:26:59 -0500 Subject: [PATCH] fix type error and name caches differently --- .../java/org/kpmp/umap/SCMetadataRepository2025.java | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/src/main/java/org/kpmp/umap/SCMetadataRepository2025.java b/src/main/java/org/kpmp/umap/SCMetadataRepository2025.java index a45cf98..fc19dd1 100755 --- a/src/main/java/org/kpmp/umap/SCMetadataRepository2025.java +++ b/src/main/java/org/kpmp/umap/SCMetadataRepository2025.java @@ -9,11 +9,11 @@ public interface SCMetadataRepository2025 extends CrudRepository { - @Cacheable("scMetadataAll") + @Cacheable("scMetadataAll2025") @Override List findAll(); - @Cacheable("scMetadataLimited") + @Cacheable("scMetadataLimited2025") @Query(value = "SELECT " + "umap_x, umap_y, cluster_abbreviation, cluster_name, cluster_color, barcode, enrollment_category " + "FROM sc_umap_point_2025_v " @@ -35,15 +35,15 @@ public interface SCMetadataRepository2025 extends CrudRepository findLimited(@Param("mediumClusterLimit") int mediumClusterLimit, @Param("largeClusterLimit") int largeClusterLimit); - @Cacheable("scMetadataCount") + @Cacheable("scMetadataCount2025") @Query(value = "SELECT COUNT(umap_x) FROM sc_umap_point_2025_v;", nativeQuery = true) int findCount(); List findByEnrollmentCategory(String enrollmentCategory); - SCMetadata findByBarcode(String barcode); + SCMetadata2025 findByBarcode(String barcode); - @Cacheable("scMetadataWithEnrollment") + @Cacheable("scMetadataWithEnrollment2025") @Query(value = "SELECT " + "umap_x, umap_y, cluster_abbreviation, cluster_name, cluster_color, barcode, enrollment_category " + "FROM sc_umap_point_2025_v "