首页 诗词 字典 板报 句子 名言 友答 励志 学校 网站地图
当前位置: 首页 > 教程频道 > JAVA > J2EE开发 >

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

2012-01-19 
JBPM3 No row with the given identifier exists根据taskinstanceId查询currenttoken时,有时会报这个错:or

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上下功夫

热点排行