This appears to be a separate problem from OPENJPA-722, but both
issues work fine using runtime non-agent enhancement because the
detached entities do not include a state manager.  In this case, as
Chris pointed out, the embedded object still contains a reference to a
StateManagerImpl, but the associated broker/em is closed.  Instead, it
should have a reference to a detached state manager (which will not
invoke broker operations).  I opened OPENJPA-733 for this issue.

Chris - Thanks for including code!  The problem was easily to
reproduce and it'll make a great test case.  :-)

-Jeremy

Reply via email to