Package balu.pizza.webapp.repositiries
Interface PersonDetailRepository
- All Superinterfaces:
org.springframework.data.repository.CrudRepository<Person,
,Integer> org.springframework.data.jpa.repository.JpaRepository<Person,
,Integer> org.springframework.data.repository.PagingAndSortingRepository<Person,
,Integer> org.springframework.data.repository.query.QueryByExampleExecutor<Person>
,org.springframework.data.repository.Repository<Person,
Integer>
-
Method Summary
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, findAll, findAll, findAllById, flush, getById, getOne, getReferenceById, saveAll, saveAllAndFlush, saveAndFlush
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
-
findByUsername
Search for a user by name- Parameters:
username
-- Returns:
- An object that may contain a user or be empty
-