hiberante异常:Unexpected row count: 0 expected: 1, 请教
dr2tr 2007-06-08 03:21:10 在spring transaction中的,代码类似:
...
while (it.hasNext()) {
getHibernateTemplate().delete(appFetchSchedule);
}
getHibernateTemplate().delete(appReq);
...
appReq和appFetchSchedule是对应两张表的pojo,到第二个delete的时候,异常就产生了。。。完全没有头绪。。请教