Interface UpdateRepository
- All Superinterfaces:
systems.dennis.shared.repository.AbstractFilterRepo<DbInjection,,Long> systems.dennis.shared.repository.AbstractRepository<DbInjection,,Long> org.springframework.data.repository.CrudRepository<DbInjection,,Long> systems.dennis.shared.postgres.repository.PaginationRepository<DbInjection>,org.springframework.data.repository.Repository<DbInjection,Long>
@Repository
public interface UpdateRepository
extends systems.dennis.shared.postgres.repository.PaginationRepository<DbInjection>
-
Method Summary
Modifier and TypeMethodDescriptiongetFirstByNameAndProfile(String name, String profile, org.springframework.data.domain.Pageable pageable) Methods inherited from interface systems.dennis.shared.repository.AbstractFilterRepo
exists, filteredCount, filteredData, filteredData, filteredFirst, filteredOneMethods inherited from interface systems.dennis.shared.repository.AbstractRepository
findAll, saveMethods inherited from interface org.springframework.data.repository.CrudRepository
count, delete, deleteAll, deleteAll, deleteAllById, deleteById, existsById, findAll, findAllById, findById, saveAll
-
Method Details
-
getFirstByNameAndProfile
@Query("select injection from db_injection injection where name=?1 and (profile = \'\' or profile=?2)") List<DbInjection> getFirstByNameAndProfile(String name, String profile, org.springframework.data.domain.Pageable pageable)
-