ํ๋ก์ ํธ๋ฅผ ์งํํ๋ฉด์ ์ฌ๋ฌ repository๋ฅผ ๋ง๋ค๋ค ๋ณด๋, ์ด๋ค repository์ ์ด๋
ธํ
์ด์
์ ๋นผ๋จน๊ณ ์งํํ๋๋ฐ, ์ ๋์๊ฐ๋ค. ์ฐพ์๋ณด๋ @Repository ์ด๋
ธํ
์ด์
์ ์ฌ์ฉํ๋ ๊ฒ์ด ์ผ๋ฐ์ ์ด์ง๋ง ์ต์ ๋ฒ์ ์ Spring์์๋ @Repository ์ด๋
ธํ
์ด์
์ ์๋ตํด๋ ์๋ํ ์ ์๋ค. ๋ฐ๋ผ์ @Repository ์ด๋
ธํ
์ด์
์ ์๋ตํด๋ ๋์ง๋ง, ์ฝ๋์ ๊ฐ๋
์ฑ์ ๋์ด๊ณ ๋ช
์์ ์ผ๋ก ํด๋น ํด๋์ค๊ฐ Repository ์ญํ ์ ์ํํ๋ค๋ ๊ฒ์ ๋ํ๋ด๊ธฐ ์ํด ์ฌ์ฉํ๋ ๊ฒ์ด ์ข๋ค๋ ๊ฒ์ ์๊ฒ๋์๋ค.
๐ผ๋ฐฑ์ค๋/์๋ฌ ๋ฐ ๊ฒฝ๊ณ ์ ๋ฆฌ
๋ฐ๋ชจ๋ฐ์ด ํ๋ฃจ์ ์ db๋ฅผ ๋ฐ๊ณ ddl-auto: create ๋ฅผ ํ๋๋ฐ, ํ๊ฐ์ ํ
์ด๋ธ(Member)๋ง์ด ์์ฑ์ด ์๋์๋ค. ์ฟผ๋ฆฌ๋ฅผ ์ ์ดํด๋ณด๋ 2024-02-18T23:47:20.726+09:00 WARN 8511 --- [ main] o.h.t.s.i.ExceptionHandlerLoggedImpl : GenerationTarget encountered exception accepting command : Error executing DDL " create table member ( age integer, creat_time datetime(6), member_id bigint not null auto_increment, token_expiration_time datetime(6), update_tim..