I'm attempting to get BMP entity working in jBoss 1.  I can successfully
create, find beans via the home interface, but when I call the remove method
via primary key, I get the following error:

java.lang.IllegalArgumentException: Target class class
domain.ejb.CustomerBean does not define method ejbFindByPrimaryKey
at $Proxy0.remove(Unknown Source) 
<more below...>

I can call remove on the bean itself successfully.  That is,

  Customer cust = customerHome.findByPrimaryKey(new Integer(1));
  cust.remove();

works fine, but

  customerHome.remove(new Integer(1));

generates the error above.

Does anyone have any ideas?  Thank you ahead of time.

Tom Briese



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

Reply via email to