Package com.unosquare.carmigo.repository
Interface PassengerJourneyRepository
- All Superinterfaces:
org.springframework.data.repository.CrudRepository<PassengerJourney,,Integer> org.springframework.data.jpa.repository.JpaRepository<PassengerJourney,,Integer> org.springframework.data.repository.ListCrudRepository<PassengerJourney,,Integer> org.springframework.data.repository.ListPagingAndSortingRepository<PassengerJourney,,Integer> org.springframework.data.repository.PagingAndSortingRepository<PassengerJourney,,Integer> org.springframework.data.repository.query.QueryByExampleExecutor<PassengerJourney>,org.springframework.data.repository.Repository<PassengerJourney,Integer>
@Repository
public interface PassengerJourneyRepository
extends org.springframework.data.jpa.repository.JpaRepository<PassengerJourney,Integer>
Queries database regarding the
PassengerJourney entity.-
Method Summary
Modifier and TypeMethodDescriptionvoiddeleteByJourneyIdAndPassengerId(int journeyId, int passengerId) Methods inherited from interface org.springframework.data.repository.CrudRepository
count, delete, deleteAll, deleteAll, deleteAllById, deleteById, existsById, findById, saveMethods inherited from interface org.springframework.data.jpa.repository.JpaRepository
deleteAllByIdInBatch, deleteAllInBatch, deleteAllInBatch, deleteInBatch, findAll, findAll, flush, getById, getOne, getReferenceById, saveAllAndFlush, saveAndFlushMethods inherited from interface org.springframework.data.repository.ListCrudRepository
findAll, findAllById, saveAllMethods inherited from interface org.springframework.data.repository.ListPagingAndSortingRepository
findAllMethods inherited from interface org.springframework.data.repository.PagingAndSortingRepository
findAllMethods inherited from interface org.springframework.data.repository.query.QueryByExampleExecutor
count, exists, findAll, findBy, findOne
-
Method Details
-
deleteByJourneyIdAndPassengerId
void deleteByJourneyIdAndPassengerId(int journeyId, int passengerId)
-