On 2010-01-03 08.28, Niclas Hedhman wrote:
Test1 is populating a DB with all kinds of "stuff" and then leaves it
in that state.

Why isn't the DB cleaned up here?

  1. What should we do in the traversal of the EntityStore and a
EntityTypeNotFoundException occurs?

  2. Should it be possible, or not, to remove entities without knowing
its entity type?

The system has to know the types in order to do a traversal, that's for sure.

These problems are limited to testing, right? MemoryEntityStoreService already implements a separate "TestData" interface for import/export of data. We could easily extend it to include a "clear" method that deletes all data too, without a traversal. The ES would itself figure out how to do that.

/Rickard

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

Reply via email to