@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, saveAndFlushfindAllcount, delete, deleteAll, deleteAll, deleteById, existsById, findById, savecount, exists, findAll, findOneList<Program> findByProgramIDIn(Collection<String> collection)
@Query(value="SELECT program.programID FROM #{#entityName} program") Set<String> findAllProgramIDs()
Copyright © 2015–2021. All rights reserved.