snowdeer.github.io/spring-boot/2019/11/28/spring-boot-no-identifier-specified-for-entity/
import org.springframework.data.annotation.Id가 import되어 있다면, import javax.persistence.Id로 수정하면 됩니다.
'DB > JPA' 카테고리의 다른 글
JPA, Hibernate, 그리고 Spring Data JPA의 차이점 (0) | 2020.10.15 |
---|---|
객체의 공유를 사전 차단하기 위해 @Embeddable클래스를 불변으로 만드는 것이다 (0) | 2020.10.14 |
JPA에서 파라미터 순서와 메서드명이 같아야 정상적으로 조회 (0) | 2020.10.12 |
댓글