Package restapi.crud
Interface ContactRepository
- All Superinterfaces:
org.springframework.data.repository.CrudRepository<ContactEntity,,Long> org.springframework.data.jpa.repository.JpaRepository<ContactEntity,,Long> org.springframework.data.repository.PagingAndSortingRepository<ContactEntity,,Long> org.springframework.data.repository.query.QueryByExampleExecutor<ContactEntity>,org.springframework.data.repository.Repository<ContactEntity,Long>
@Repository
public interface ContactRepository
extends org.springframework.data.jpa.repository.JpaRepository<ContactEntity,Long>
-
Method Summary
Modifier and TypeMethodDescriptionfindAllByUserId1OrUserId2(long userId1, long userId2) findByUserId1AndUserId2(long userId1, long userId2) 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, saveAll, saveAllAndFlush, saveAndFlushMethods inherited from interface org.springframework.data.repository.PagingAndSortingRepository
findAllMethods inherited from interface org.springframework.data.repository.query.QueryByExampleExecutor
count, exists, findAll, findOne
-
Method Details
-
findAllByUserId1OrUserId2
-
findByUserId1AndUserId2
-