> Irene Knyaziker wrote:
>
> hi,
> I have entity bean (bean management persistance) and i want the
> ejbStore() method not to be called automatically.
> I tried to add the is_modified_method_name tag but I think it only
> works with container management.
> How can I get the same efect as the is_modified_method_name without
> this tag.
> thanks
> Irena
>
> Best Wishes,
>
> Irene Knyaziker
>
Hi Irene,
Indeed, the isModified optimization is for container managed entity
beans.
In case of bean managed entity beans, the load and the store of the
state of the beans must be done in the bean code.
So, you can have the same effect as the isModified optimization,
by flagging the ejbStore() method code:
public void ejbStore() {
if (isModified()) {
// ejbStore() code
..........
}
}
Kind regards.
Hélène.
--
-=- Hélène JOANIN -=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
mailto:[EMAIL PROTECTED] http://www.evidian.com
Phone: 33.4.76.29.73.53 Fax: 33.4.76.29.76.00
Download our EJB Server JOnAS at http://www.objectweb.org
----
To unsubscribe, send email to [EMAIL PROTECTED] and
include in the body of the message "unsubscribe jonas-users".
For general help, send email to [EMAIL PROTECTED] and
include in the body of the message "help".