๐คจ์๋ก
git commit์ ์งํํ๋ ๋์ค entity ํด๋์ค์์ Warning์ด ๋ฐ์ํ๋ค.
warning message
๐๋ณธ๋ก
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
+ - Data Source - ํ์ฌ ์ฌ์ฉ ์ค์ธ Database ์ ํ
ํด๋น ๋ฐ์ดํฐ๋ฒ ์ด์ค ์ ๋ณด์ ๋ ฅ
View - Tool Windows - Persistence - ์ฐํด๋ฆญ - Assign Data Sources - Data Source ์ ํ
'Project๐ธ > ์๋ฌ๐ฑ' ์นดํ ๊ณ ๋ฆฌ์ ๋ค๋ฅธ ๊ธ
[ํจํค์ง ์ค๋ฅ] ํจํค์ง ํ์์ค์ compact middle package (0) | 2023.05.03 |
---|---|
Java file outside of source root ์ค๋ฅ(2) (0) | 2023.05.02 |
[IntelliJ IDEA] ๋ฉ๋ชจ๋ฆฌ ์ค์ ๋ณ๊ฒฝ์ผ๋ก Low memory ํด๊ฒฐํ๊ธฐ (0) | 2023.04.19 |
[์๋ฌ๐] Spring Caused by: java.lang.ClassNotFoundException: (0) | 2023.04.19 |
[Intellij] gradle ํ๋ก์ ํธ import ๋ฐฉ๋ฒ (0) | 2023.04.17 |