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.  [ 4 posts ] 
Author Message
 Post subject: [Resolved] Mapping a tree structure
PostPosted: Mon Jul 03, 2006 12:54 am 
Beginner
Beginner

Joined: Tue May 23, 2006 12:53 am
Posts: 34
How do I map a tree like structure? Something like an Employee class that has a Manager which is of type Employee. Although I'm messing with an Item class with a parent which is an Item also.

Code:
class Item {
public Item Parent {
get; set;
}
}


Thanks in advance!


Last edited by nebulom on Mon Jul 03, 2006 2:51 am, edited 1 time in total.

Top
 Profile  
 
 Post subject:
PostPosted: Mon Jul 03, 2006 2:43 am 
Regular
Regular

Joined: Fri Feb 18, 2005 3:34 am
Posts: 88
Location: Poland/Wrocław
see http://forum.hibernate.org/viewtopic.php?t=961200

_________________
Please rate this post if you've found it helpfull
Roland


Top
 Profile  
 
 Post subject:
PostPosted: Mon Jul 03, 2006 2:44 am 
Regular
Regular

Joined: Fri Feb 18, 2005 3:34 am
Posts: 88
Location: Poland/Wrocław
see http://forum.hibernate.org/viewtopic.php?t=961200

_________________
Please rate this post if you've found it helpfull
Roland


Top
 Profile  
 
 Post subject:
PostPosted: Mon Jul 03, 2006 2:50 am 
Beginner
Beginner

Joined: Tue May 23, 2006 12:53 am
Posts: 34
I was just looking at that post. How cool? Hehe. Thanks!

It works.


Top
 Profile  
 
Display posts from previous:  Sort by  
Forum locked This topic is locked, you cannot edit posts or make further replies.  [ 4 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.