@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, saveAndFlushfindAllcount, delete, deleteAll, deleteAll, deleteById, existsById, findById, savecount, exists, findAll, findOne@Query(value="SELECT station.stationID FROM #{#entityName} station") List<Integer> getAllStationIDs()
Copyright © 2015–2020 Allen D. Ball. All rights reserved.