-->
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.  [ 3 posts ] 
Author Message
 Post subject: Hibernate Lazy Loading performance degradation
PostPosted: Wed May 13, 2009 9:44 am 
Beginner
Beginner

Joined: Wed May 06, 2009 12:23 pm
Posts: 23
Hi , Good day to all.

I have read that Lazy loading can degrade the performance of an Application if not used properly .

Please tell me a scenario where using a lazy attribute effects in performance of a Application .


Top
 Profile  
 
 Post subject: Re: Hibernate Lazy Loading performance degradation
PostPosted: Thu May 14, 2009 2:56 am 
Newbie

Joined: Thu Nov 15, 2007 3:17 am
Posts: 19
Each access to a lazy property results into a separate SELECT statement. So if you are working with an object graph in general its faster to join fetch all properties you have to access.


Top
 Profile  
 
 Post subject: Re: Hibernate Lazy Loading performance degradation
PostPosted: Sat May 16, 2009 10:57 am 
Beginner
Beginner

Joined: Wed May 06, 2009 12:23 pm
Posts: 23
Good Point .Thanks .


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