On Thursday 22 May 2008 19:28, Tobias Ivarsson wrote:
> UnitOfWork is still used, and you can have one or many units of work within
> one transaction. The preferred number most often being one. It is also
> possible, but discouraged, to have one or more transactions within one unit
> of work.

I think we need to discuss (heavily) what the role of Transactions are.

My initial GutFeeling is; "None for EntityStores" but that Qi4j itself may 
need to support being part of transactions (both in-jvm and via JTS) since it 
may be part of a larger system. However, if that is the case, it sounds 
dangerous if the EntityStores make additional assumptions around 
transactions. So, again, probably need a lot of discussions...

Transactions (the JTA/JTS type) after all are "dinosaurs" that should just lay 
down and die... ;o)


Cheers
-- 
Niclas Hedhman, Software Developer

I  live here; http://tinyurl.com/2qq9er
I  work here; http://tinyurl.com/2ymelc
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