se.sundsvall.petinventory.integration.db.PetImageRepository Maven / Gradle / Ivy
The newest version!
package se.sundsvall.petinventory.integration.db;
import java.util.List;
import org.springframework.data.jpa.repository.JpaRepository;
import org.springframework.data.jpa.repository.JpaSpecificationExecutor;
import org.springframework.transaction.annotation.Transactional;
import io.github.resilience4j.circuitbreaker.annotation.CircuitBreaker;
import se.sundsvall.petinventory.integration.db.model.PetImageEntity;
@Transactional
@CircuitBreaker(name = "PetImageRepository")
public interface PetImageRepository extends JpaRepository, JpaSpecificationExecutor {
List findByPetNameId(long id);
}