-->
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: mapping many-to-many to same class
PostPosted: Tue Nov 02, 2004 4:58 am 
Newbie

Joined: Sat Oct 11, 2003 6:34 am
Posts: 9
Hello,

i have a class Item.
Each object of this class depends on 0:n Item objects.
So i need for each item object a set of 0:n other item objects.

A normal many-to-many between 2 different classes is no problem, but i can't get it working with the same class.

Can someone give me a hint how to map these scenario.

Hibernate version:
2.1.6

Name and version of the database you are using:
Microsoft SQL Server 2000

Regards Jaraz


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.