@Repository @Transactional(readOnly=true) public interface ProgramRepository extends JpaRepository<Program,String>
Modifier and Type | Method and Description |
---|---|
Set<String> |
findAllProgramIDs() |
List<Program> |
findByProgramIDIn(Collection<String> collection) |
deleteAllInBatch, deleteInBatch, findAll, findAll, findAll, findAll, findAllById, flush, getOne, saveAll, saveAndFlush
findAll
count, delete, deleteAll, deleteAll, deleteById, existsById, findById, save
count, exists, findAll, findOne
List<Program> findByProgramIDIn(Collection<String> collection)
@Query(value="SELECT program.programID FROM #{#entityName} program") Set<String> findAllProgramIDs()
Copyright © 2015–2021. All rights reserved.