【问题标题】:How I can resolve this issue, It showing Error on @Column annotation?我该如何解决这个问题,它在 @Column 注释上显示错误?
【发布时间】:2020-07-25 12:36:26
【问题描述】:

我正在使用 @Column 注释将实体类列与我的数据库列映射。但它显示错误消息。

无法解析列“名称”

【问题讨论】:

标签: mysql spring-boot hibernate nhibernate-mapping


【解决方案1】:

您可以在 IntelliJ 中禁用它。 File -> settings -> Editor -> Inspections -> uncheck the "Unresolved database references in annotations"

第二个选项是使用 IntelliJ 连接您的数据库。 View -> Window tool -> Database -> and add your data source.

【讨论】:

    猜你喜欢
    • 2013-11-23
    • 2021-07-01
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 2015-06-13
    • 1970-01-01
    • 2021-04-02
    • 1970-01-01
    相关资源
    最近更新 更多