Interface AccountRepository

All Superinterfaces:
org.springframework.data.repository.CrudRepository<Account,String>, org.springframework.data.jpa.repository.JpaRepository<Account,String>, org.springframework.data.repository.ListCrudRepository<Account,String>, org.springframework.data.repository.ListPagingAndSortingRepository<Account,String>, org.springframework.data.repository.PagingAndSortingRepository<Account,String>, org.springframework.data.repository.query.QueryByExampleExecutor<Account>, org.springframework.data.repository.Repository<Account,String>

public interface AccountRepository extends org.springframework.data.jpa.repository.JpaRepository<Account,String>
  • Method Summary

    Modifier and Type
    Method
    Description
     

    Methods inherited from interface org.springframework.data.repository.CrudRepository

    count, delete, deleteAll, deleteAll, deleteAllById, deleteById, existsById, findById, save

    Methods inherited from interface org.springframework.data.jpa.repository.JpaRepository

    deleteAllByIdInBatch, deleteAllInBatch, deleteAllInBatch, deleteInBatch, findAll, findAll, flush, getById, getOne, getReferenceById, saveAllAndFlush, saveAndFlush

    Methods inherited from interface org.springframework.data.repository.ListCrudRepository

    findAll, findAllById, saveAll

    Methods inherited from interface org.springframework.data.repository.ListPagingAndSortingRepository

    findAll

    Methods inherited from interface org.springframework.data.repository.PagingAndSortingRepository

    findAll

    Methods inherited from interface org.springframework.data.repository.query.QueryByExampleExecutor

    count, exists, findAll, findBy, findOne
  • Method Details

    • findByCustomerId

      @Query("select a from Account a where a.customer.id =?1") Account findByCustomerId(String customerId)