0 Replies Latest reply on Feb 14, 2002 10:54 PM by Gunnar Hilling

    lifetime of cmr references in dependant value classes

    Gunnar Hilling Newbie

      Hi!

      I've got a question that's really crucial for our application:

      I got an EntityBean with CMR fields. The Bean also got dependant value classes (which are returned by copy, right?).
      My question is:

      When I update fields in the dependant value class (when calling ejbLoad) that contain references to local EntityBeans (either the Bean itself or CMR-Fields) and use a getter to obtain a copy of the dependant value, are the references still valid (if
      I am executing in the same Transaction).

      1) What does the standard say to this? (I read it but I'm not quite sure).
      2) What does/will JBoss (RH) say?

      Thanks in advance,

      -Gunnar