Are you using CMP or BMP? Does your EntityBeans ejbRemove get called?

Are you catching any exceptions anywhere?

> -----Original Message-----
> From: [EMAIL PROTECTED]
> [mailto:[EMAIL PROTECTED]]On Behalf Of Randahl Fink
> Isaksen
> Sent: Tuesday, March 06, 2001 3:49 AM
> To: Orion-Interest
> Subject: When does EJBOjbect.remove() not work
> 
> 
> In many of my JSP files I invoke the .remove() method on an EJB to get it
> permanently deleted. Sometimes, however, the EJB is NOT deleted 
> even though
> I get no error messages. So, has anyone experienced that this does not
> always work:
> 
> while(myIteratorOfSomeEJBs.hasNext())
>       ((EJBObject) myIteratorOfSomeEJBs.next()).remove();
> 
> I was thinking that maybe it did not work because of some transactional
> issues (maybe rollbacks happens under some circumstances) - but 
> since I get
> no error messages, I don't know if this is the case.
> 
> 
> R.
> 
> 

Reply via email to