LERBSCHER wrote:
>
> Hi,
>
> When the container calls upon the method " ejbStore () " on one " CMP
> Entity bean ", the method is " isModifiedData " sends back always
> "TRUE", and consequently there is systematically an order " update "
> which is executed. Why ?
>
> regards.
>
> Jean-Pierre
>
This is the default method: no optimization, so always return true even
if bean has not been modified.
If you want a method that return true or false, you have to do it yourself
and specify it in your deployment descriptor.
In fact, the EJB container is not able to guess if the bean has been modified
by a method or not. Only the bean know this.
Regards,
--
Philippe Durieux ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Bull - 1 rue de Provence - 38432 Echirolles Cedex France
[EMAIL PROTECTED]
-> Download our EJBServer at http://www.evidian.com/ejb <-
----
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".