@Repository @Transactional(readOnly=true) public interface StationRepository extends JpaRepository<Station,Integer>
Modifier and Type | Method and Description |
---|---|
List<Integer> |
getAllStationIDs() |
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 station.stationID FROM #{#entityName} station") List<Integer> getAllStationIDs()
Copyright © 2015–2020 Allen D. Ball. All rights reserved.