Perhaps your entity bean is lacking the @ejb.bean primkey-field="<INSERT_PK_HERE>" ?
Can't really tell since you don't show the whole bean.
 
-nash
 
-----Original Message-----
From: Jesper [mailto:[EMAIL PROTECTED]
Sent: Sunday, June 15, 2003 7:27 AM
To: [EMAIL PROTECTED]
Subject: [Xdoclet-user] Relationships --> key fields

Hello all,

 

Hope you can help me out on this one since it seems to me that I get errors no matter how I configure my beans. It doesn�t make a difference whether

the relationships are unidirectional or bidirctional.

 

HERE IS THE ERROR I GET  WHEN I DEPLOY TO JBOSS � I GET THIS FOR EACH OF MY BEANS:

 

Depends On Me: org.jboss.deployment.DeploymentException: Atleast one role of a foreign-key mapped r

elationship must have key fields (or <primkey-field> is missing from ejb-jar.xml): ejb-relation-name

=PaySilk-PurchaseSilk, ObjectName: jboss.j2ee:jndiName=SellSilk,service=EJB

 state: FAILED

 

Reply via email to