Johnny,
The value is undefined. In some cases the value will be "John",
in some cases it will be null, and in other cases it could be
"Mary", depending on what happened between the first and second
transaction.
You cannot depend on the value.
-jkw
Johnny Ren wrote:
>
> Hi,
>
> I have a container-managed entity bean which has a attribute
> ID(Interger)which is the Primary key and another attribute Name
> (string). In my Deployment Descriptors, theName attribute is NOT
> declared as persistence.
>
> A session bean A establishes a connection to the entity bean and set the
> ID attribute to 2 and Name attribute to "John". Now a session bean B
> establishes a connection to this instance entity bean(ID is 2).
>
> What should be the value of Name attribute to the client B? Is it
> "John" (That is what I want) or Null ?
> What is the value of Name attribute to client B in WebLogic Server,
> iPortal Application Server, ... ?
>
> Thanks,
>
> Johnny Ren
>
> ===========================================================================
> To unsubscribe, send email to [EMAIL PROTECTED] and include in the body
> of the message "signoff EJB-INTEREST". For general help, send email to
> [EMAIL PROTECTED] and include in the body of the message "help".
===========================================================================
To unsubscribe, send email to [EMAIL PROTECTED] and include in the body
of the message "signoff EJB-INTEREST". For general help, send email to
[EMAIL PROTECTED] and include in the body of the message "help".