[Intellij] JPA cannot resolve column name 해결방법


[Intellij] JPA cannot resolve column name 해결방법

c서론 git commit을 진행하는 도중 entity 클래스에서 Warning이 발생했다. 본론 Intellij 에서 db연결이 되어 있지 않아서 인식하지 못하는 문제인 것 같습니다. 아마 Intellij가 하나하나 꼼꼼하게 체크를 해서 발생하는 것 같네요.. (이클립스땐 이런거 없었는데) 해결방법은 2가지가 있습니다. 1. 해당 warning을 끈다. 2. Database를 연결한다. 하나씩 살펴보겠습니다. 1. 해당 warning을 끈다. Settings - Editor - Inspections - Unresolved database references in annotations 체크해제 - OK 2. Database를 연결한다. View - Tool Windows - Database + - Da..


원문링크 : [Intellij] JPA cannot resolve column name 해결방법