Data too long for column

一篇文章的正文,需要很多字数,默认就是255,不够

  @Lob
    @Basic
    @Type(type = "text")
    @Column(name = "detail", nullable = true)
    public String getDetail() {
        return detail;
    }

posted @ 2019-12-16 15:50  不打鱼光晒网  阅读(1206)  评论(0)    收藏  举报