@Repository public interface PersonalInformationRepository extends org.springframework.data.jpa.repository.JpaRepository<PersonalInformation,Integer>
| Modifier and Type | Method and Description |
|---|---|
PersonalInformation |
findByIdPersonalInformation(Integer idPersonalInformation) |
PersonalInformation |
getPersonalInformationByUserId(Long userId) |
deleteAllInBatch, deleteInBatch, findAll, findAll, findAll, findAll, findAll, flush, getOne, save, saveAndFlushfindAllPersonalInformation findByIdPersonalInformation(Integer idPersonalInformation)
@Query(value="from PersonalInformation P where P.userMaster.id =:userId") PersonalInformation getPersonalInformationByUserId(@Param(value="userId") Long userId)
Copyright © 2015–2017 eGovernments Foundation. All rights reserved.