Niclas Hedhman wrote:
Rickard,There is both a EntityBuilder.newInstance() and ModuleUnitOfWork.newEntity() that does similar, but not identical creation sequences of entities, for instance invokeCreate() and checkConstraints() happens much later in the latter. I think the Uow.newEntity() should be changed to Uow.newEntityBuilder().newInstance(), now that the copying of state is supposed to be gone (well, what is the status here, since I see entityState.copyTo( newEntityState ); which I thought had been removed? ) Is that you have not committed something about this?
Hm.. no, it still needs to be fixed, and yes, when it's fixed I agree that it should be changed as you say.
It seems the "not-copy-state" was something I intended to do, but never actually did. My bad.
/Rickard _______________________________________________ qi4j-dev mailing list [email protected] http://lists.ops4j.org/mailman/listinfo/qi4j-dev

