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: Materialized Path implementation?
PostPosted: Mon Aug 15, 2005 10:37 am 
Beginner
Beginner

Joined: Mon Aug 15, 2005 10:20 am
Posts: 32
Location: Brazil
Hello,

I want to implement Materialized Path for my org chart table. For example, I'd like to query for all employees that work for a given department, or any of its sub-divisions.

The Reference Manual barely mentions Materialized path, under 20. Improving Performance:

Quote:
Batch fetching of collections is particularly useful if you have a nested tree of items, ie. the typical bill-of-materials pattern. (Although a nested set or a materialized path might be a better option for read-mostly trees.)
.
I searched this forum and Google but couldn't find any example of a Materialized Path implementation using Hibernate.

Does anyone have any pointers or a sample to share?

Thanks in advance,
Daniel Serodio


Top
 Profile  
 
 Post subject:
PostPosted: Mon Aug 15, 2005 10:43 am 
Hibernate Team
Hibernate Team

Joined: Mon Aug 25, 2003 9:11 pm
Posts: 4592
Location: Switzerland
CaveatEmptor CVS for HiA-SE contains an early implementation of a Nested Set Interceptor. I'd be interested in a Materialized Path implementation myself.


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.