![](https://img-blog.csdnimg.cn/20201014180756916.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
hibernate
hukang00
这个作者很懒,什么都没留下…
展开
-
在hibernate 中用 sql ,并用别名出现列找不到的情况
在hibernate 中用 sql ,并用别名出现列找不到的情况 使用这种方法。需要在query 中这样设置 query.addScalar("student.name",Hibernate.STRING);原创 2013-07-26 20:48:28 · 1166 阅读 · 0 评论 -
no row with the given identifier exists
no row with the given identifier exists 解决办法: 查看表中是否有空值 或者是在关系表中是否有不对应的字段的值原创 2013-07-27 21:45:53 · 467 阅读 · 0 评论