On 2010-11-15 12.22, Ronnie Nessa wrote:
Hi.

I found another possible bug in the UnitOfWorkCallback handling code. I
don´t have time to write a testcase now, so I´ll try to explain it.

Problem:

If an entity which implements UnitOfWorkCallback loads any entities in
the callback method which haven´t already been loaded into the current
unit of work (either by traversing an association that is lazy loaded or
by directly loading other entities by other means) it leads to a
java.util.ConcurrentModificationException in the notifyBeforeCompletion
method of UnitOfWorkInstance.

What code is it that raises the CME? Is it the EntityStore or the UoW?

/Rickard


_______________________________________________
qi4j-dev mailing list
[email protected]
http://lists.ops4j.org/mailman/listinfo/qi4j-dev

Reply via email to