- 博客(1)
- 资源 (1)
- 收藏
- 关注
原创 table is not mapped
造成 table is not mapped 原因: 1.hibernate中hql语句中写成表名,应该写为实体名 2.把@Entity(name="")中的name写为表名,应该为@Entity(name="User") @Table(name = "Login_User")public class User{ ... } 3.在spring mvc配置文件中添加
2016-07-15 16:21:41
569
1
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人