On 2010-01-04 05.22, Niclas Hedhman wrote:
I propose a change to the EntityStateVisitor interface, so that the EntityStoreUnitOfWork is passed in the method call;interface EntityStateVisitor { void visitEntityState( EntityState entityState, EntityStoreUnitOfWork esuow ); } And that this change is propagated equally to the MapEntityStoreVisitor interface MapEntityStoreVisitor { void visitEntity( Reader entityState, EntityStoreUnitOfWork esuow ); } This allows the visitor to do intermediary commits if needed. WDYT?
I would prefer to not do this, and instead do the "cleanup method" in the TestData service interface that I mentioned. That should also have the benefit of being much faster than an external traversal. For the memory store it's basically a drop of the hashtable.
/Rickard _______________________________________________ qi4j-dev mailing list [email protected] http://lists.ops4j.org/mailman/listinfo/qi4j-dev

