I am using CMP, I am not catching any exceptions explicitly but if some
where thrown, I am sure the JSP engine or Orion in general would report
them. I have not checked if my ejbRemove() gets called - in fact there is
nothing in my ejbRemove() method. I will do a simple logging in that method
to make sure...

R.

-----Original Message-----
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED]]On Behalf Of Robert
Nicholson
Sent: 6. marts 2001 17:47
To: Orion-Interest
Subject: RE: When does EJBOjbect.remove() not work


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