You can do the dirty flag checking on the ejbLoad too.. Make sure that
ejbActivate(), you need to flag it so that your data gets reloaded from db
on activation.

Se Hee

-->-----Original Message-----
-->From: A mailing list for Enterprise JavaBeans development
-->[mailto:[EMAIL PROTECTED]]On Behalf Of Arun Kumar
-->Sent: Monday, May 15, 2000 3:00 AM
-->To: [EMAIL PROTECTED]
-->Subject: Can there be multiple Entity EJBObject representing a single
-->record in the table.
-->
-->
-->Hi EJB Gurus,
-->
-->   I have a requirement to optimize ejbLoad and
-->ejbStore for BMP entity beans.
-->It can be assumed that access to data is always using
-->entity beans.
--> I have a dirty flag which I mark when a remote method
-->change any data.
--> And during ejbStore callback I update the data in the
-->database only if the dirty flag is set.
-->
-->I want to do the optimization of ejbLoad also.
-->My Question is
-->   1) Can there be at any point in time 2 EJBObjects
-->representing the same data/row in a single server.
-->        In that case I cannot optimize on ejbLoad.
-->
-->I am using weblogic 4.5.1.
-->
-->Thanks in advance
-->Arun
-->
-->
-->__________________________________________________
-->Do You Yahoo!?
-->Send instant messages & get email alerts with Yahoo! Messenger.
-->http://im.yahoo.com/
-->
-->=============================================================
-->==============
-->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".

Reply via email to