-->
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: Performance tuning strategy valid?
PostPosted: Thu May 19, 2005 1:37 pm 
Newbie

Joined: Thu Oct 07, 2004 9:06 pm
Posts: 2
Hibernate version: 2.1

From my hibernate.cfg.xml file:

<property name="hibernate.max_fetch_depth">100</property>
<!-- changed to 100 after reading hibernate docs. we'll use outer-join="auto" and lazy="true" in the mappings. hibernate 2.1 ignores outer-join when HQL queries are made so, for performance, all 'shallow' queries will be made using HQL without specifying any joins. all 'deep' queries will be made using criteria queries which do not ignore outer-join. -->

I'm trying to performance tune an existing hibernate app. Would the comment above be considered acurate?

Thanks,
Jack


Top
 Profile  
 
 Post subject:
PostPosted: Mon Sep 12, 2005 1:23 pm 
Newbie

Joined: Thu Sep 01, 2005 12:39 pm
Posts: 16
Location: porto alegre, brazil
yes, but I would choose a very lower value for the max fetch size - i would chosse sometinh between 1 and 5.
I woud considre using left join fetch on queries and also the use of "select new" type of query.

_________________
Bsc. Tiago Martins
software engineer

Please don't forget to give credit if/when you get helpful information.


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.