Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
lize240810 opened this issue Dec 12, 2020 · 0 comments
Open

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

lize240810 opened this issue Dec 12, 2020 · 0 comments

Comments

@lize240810
Copy link

image
image

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

我的尝试

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

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant