![](https://img-blog.csdnimg.cn/20201014180756919.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
Hibernate
hamburg1
这个作者很懒,什么都没留下…
展开
-
hibernate 利用 hql 如何更新 DATE 字段
[code="sql"] 正确: Update Cat t set t.birthday=? where t.id = ? t.setTimestamp(0,new Date()); 错误: Update Cat t set t.birthday=new Date() where t.id = ? [/code]2009-11-02 13:26:02 · 492 阅读 · 0 评论 -
object references an unsaved transient instance
object references an unsaved transient instance - save the transient instance before flushing: cn.com.pattek.rtcap.tpltmgr.entity.BaseCategory; nested exception is org.hibernate.TransientObjectExcepti...2011-06-29 19:07:30 · 119 阅读 · 0 评论