Se comments below!

Shiraz Wasim Zaidi wrote:

> Hi!,
>
> It seems that u have the transaction attribute set at the Entity Bean level
> and not at a method level in
> Deployment Descriptor and i think it is either REQUIRED or REQUIRE_NEW.
> Morever u are not using
> the isDirty flag and isModified() method. Go through the  example code that
> comes with weblogic and the
> documentation at following links to learn about it.
> http://www.weblogic.com/docs/classdocs/API_ejbdesign.html#ismodified
> http://www.weblogic.com/docs/classdocs/API_ejb.html#ejbpersistenceismodified
>
> In order to avoid ejbLoad() and ejbStore() being called specify the
> getName() method and all the accessor
> methods with transaction attribute as TX_NOT_SUPPORTED in the Deployment
> Descriptor.
>

>>>>
I hope you don't mean that accessor methods always should have TX_NOT_SUPPORTED
specified as the transaction attribute... cause then i don't understand how i
could use this methods when i'm really within a transaction!?
/Lennart

>
> Hope it helps and have a successfull DEMO.
>
> Thanks,
> Shiraz Wasim Zaidi
>
> ===========================================================================
> 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".

--
________________________________
Lennart Petersson
Benefit Partner AB
Bergendorffsgatan 5A
S-652 24 Karlstad
Phone: +46 (0)54 186800
mailto:[EMAIL PROTECTED]
http://www.benefit.se

===========================================================================
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