Hi,
There is probably an obvious solution that I've missed but I've tried a couple of solutions with no success. For my BMP entity bean I have an @ejb.dao implementation class. The DAO interface includes the remove method:
public void remove(com.MyBeanPK pk)
How do I get a reference to the bean itself? I've tried using the passed in primary key, to do a lookup to the bean but I get a "Reentract method call detected".
The reason why I would like to get access to the bean, is that I would like to delete the row by moving the row to another Audit Table. As part of the insert into the Audit table, I would like to include the user who requested this deletion, which is held in the bean.
regards,
Taiji
_________________________________________
Goldman Sachs International.
Christchurch Court | 10 - 15 Newgate Street
London EC1A 7HD
Tel: 020-7774-8391 | Fax: 020-7552-3368
* mailto:[EMAIL PROTECTED]
Goldman Taiji Okada
Sachs GSAM Technology
_________________________________________
CONFIDENTIALITY NOTICE: The information contained in and accompanying this communication may be strictly confidential and intended solely for the use of the intended recipient(s). If you are not the intended recipient of this communication please delete and destroy all copies immediately. Emails may be interfered with, may contain computer viruses or other defects and may not be successfully replicated on other systems. Goldman Sachs Asset Management International ("GSAMI") gives no warranties in relation to these matters. If you have any doubts about the authenticity of an email purportedly sent by GSAMI, please contact GSAMI immediately. GSAMI reserves the right to intercept and monitor the content of e-mail messages to and from its systems.