Hey,

Now that UoW uses event logs as the implementation I am beginning to wonder what it means to do "refresh" on a UoW. We have talked about it before but never really reached any concensus.

What does it mean to do "refresh" on a UoW or a single entity in a UoW? Do we just load the state from the EntityStore and continue as if nothing happened? But, then it's impossible to know if the state is valid, isn't it? What if changes has happened in the UoW which are incompatible with the changes coming from the refreshed state? Then that would cause the whole system to enter an invalid state! That doesn't feel right...

I'm beginning to think that refresh should be removed entirely.

Any opinions on this?

/Rickard

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

Reply via email to