Interface ExperienceJpaRepository
- All Superinterfaces:
org.springframework.data.repository.CrudRepository<Experience,,Integer> org.springframework.data.jpa.repository.JpaRepository<Experience,,Integer> org.springframework.data.repository.ListCrudRepository<Experience,,Integer> org.springframework.data.repository.ListPagingAndSortingRepository<Experience,,Integer> org.springframework.data.repository.PagingAndSortingRepository<Experience,,Integer> org.springframework.data.repository.query.QueryByExampleExecutor<Experience>,org.springframework.data.repository.Repository<Experience,Integer>
public interface ExperienceJpaRepository
extends org.springframework.data.jpa.repository.JpaRepository<Experience,Integer>
ExperienceRepository는 Experience 엔티티에 대한 데이터 액세스 기능을 제공.
-
Method Summary
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, flush, getById, getOne, getReferenceById, saveAllAndFlush, saveAndFlushMethods inherited from interface org.springframework.data.repository.ListCrudRepository
findAll, findAllById, saveAllMethods inherited from interface org.springframework.data.repository.ListPagingAndSortingRepository
findAllMethods inherited from interface org.springframework.data.repository.PagingAndSortingRepository
findAllMethods inherited from interface org.springframework.data.repository.query.QueryByExampleExecutor
count, exists, findAll, findBy, findOne
-
Method Details
-
findByUserId
@Query("SELECT u FROM Experience u WHERE u.tutorInfo.userId = :userId") List<Experience> findByUserId(@Param("userId") Integer userId)
-