Win a copy of Android Programming: The Big Nerd Ranch Guide this week in the Android forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

One-to-many association  RSS feed

 
subhashchandra medhiassam
Ranch Hand
Posts: 72
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi all,
I would like to create two tables,say A1 and B2, such that there is a one-to-many association from A to B. How should i proceed? I would like to use JDBC.

Kindly help.

Thanks,
Subhash
 
Campbell Ritchie
Sheriff
Posts: 54600
151
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
You draw the tables in UML and put cardinality numbers on the lines joining them. Find an SQL tutorial and it should tell you how to do it.
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!