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 · 576 阅读 · 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 · 176 阅读 · 0 评论
分享