Package backend.Flights
Interface FlightRepository
- All Superinterfaces:
org.springframework.data.repository.CrudRepository<Flight,java.lang.Long>
,org.springframework.data.jpa.repository.JpaRepository<Flight,java.lang.Long>
,org.springframework.data.repository.PagingAndSortingRepository<Flight,java.lang.Long>
,org.springframework.data.repository.query.QueryByExampleExecutor<Flight>
,org.springframework.data.repository.Repository<Flight,java.lang.Long>
public interface FlightRepository extends org.springframework.data.jpa.repository.JpaRepository<Flight,java.lang.Long>
-
Method Summary
Modifier and Type Method Description void
deleteById(int id)
Flight
findById(int id)
Methods inherited from interface org.springframework.data.repository.CrudRepository
count, delete, deleteAll, deleteAll, deleteById, existsById, findById, save
Methods inherited from interface org.springframework.data.jpa.repository.JpaRepository
deleteAllInBatch, deleteInBatch, findAll, findAll, findAll, findAll, findAllById, flush, getOne, saveAll, saveAndFlush
-
Method Details
-
findById
-
deleteById
void deleteById(int id)
-