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