On Thu, Jan 27, 2011 at 6:16 PM, Rickard Öberg <[email protected]> wrote:
> Hi,
>
> Right now there is no id for each UnitOfWork, and instead there is one
> assigned for the EntityStoreUnitOfWork by the EntityStore. I would like to
> change this so that the UoW has an identity assigned, that can be queried,
> and that this identity is then passed to the EntityStoreUnitOfWork instead.
> It is pretty much the same as today except the responsibility for creating
> the id is in the UnitOfWork instead of in the EntityStore.
>
> The reason is that I need to be able to get the id from the UoW and assign
> it to events in the new EventSourcing support.
>
> Is that ok? Any objections?

Sounds reasonable. No objections from here, and curious to see it in action...

Cheers
-- 
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/24svnvk
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