[TIL] JPA smallint ↔ Short

𝙃𝙖𝙞𝙡𝙚𝙮·2022년 1월 5일
0

TIL

목록 보기
13/15
post-thumbnail

MySQL의 smallint형을 Entity에 무심코 Integer로 선언하면 오류난다,,

smallint는 Short로 선언할 것

참고
https://zetawiki.com/wiki/JPA_DB%EC%9E%90%EB%A3%8C%ED%98%95_%EB%A7%A4%ED%95%91

profile
ෆ 𝓋𝒾𝓈 𝓉𝒶 𝓋𝒾𝑒 ෆ

0개의 댓글