1) Try to use TX=Required but not TX=RequiresNew.
2) ejbLoad is never called after ejbStored since it's J2EE's intention to have all logic to be implemented inside of the application server, so it's unneccessary to have an automatically called ejbLoad afterwards. If you need this, e. g. to retrieve autoinc numbers or something from legacy systems, you have to call ejbLoad yourself, e. g. by using BMP.
 
 
Original Message      
 processed by Tobit InfoCenter 
Subject: 
Help reqd on ejbStore() and ejbLoad()..........URGENT (10-Okt-2001 11:53)
From:    
[EMAIL PROTECTED]
To:      
[EMAIL PROTECTED]
 
Hi,
 We have been facing problems with unnnecessary calls to ejbStore() while working with Jonas. This is something undecirable.
 
The scenario is as below :
 While calling create() , a call to ejbStore() is made by the server on its own, which should not be the case.However, also ejbStore() is being called without firing the ejbload(); again creating problems.
 
Kindly help us out.
 
Thanks n regds,
RC/S/AS
To: [EMAIL PROTECTED] Cc: [EMAIL PROTECTED]

Reply via email to