Win a copy of Murach's Python Programming this week in the Jython/Python forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

one to many relationship  RSS feed

 
thinakaran thinakaran
Greenhorn
Posts: 8
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
sir, how do i make the one to many relationship in cmp bean thanks for answer
 
Lasse Koskela
author
Sheriff
Posts: 11962
5
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
You specify the association by a bean holding a Collection of references to the other bean, and by declaring the relationship/roles in the deployment descriptors. Your application server's documentation is bound to have examples of how to do this in detail.
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!