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?
Cheers
--
Niclas Hedhman, Software Developer
http://www.qi4j.org - New Energy for Java
I live here; http://tinyurl.com/2qq9er
I work here; http://tinyurl.com/2ymelc
I relax here; http://tinyurl.com/2cgsug
_______________________________________________
qi4j-dev mailing list
[email protected]
http://lists.ops4j.org/mailman/listinfo/qi4j-dev