DB/JPA
No identifier specified for entity 문제 해결
fabxoe
2020. 11. 10. 15:56
snowdeer.github.io/spring-boot/2019/11/28/spring-boot-no-identifier-specified-for-entity/
No identifier specified for entity 문제 해결 · snowdeer's Code Holic
No identifier specified for entity 문제 해결 28 Nov 2019 | SpringBoot No identifier specified for entity 문제 해결 방법 만약 nested exception is org.hibernate.AnnotationException: No identifier specified for entity: com.snowdeer.database.board.
snowdeer.github.io
import org.springframework.data.annotation.Id가 import되어 있다면, import javax.persistence.Id로 수정하면 됩니다.