我正在编写一个Service方法(Grails 2.5.5),它使用第三方restAPI删除实体。在我的方法中途,我在一个实体上调用了.refresh(),我得到了这个异常:
org.springframework.orm.hibernate4.HibernateObjectRetrievalFailureException: No row with the given identifier exists: [MyEntity#7103]; nested exception is org.hib