Missing ejb-relationship-role-name
When you create a new ejb relationship idea correctly crates two ejb-relationship-role elements in the ejb-jar.xml. However, Idea dosen't put a value in the ejb-relationship-role-name for the second role. This value is required by the deployment descriptor.
Idea created Code:
Customer-has-Subscriptions
CustomerEJB - SubscriptionEJB
Many
CustomerEJB
subscriptions
java.util.Collection
Many
SubscriptionEJB
customers
java.util.Collection
Correct Code:
Customer-has-Subscriptions
CustomerEJB - SubscriptionEJB
Many
CustomerEJB
subscriptions
java.util.Collection
SubscriptionEJB - CustomerEJB
Many
SubscriptionEJB
customers
java.util.Collection
]]>
Please sign in to leave a comment.