Michael Hunger wrote:
I am working on a small demo for my jaoo tutorial.
What way of working would you suggest for returning references to
entities outside of the uow for later reference?
Right now I just return the entities and have them later reloaded when
passed into a new function (as the uow they originated from is closed).
This also limits any access to any attribute of the entity, including
identity() and type() both of which are important for the reload.
Why aren't you using the UoW method that is specifically designed for that?
presentation = uow.get(presentation);
Do we need to rename the method to make it more obvious, or... ?
/Rickard
_______________________________________________
qi4j-dev mailing list
[email protected]
http://lists.ops4j.org/mailman/listinfo/qi4j-dev