Hi all,
I have a simple one-to-one ralationshipe between two beans: CustomerDetailsBean and CustomerSecurityInfoBean. When I deploy these two beans, I get the following exception. What am I doing wrong here? I cannot figure it out. I would appreciate any help. Thanks.
HG
Here is the exception:
********************************************
WARN [verifier] EJB spec violation:
Bean : CustomerDetails
Method : public abstract CustomerSecurityInfoLocal getCustomerSecurityInfo()
Section: 12.2.10
Warning: For each method defined in the local interface, there must be a matching method in the entity bean's class that
has the same name and argument types.
WARN [verifier] EJB spec violation:
Bean : CustomerDetails
Method : public abstract void setCustomerSecurityInfo(CustomerSecurityInfoLocal)
Section: 12.2.10
Warning: For each method defined in the local interface, there must be a matching method in the entity bean's class that
has the same name and argument types.
***************End exception*********************
Here is the xdoclet declaration within the CustomerDetailsBean :
/**
* @ejb.interface-method
* view-type="local"
*
* @ejb.relation
* name="CustomerDetailsLocal-CustomerSecurityInfoLocal"
* role-name="Customer-has-SecurityInfo"
*
* @jboss.target-relation
* related-pk-field="userID_fk"
* fk-column="userID"
*
**/
abstract public CustomerSecurityInfoLocal getCustomerSecurityInfo();
/**
* @ejb.interface-method
* view-type="local"
*
**/
abstract public void setCustomerSecurityInfo(CustomerSecurityInfoLocal info);
Here is the relevant sdoclet declaration within the CustomerSecurityInfoBean:
/**
* @ejb.interface-method
* view-type="local"
*
* @ejb.relation
*
name="CustomerDetailsLocal-CustomerSecurityInfoLocal"
* role-name="SecurityInfo-has-Customer"
*
* @jboss.relation
* related-pk-field="userID_fk"
* fk-column="userID"
*
*
**/
abstract public CustomerDetailsLocal getCustomerDetails();
/**
* @ejb.interface-method
* view-type="local"
*
**/
abstract public void setCustomerDetails(CustomerDetailsLocal details);