2013-03-05 70 views

回答

2

在下一個版本中將會有dao.detachAll()。承諾在這裏: https://github.com/greenrobot/greenDAO/commit/6a658c84e7de97073a260e062b06e3cc13a18196

附註:使用yourDao.detach(yourEntity)從身份範圍中刪除單個實體。這將強制對此數據庫對象的後續查詢返回不同的對象。

+0

謝謝你的回答,我會這樣做的。 – Leeeeeeelo 2013-04-04 10:54:28

+0

你是否這樣做?該功能仍然存在,我無法找到存在的問題。我添加了一個新的:https://github.com/greenrobot/greenDAO/issues/286 – Oliv 2016-01-20 09:18:21