Spring Data JPA 조회 기능 심화 활용
메서드 이름 기반 쿼리Spring Data JPA에서는 Repository 인터페이스에 규칙에 맞는 메서드명을 선언하면 구현체 없이 자동으로 쿼리가 생성됩니다.import org.springframework.data.jpa.repository.JpaRepository;
import org.springframework.data.jpa.repository.JpaSpecificationExecutor;
import org.springframework.stereotype.Repository;
@Repository
public int ...
6월 1일 20:38에 게시됨