-->
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: lookup table mapping
PostPosted: Fri Jul 15, 2005 7:54 pm 
Newbie

Joined: Wed Jul 13, 2005 3:43 am
Posts: 8
Location: Redmond, WA
I need some help mapping a List.

I have three tables.

Code:
-----------  ------------  ------------
| Product |  | prodType |  |  Types   |
|---------|  |----------|  |----------|
| prodId  |  | prodId   |  | pTypeId  |
-----------  | pTypeId  |  | ....     |
             ------------  ------------


There are two class, Product and Types. Product has a list of Types, which is stored in prodType.

Thanks in advance!

_________________
- Steven


Top
 Profile  
 
 Post subject: Solution
PostPosted: Sat Jul 16, 2005 4:11 am 
Newbie

Joined: Wed Jul 13, 2005 3:43 am
Posts: 8
Location: Redmond, WA
I believe I pondered it out, I was needing a set rather than a list.

_________________
- Steven


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.