일 | 월 | 화 | 수 | 목 | 금 | 토 |
---|---|---|---|---|---|---|
1 | 2 | 3 | 4 | 5 | ||
6 | 7 | 8 | 9 | 10 | 11 | 12 |
13 | 14 | 15 | 16 | 17 | 18 | 19 |
20 | 21 | 22 | 23 | 24 | 25 | 26 |
27 | 28 | 29 | 30 |
Tags
- Gradle
- it
- devops
- tool
- Spring Batch
- java
- JVM
- Web Server
- jenkins
- redis
- AWS
- IntelliJ
- javascript
- ReactJS
- MySQL
- laravel
- 요리
- springboot
- Design Patterns
- elasticsearch
- db
- jsp
- Git
- linux
- php
- ubuntu
- Spring Boot
- Spring
- Oracle
- 맛집
Archives
- Today
- Total
아무거나
[intellij] JPA 사용시 Cannot resolve table '테이블명' 오류 해결 본문
반응형
- JPA 사용할 때 @Table(name = "example") 로 지정한 부분에 에러 표시가(=Cannot resolve table '테이블명') 되는 부분 해결
- 방법1: File > Setting > Editor > Inspection > JPA > Unresolved database references in annotations 체크 해제
- 방법2: 데이터 베이스 연결
- View > Tool Windows > Database > Data Source > 사용할 Sql 종류 선택 > Download missing driver files 클릭 및 접속 정보 입력
- View > Tool Windows > Persistence
- 마우스 우클릭 > Assign Data Sources... 클릭
- 관련 테이블 정보 매핑
반응형
'IT > 개발관련툴' 카테고리의 다른 글
[VS Code] 우분투에 Visual Studio Code 설치 및 쿠버네티스(=k8s) 플러그인 활용 (0) | 2021.08.17 |
---|---|
[intellij] 빌드시 Could not target platform: 'Java SE 11' using tool chain: 'JDK 8 (1.8)' 오류 해결 (0) | 2021.07.16 |
[intellij] 톰캣 구동시 Error running 'Application': Command line is too long. Shorten command ... 오류 해결 (0) | 2020.06.14 |
[intellij] git bash 연동 (0) | 2020.06.02 |
[MaxGauge] 쿼리 추출 방법 (0) | 2020.05.26 |
Comments