On 2010-11-16 13.28, Ronnie Nessa wrote:
I finally got around to write a testcase. Hope this makes it easier to debug.
The project is attached to this email.
A couple of questions: if an entity that gets a callback loads another
entity, do you then expect that entity to also be included in the
checks, i.e. if *that* entity in turn implements UnitOfWorkCallback,
does it get added to the checks? Also, I assume that these loaded
entities could be changed during the callback, and if so, should be
stored? Which makes things REALLY TRICKY since the second callback is
after state has been committed, i.e. too late.
Something feels really wrong here.
Why are you doing these callbacks in the first place? What is the
problem you are trying to solve?
/Rickard
_______________________________________________
qi4j-dev mailing list
[email protected]
http://lists.ops4j.org/mailman/listinfo/qi4j-dev