Just saw it as well. Sorry for bothering you.

Perhaps a name like reload, reattach, pull or sth. in this league would be 
sensible. Or just me reading the docs :)

Michael

Am 28.09.09 02:54, schrieb Rickard Öberg:
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


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

Reply via email to