diff options
-rw-r--r-- | ms/generic-resource-api/src/main/java/org/onap/sdnc/apps/ms/gra/data/ConfigPreloadDataRepository.java | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/ms/generic-resource-api/src/main/java/org/onap/sdnc/apps/ms/gra/data/ConfigPreloadDataRepository.java b/ms/generic-resource-api/src/main/java/org/onap/sdnc/apps/ms/gra/data/ConfigPreloadDataRepository.java index 603611d..0ec45b7 100644 --- a/ms/generic-resource-api/src/main/java/org/onap/sdnc/apps/ms/gra/data/ConfigPreloadDataRepository.java +++ b/ms/generic-resource-api/src/main/java/org/onap/sdnc/apps/ms/gra/data/ConfigPreloadDataRepository.java @@ -21,10 +21,11 @@ package org.onap.sdnc.apps.ms.gra.data; import org.springframework.data.repository.CrudRepository; +import org.springframework.transaction.annotation.Transactional; import java.util.List; - +@Transactional public interface ConfigPreloadDataRepository extends CrudRepository<ConfigPreloadData, Long> { List<ConfigPreloadData> findByPreloadIdAndPreloadType(String preloadId, String preloadType); |