We had that in earlier versions, up until 1.2 I think it was.

It was taken away because the semantics started to become very blur. I
don't recall the details right now, and I would need to dig up the
thread (probably early 2010)...



On Sat, May 19, 2012 at 7:40 AM, Tibor Mlynarik
<[email protected]> wrote:
> 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



-- 
Niclas Hedhman, Software Developer
http://www.qi4j.org - New Energy for Java

I live here; http://tinyurl.com/3xugrbk
I work here; http://tinyurl.com/6a2pl4j
I relax here; http://tinyurl.com/2cgsug

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

Reply via email to