Interface AllergenRepository
- All Superinterfaces:
org.springframework.data.repository.CrudRepository<Allergen,,Long> org.springframework.data.jpa.repository.JpaRepository<Allergen,,Long> org.springframework.data.jpa.repository.JpaSpecificationExecutor<Allergen>,org.springframework.data.repository.ListCrudRepository<Allergen,,Long> org.springframework.data.repository.ListPagingAndSortingRepository<Allergen,,Long> org.springframework.data.repository.PagingAndSortingRepository<Allergen,,Long> org.springframework.data.repository.query.QueryByExampleExecutor<Allergen>,org.springframework.data.repository.Repository<Allergen,Long>
@Repository
public interface AllergenRepository
extends org.springframework.data.jpa.repository.JpaRepository<Allergen,Long>, org.springframework.data.jpa.repository.JpaSpecificationExecutor<Allergen>
This repository provides CRUD operations for the Allergen entity.
It extends JpaRepository and JpaSpecificationExecutor interfaces.
JpaRepository provides basic CRUD operations while JpaSpecificationExecutor provides
search functionality using specifications.
-
Method Summary
Methods inherited from interface org.springframework.data.repository.CrudRepository
count, delete, deleteAll, deleteAll, deleteAllById, deleteById, existsById, findById, saveMethods inherited from interface org.springframework.data.jpa.repository.JpaRepository
deleteAllByIdInBatch, deleteAllInBatch, deleteAllInBatch, deleteInBatch, findAll, findAll, flush, getById, getOne, getReferenceById, saveAllAndFlush, saveAndFlushMethods inherited from interface org.springframework.data.jpa.repository.JpaSpecificationExecutor
count, delete, exists, findAll, findAll, findAll, findBy, findOneMethods inherited from interface org.springframework.data.repository.ListCrudRepository
findAll, findAllById, saveAllMethods inherited from interface org.springframework.data.repository.ListPagingAndSortingRepository
findAllMethods inherited from interface org.springframework.data.repository.PagingAndSortingRepository
findAllMethods inherited from interface org.springframework.data.repository.query.QueryByExampleExecutor
count, exists, findAll, findBy, findOne
-
Method Details
-
findAllergenByAllergenName
-