Granny's Programming Pearls
"inside of every large program is a small program struggling to get out"
A friendly place for programming greenhorns!
Big Moose Saloon
Register / Login
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.
It is sorta covered in the
JavaRanch Style Guide
subject: One-to-many association
Hibernate POJOs -- association or no-association ?
Dislike by association.
Association in Hibernate
All times are in JavaRanch time: GMT-6 in summer, GMT-7 in winter
| Powered by
Copyright © 1998-2014