found [text (Types#LONGVARCHAR)], but expecting [varchar(255) (Types#VARCHAR)]

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

시도1 (실패)

@Setter
    @Lob
    private String content;

아래 에러메세지 발생
found [text (Types#LONGVARCHAR)], but expecting [longtext (Types#CLOB)]

시도2 (성공)

@Setter
    @Column(columnDefinition = "TEXT")
    private String content;
profile
ෆ 𝓋𝒾𝓈 𝓉𝒶 𝓋𝒾𝑒 ෆ

0개의 댓글