Interface ProfileRepository
-
- All Superinterfaces:
org.springframework.data.repository.CrudRepository<Profile,Long>,org.springframework.data.jpa.repository.JpaRepository<Profile,Long>,org.springframework.data.repository.PagingAndSortingRepository<Profile,Long>,org.springframework.data.repository.query.QueryByExampleExecutor<Profile>,org.springframework.data.repository.Repository<Profile,Long>
public interface ProfileRepository extends org.springframework.data.jpa.repository.JpaRepository<Profile,Long>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description Optional<Profile>findFirstByOauth(String oauth)The findFirstByOauth query finds aProfileby OAuth.Optional<Profile>findFirstByUsername(String name)The findFirstByUsername query finds aProfileby name.-
Methods inherited from interface org.springframework.data.repository.CrudRepository
count, delete, deleteAll, deleteAll, deleteById, existsById, findById, save
-
Methods inherited from interface org.springframework.data.jpa.repository.JpaRepository
deleteAllInBatch, deleteInBatch, findAll, findAll, findAll, findAll, findAllById, flush, getOne, saveAll, saveAndFlush
-
-