« Return to Thread: retrieving two different objects from session (should be the same)

RE: retrieving two different objects from session (should be thesame)

by Caldarale, Charles R :: Rate this Message:

Reply to Author | View in Thread

> From: Christopher Schultz [mailto:chris@...]
> Subject: Re: retrieving two different objects from session
> (should be thesame)
>
> Silly question.... how do you do this?

Synchronizing on the SessionFacade will suffice for this purpose -
checking if an attribute exists and then storing it if not.  The
container insures that accesses to the underlying attribute set itself
is synchronized (we had a long and somewhat heated discussion about the
necessity of that a couple of years ago).

 - Chuck


THIS COMMUNICATION MAY CONTAIN CONFIDENTIAL AND/OR OTHERWISE PROPRIETARY
MATERIAL and is thus for use only by the intended recipient. If you
received this in error, please contact the sender and delete the e-mail
and its attachments from all computers.

---------------------------------------------------------------------
To start a new topic, e-mail: users@...
To unsubscribe, e-mail: users-unsubscribe@...
For additional commands, e-mail: users-help@...

 « Return to Thread: retrieving two different objects from session (should be the same)