Passivation/Activation extended entitymanager

If I have a stateful session bean that has been passivated and uses an extended entitymanager and has a reference to a managed entity, will the managed entity be detached from the extended entitymanager when the session bean is activated?
[245 byte] By [p2auljra] at [2007-11-27 9:54:15]
# 1

It depends on the implementation. This is an area that needs clarification in the EJB/JPA specifications.

Many EJB containers do not correctly handle passivation of extended entity managers.One

approach is just to use your container's configuration properties to disable passivation for SFSBs

that hold extended entity managers.This is an area that will be addressed in the Java EE 6 timeframe.

ksaksa at 2007-7-13 0:24:07 > top of Java-index,Enterprise & Remote Computing,Enterprise Technologies...