Hi ,

I have usecase that I don't see how could be elegantly implemented
using current UnitOfWork api :
It's wizard like UI with few steps. In the middle I want to persist
state, then user continues editing the same entities and at finish
state is persited again.

Using JPA I would simply call flush() on entitymanager in the middle
and at the end.
I want to avoid after first persist to have new references to edited
entities as it will heavy complicate UI code.

Can/should flush() be added into uow ?

thanks,

 - Tibor

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

Reply via email to