原因,是因为在以前的普通类中生成getter & setter的时候,选择了setter的样式为Buidler模式。

解决方案,随便写一个Student类,写个name属性,给它生成一下setter,要记住在生成之前,把Builder模式改成Intellij Default,确定即可。

 

Intellij IDEA 使用Hibernate生成实体类时返回值为_Dummy_的问题

相关文章:

  • 2022-12-23
  • 2021-10-21
  • 2021-06-13
  • 2021-04-11
  • 2021-06-20
  • 2021-08-12
  • 2021-10-01
猜你喜欢
  • 2021-06-27
  • 2021-08-19
  • 2021-06-01
  • 2022-02-11
  • 2021-07-29
  • 2021-08-24
相关资源
相似解决方案