当前位置: 代码迷 >> J2EE >> JBPM3 No row with the given identifier exists,该如何处理
  详细解决方案

JBPM3 No row with the given identifier exists,该如何处理

热度:590   发布时间:2016-04-22 03:42:51.0
JBPM3 No row with the given identifier exists
根据taskinstanceId查询currenttoken时,有时会报这个错:
org.hibernate.ObjectNotFoundException: No row with the given identifier exists[org.jbpm.taskmgmt.exe.TaskInstance#204]

1.这个异常不是每次都出现,只在第一次启动tomcat,并新插入一个taskinstance后,立即查询这个taskinstanceId后出现
2.每次出现这个异常前,数据库中这个taskinstance实体已经存在了。
3.出现异常后,退回上一步,再重新查询,又恢复正常了。

请教各位,这个问题如何解决?



------解决方案--------------------
没弄过,友情帮顶。
------解决方案--------------------
org.hibernate.ObjectNotFoundException 应该不是jbpm的问题 是其中用到的hibernate或是其配置有问题吧 简历考虑在hibernate上下功夫
  相关解决方案