Interface CountryRepository
- All Superinterfaces:
org.springframework.data.repository.CrudRepository<Country,,Integer> org.springframework.data.jpa.repository.JpaRepository<Country,,Integer> org.springframework.data.repository.PagingAndSortingRepository<Country,,Integer> org.springframework.data.repository.query.QueryByExampleExecutor<Country>,org.springframework.data.repository.Repository<Country,Integer>
public interface CountryRepository
extends org.springframework.data.jpa.repository.JpaRepository<Country,Integer>
Country Repository
Country.-
Method Summary
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, findAll, findAll, findAllById, flush, getById, getOne, getReferenceById, saveAll, saveAllAndFlush, saveAndFlushMethods 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
-
findByIsoCode
Finds a country by its ISO code.- Parameters:
isoCode- ISO code.- Returns:
- country found by its ISO code
Country.
-