Interface CurrencyRepository
- All Superinterfaces:
org.springframework.data.repository.CrudRepository<Currency,,Integer> org.springframework.data.jpa.repository.JpaRepository<Currency,,Integer> org.springframework.data.repository.PagingAndSortingRepository<Currency,,Integer> org.springframework.data.repository.query.QueryByExampleExecutor<Currency>,org.springframework.data.repository.Repository<Currency,Integer>
@Repository
public interface CurrencyRepository
extends org.springframework.data.jpa.repository.JpaRepository<Currency,Integer>
Repository interface to do queries for Currency data.
-
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
-
findByCode
Method to find by code.- Parameters:
code- code.- Returns:
- entity.
-