-->
These old forums are deprecated now and set to read-only. We are waiting for you on our new forums!
More modern, Discourse-based and with GitHub/Google/Twitter authentication built-in.

All times are UTC - 5 hours [ DST ]



Forum locked This topic is locked, you cannot edit posts or make further replies.  [ 2 posts ] 
Author Message
 Post subject: How to Model this???
PostPosted: Tue Feb 08, 2011 3:00 pm 
Newbie

Joined: Thu Aug 19, 2010 3:36 pm
Posts: 3
This is for a school choice lottery process. Basically, the user needs to fill out an application and select a Grade and a Semester.

So I have 4 entities...

1. SchoolApplication
2. Grade
3. Semester
4. Lottery

An Application has 1 Grade and 1 Semester associated with it.
A Lottery has 1 Grade and 1 Semester associated with it.

Need to relate Applications to Lottery and vice versa. What is the best way?


Top
 Profile  
 
 Post subject: Re: How to Model this???
PostPosted: Wed Feb 09, 2011 5:17 am 
Regular
Regular

Joined: Fri Jan 28, 2011 11:44 am
Posts: 117
When you say you need to relate Applications to Lottery, are you talking about hibernate mapping?
Could you be a little more explicit? Some code would be nice ...


Top
 Profile  
 
Display posts from previous:  Sort by  
Forum locked This topic is locked, you cannot edit posts or make further replies.  [ 2 posts ] 

All times are UTC - 5 hours [ DST ]


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum

Search for:
© Copyright 2014, Red Hat Inc. All rights reserved. JBoss and Hibernate are registered trademarks and servicemarks of Red Hat, Inc.