• Post Reply Bookmark Topic Watch Topic
  • New Topic

Mandatory DD elements for relationships?  RSS feed

 
alzamabar
Ranch Hand
Posts: 379
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Where in the specs I can find the mandatory elements to define in the DD for relationships?
 
alzamabar
Ranch Hand
Posts: 379
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Found answer on the specs. The only mandatory fields for ejb-relation are:

ejb-relationship-role, ejb-relationship-role

And for ejb-relationship-role are:

multiplicity
relationship-role-source
ejb-name

The cmr-field element is not mandatory in case of unidirectional relationship
 
It is sorta covered in the JavaRanch Style Guide.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!