-->
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.  [ 1 post ] 
Author Message
 Post subject: Hibernate Mapping problem - Really a Challenging One
PostPosted: Thu Jul 14, 2005 2:24 am 
Newbie

Joined: Thu Jul 14, 2005 2:07 am
Posts: 2
Location: India
I have the follwing entities

1. Category
2. Sub- Category
3. Product
4. Attributes
5. Item

Category may contain zero or many sub-cats.
Sub-category may contain zero or more products.
Product have the many to many relation with Attributes.
and Product may contain the zero or many items.

Here the problem comes. Here the Item is like an instance of the Product.so it contains the values of the product attributes.

I have created tables Product , Attribute and Product_Attribute. Now when it comes to Item i am not able to proceed.

I think hibernate users will me in this.

Thanks in advance.

Rao.


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

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.