Expert |
|
Joined: Tue May 13, 2008 3:42 pm Posts: 919 Location: Toronto & Ajax Ontario www.hibernatemadeeasy.com
|
It's clearly a one to many relationship, so map it that way.
If you're really interested in such a program, look at JForum and their database to get ideas of how some real industry experts have tackled such problems. May as well learn from the best.
_________________ Cameron McKenzie - Author of "Hibernate Made Easy" and "What is WebSphere?" http://www.TheBookOnHibernate.com Check out my 'easy to follow' Hibernate & JPA Tutorials
|
|