Hibernate Team |
 |
Joined: Sun Sep 14, 2003 3:54 am Posts: 7256 Location: Paris, France
|
yes and no.
The next version (in SVN) will ignore not found objects (actually LIE), so accessing an unavailable object will not longer be done.
But fundamentally, there is no way for the index to detect which bulk of objects have been destroyed (through a HQL delete). Either you know which one and you update the index manually (usually does not make sense in a bulk operation), Or you reindex on a regular basis.
_________________ Emmanuel
|
|