When fixing the JDBM Tests I came along the already mentioned ManyAssoc 
problems.

I fixed some things:
* UOWInstance used wrong moduleInstance for new entities.
* AssociationInstances now create new empty collections (if the existing is 
null) for the differenent ManyAssociation 
types and set them to the stores.
* expected Exception in the TestCase in case of failure

What made me wonder was the following:
With AssociationInstance the state is explicitly set and retrieved from the 
EntityState on get and set.

With ManyAssociations the Collection returned from the EntityState is shared 
with the ManyAssociationInstance(s) that 
are created afterwards. No EntityState is passed to these instances at all.

Is this intended?

Michael



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

Reply via email to