
异常解决集锦
vkqiang
这个作者很懒,什么都没留下…
展开
-
spring+hibernate中的Result object returned from HibernateCallback isn't a List
Ok the problem is that for executeFind() the return type is List....so there is no way to use uniqueResult() within the callback from executeFind()...may be we should use execute() 上面这段话来自http://fo原创 2009-02-12 09:44:00 · 4017 阅读 · 0 评论 -
identifier of an instance of com.jh.oa.bpm.model.JhBpmFormdata was altered from 266 to 267
今天又要给别人擦屁股了,哎。哈哈以前的人也不知道是怎么写的,修改两次竟然出来了两条记录,哎,改了它。在修改中遇到一个异常:identifier of an instance of com.jh.oa.bpm.model.JhBpmFormdata was altered from 266 to 267 google了一下,也没找到原因。然后又找原因,找来找去原来是它每次提交原创 2009-06-23 10:50:00 · 2319 阅读 · 0 评论