接口 JamesAddressBookRepository
-
- 所有超级接口:
org.springframework.data.repository.CrudRepository<JamesAddressBook,String>,org.springframework.data.jpa.repository.JpaRepository<JamesAddressBook,String>,org.springframework.data.jpa.repository.JpaSpecificationExecutor<JamesAddressBook>,org.springframework.data.repository.PagingAndSortingRepository<JamesAddressBook,String>,org.springframework.data.repository.query.QueryByExampleExecutor<JamesAddressBook>,org.springframework.data.repository.Repository<JamesAddressBook,String>
public interface JamesAddressBookRepository extends org.springframework.data.jpa.repository.JpaRepository<JamesAddressBook,String>, org.springframework.data.jpa.repository.JpaSpecificationExecutor<JamesAddressBook>
-
-
方法概要
所有方法 实例方法 抽象方法 修饰符和类型 方法 说明 List<JamesAddressBook>findByPersonIdAndEmailAddressLikeOrNameLikeOrderByNameAsc(String personId, String emailAddress, String name)List<JamesAddressBook>findByPersonIdOrderByNameAsc(String personId)-
从接口继承的方法 org.springframework.data.repository.CrudRepository
count, delete, deleteAll, deleteAll, deleteAllById, deleteById, existsById, findById, save
-
从接口继承的方法 org.springframework.data.jpa.repository.JpaRepository
deleteAllByIdInBatch, deleteAllInBatch, deleteAllInBatch, deleteInBatch, findAll, findAll, findAll, findAll, findAllById, flush, getById, getOne, getReferenceById, saveAll, saveAllAndFlush, saveAndFlush
-
-
-
-
方法详细资料
-
findByPersonIdAndEmailAddressLikeOrNameLikeOrderByNameAsc
@Query("from JamesAddressBook a where a.personId=?1 and (a.emailAddress like %?2% or a.name like %?3%) order by a.name ASC") List<JamesAddressBook> findByPersonIdAndEmailAddressLikeOrNameLikeOrderByNameAsc(String personId, String emailAddress, String name)
-
findByPersonIdOrderByNameAsc
List<JamesAddressBook> findByPersonIdOrderByNameAsc(String personId)
-
-