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