I started doing the ManyAssoc thing for ibatis. Reading works by now although the effort on the ibatis side has increased. I had problems differentiating the AssociationTypes (Assoc, Many, Set, List) when having the AssociationModels available. Right now I reverted to ManyAssociation.class.isAssignableFrom(assocModel.getAccessor().getReturnType()) but thats quite ugly. Is this information available someway else?
I'm currently thinking about the write/update step. If I get the changed entities from the uow, is there a way to determine which ManyAssocation entries have changed or do I have to do the bookkeeping myself in the EntityState? As like for neo4j it would be possible to have two versions of the entity store one that reads the entity fully on newEntityState. Another one could just return an empty hull for the entitystate and read the data on demand. There is a continuum between these. For instance the normal properties and associations could be read ahead and only the ManyAssoc resolved later. Michael _______________________________________________ qi4j-dev mailing list [email protected] http://lists.ops4j.org/mailman/listinfo/qi4j-dev

