In our design we have specified a CMP attribute on each of our entity beans
which preserves the id and time of the last user to issue an update.
What I would like to know is how to extract this information and where to
set this particular attribute. I presume it should be set just before or in
ejbStore(). Extracting the time is trivial, using
System.currentTimeMillis(). How can I determine the user's id? I presume
this can't be done on the database end, because the database only knows that
the EJB container is posting changes, not the
individual user. So how does one do it in the Bean class?
(The views represented in this message are my own, and do not necessarily
represent the views of my employer).
===========================================================================
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".