This content has been marked as final.
Show 2 replies
-
1. Re: How are entity beans detached?
bill.burke Mar 31, 2006 3:37 PM (in response to treespace)entities are detached from entitymanager at end of transaction with a transaction scoped entity manager. If it is an extended entity manager, then the entity remains managed. EntityManager.clear() also detaches all managed entities, but you lose an unflushed changes.
-
2. Re: How are entity beans detached?
epbernard Apr 1, 2006 4:38 AM (in response to treespace)Just a few additions:
- on a EXTENDED PC, the PC is destroyed when all SFSB involving with this PC are destroyed.
- if the transaction is rollbacked, the PC is cleared