Hi!

Indigo Blue wrote:
> I use InstantDB with my entity bean and I just can't get my client
> application to remove existing record from the database. From what I
> understand about home interface it's supposed to provide for that too via
> remove(pk) method. But mine just doesn't do a thing (neither it raises an
> exception). But it also doesn't register invocation of remove: it doesn't
> invoke ejbRemove nor I can see the signature of DELETE in the server log.
> What can be wrong?
> Thank you in advance for your help.

Well, uhm, here's the problem (from EntityContainer):
   public void removeHome(Method m, Object[] args,
EntityEnterpriseContext ctx)
      throws java.rmi.RemoteException, RemoveException
   {
      // TODO
   }

:-) heh.

Try to use remove() on the entity object instead, which is implemented.

And add this to BugZilla.

/Rickard

-- 
Rickard �berg

@home: +46 13 177937
Email: [EMAIL PROTECTED]
http://www.telkel.com
http://www.jboss.org
http://www.dreambean.com


--
--------------------------------------------------------------
To subscribe:        [EMAIL PROTECTED]
To unsubscribe:      [EMAIL PROTECTED]
Problems?:           [EMAIL PROTECTED]

Reply via email to