@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) |
deleteAllByIdInBatch, deleteAllInBatch, deleteAllInBatch, deleteInBatch, findAll, findAll, findAll, findAll, findAllById, flush, getById, getOne, saveAll, saveAllAndFlush, saveAndFlushfindAllcount, delete, deleteAll, deleteAll, deleteAllById, 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 Allen D. Ball. All rights reserved.