JPA SQLGrammarException: could not execute query问题解决

àì夳堔傛蜴生んèń 2023-01-11 09:11 251阅读 0赞

问题描述:

nested exception is org.hibernate.exception.SQLGrammarException: could not execute query

问题分析:

1、检查@Column里面的name属性值在数据库表的字段名中。

  1. /**
  2. * 更新者
  3. */
  4. @Column(name = "update_byname")
  5. private String updateByName;

发表评论

表情:
评论列表 (有 0 条评论,251人围观)

还没有评论,来说两句吧...

相关阅读