Tobias Ivarsson wrote:
> The newInstance( UnitOfWorkInstance unitOfWork, Object value ) method in 
> AssociationContext assumes that the value object passed in can be cast 
> to List. This object is retreived from an EntityState-object in the 
> getAssociation( Method associationMethod ) method in 
> EntityCompositeInstance. But the methods in EntityState only promises to 
> return Collection object, not List objects.

It assumes that it can be cast to List if it's a ListAssociation, which 
I think is fair. How else would you suggest to solve it??

/Rickard


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

Reply via email to