Thanks to Andrus, Dain, and David Blevins for the responses.
I'm going to split up the container managed tx-scoped EM and extended
EM into 2 classes and in the tx-scoped one create and destroy a new
provider's EM for the out-of-tx operations. We'll see if this causes
problems.
many thanks!
david jencks
On Aug 24, 2006, at 4:52 PM, Andrus Adamchik wrote:
On Aug 25, 2006, at 12:50 AM, Andrus Adamchik wrote:
- How heavyweight are EntityManagers?
I guess this could be implementation specific, but they are
lightweight in Cayenne, and I assume they are lightweight in other
providers as well.
Ok, let me clarify. They are very cheap to create, but can grow
heavier when more and more objects are attached.
Andrus