All Downloads are FREE. Search and download functionalities are using the official Maven repository.

se.sundsvall.petinventory.integration.db.PetNameRepository Maven / Gradle / Ivy

The newest version!
package se.sundsvall.petinventory.integration.db;

import java.util.Optional;

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.PetNameEntity;

@Transactional
@CircuitBreaker(name = "PetNameRepository")
public interface PetNameRepository extends JpaRepository, JpaSpecificationExecutor {

	Optional findByName(String name);
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy