A friendly place for programming greenhorns!
Big Moose Saloon
Register / Login
Win a copy of
OCA Java SE 8 Programmer I Study Guide
this week in the
JDBC and Relational Databases
Joined: Sep 10, 2008
Oct 07, 2008 03:03:00
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
Joined: Oct 13, 2005
Oct 07, 2008 04:32:00
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.
I agree. Here's the link:
subject: One-to-many association
Association in Hibernate
Dislike by association.
Hibernate POJOs -- association or no-association ?
All times are in JavaRanch time: GMT-6 in summer, GMT-7 in winter
| Powered by
Copyright © 1998-2015