Skip to content

数据库字段与类的关系字段名重复了 #82

@lize240810

Description

@lize240810

image
image

  1. 我的表中有一个字段与接下来关系字段名重复我就修改实体类中的字段名并使用@Column指定数据库字段名
  2. 出现异常说类型不符合 AnswerLog.answer, because setter method requires Answer, but give a String(??)

我的尝试

  1. 我数据库字段类型使longtext 修改了类型还是不行

我是二次开发 不能修改表字段名

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions