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: Comment ne pas charger les SET du mapping???
PostPosted: Thu Feb 15, 2007 10:50 am 
Newbie

Joined: Thu Feb 01, 2007 12:57 pm
Posts: 18
J'effectue des recherches by Criteria sur une BDD.
Or hibernate me charge également lors de la recherche tous les SET définis, ce qui ne me sert du tout. Et surtout cela est très très long!!!!!!!!!!!


Top
 Profile  
 
 Post subject:
PostPosted: Tue Feb 20, 2007 3:45 am 
Expert
Expert

Joined: Thu Sep 04, 2003 8:23 am
Posts: 368
Sur un lien one-to-many ou many-to-many, si le lien est défini comme lazy, hibernate ne le chargera pas sauf si demandé expréssément.
Si tu veux plus d'aide il faudrait avoir le fichier de mapping et le criteria

_________________
Seb
(Please don't forget to give credits if you found this answer useful :)


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.