• Post Reply Bookmark Topic Watch Topic
  • New Topic

Big question on many to many retionships

 
Anonymous
Ranch Hand
Posts: 18944
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Image you have a many to many relationship as:

Student <-> Course

Whem I use CMR fields I get a relation table like:

RELATIONSHIP_STUDENT_COURSE (ID_STUDENT, ID_COURSE)

And I will have methods like course.addStudent and student.addCourse in each EntityBean.

BUT if I need to add more information about this relationship like a date or something else. How can I add that information?
 
Anonymous
Ranch Hand
Posts: 18944
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Sorry, it's "Imagine you have ..."
 
What are you doing? You are supposed to be reading this tiny ad!
the new thread boost feature brings a LOT of attention to your favorite threads
https://coderanch.com/t/674455/Thread-Boost-feature
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!