-->
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: Hibernate Optimization
PostPosted: Fri Aug 11, 2006 2:32 am 
Newbie

Joined: Thu Mar 30, 2006 8:23 am
Posts: 19
Location: FRANCE 67
Hello,

I am optimizing my Hibernate application which manages contacts.
When I make a search in my contact table it searches all the associations of these contactrs but I only want to know their Id, names and address (properties only).

I tried the lazy loading but before closing the session it charges the associations too.

Isn't it possible to charge only the contact table without charging the associations

thanks


Top
 Profile  
 
 Post subject:
PostPosted: Fri Aug 11, 2006 8:52 am 
Expert
Expert

Joined: Tue Jul 11, 2006 10:21 am
Posts: 457
Location: Columbus, Ohio
Let's see those configuration files! At a minimum, the Hibernate configuration file and the mapping file for the contacts table.


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.